AIToolbox
A library that offers tools for AI problem solving.
|
This class solves a factored MDP with Linear Programming. More...
#include <AIToolbox/Factored/MDP/Algorithms/LinearProgramming.hpp>
Public Member Functions | |
std::tuple< Vector, QFunction > | operator() (const CooperativeModel &m, const FactoredVector &h) const |
This function solves the input MDP using linear programming. More... | |
This class solves a factored MDP with Linear Programming.
This class computes best approximation possible of the optimal ValueFunction with respect to the input basis functions.
The process is very similar to the one performed by AIToolbox::MDP::LinearProgramming. However, since we can't create constraints for every possible state action pair here (for obvious space reasons), we use the mechanism introduced in FactoredLP: we build a series of constraints using VariableElimination that are equivalent to the exponential constraints, while being actually linear in the number of basis functions.
This results in a method that can very approximate very well the optimal ValueFunction for environments with trillion or more states and actions, in a reasonable amount of time.
std::tuple<Vector, QFunction> AIToolbox::Factored::MDP::LinearProgramming::operator() | ( | const CooperativeModel & | m, |
const FactoredVector & | h | ||
) | const |