humoto
|
#include <solver.h>
Public Member Functions | |
Solver () | |
Default constructor (with default parameters) More... | |
Solver (const SolverParameters ¶meters) | |
Set parameters. More... | |
~Solver () | |
Destructor. More... | |
void | log (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="quadprogpp") const |
Log a QP problem. More... | |
void | setParameters (const SolverParameters ¶meters) |
Construct solver with specified parameters. More... | |
void | solve (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy) |
Solve an optimization problem (using previously specified parameters) More... | |
void | solve (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy, const SolverParameters ¶meters) |
Solve an optimization problem (using previously specified parameters) More... | |
Protected Member Functions | |
virtual void | checkInputs (const humoto::OptimizationProblem &hierarchy) const |
void | checkResults (const humoto::Solution &solution) const |
Check return status and crash if it indicates a failure and crashing is enabled. More... | |
virtual void | reset () |
Reset solver. More... | |
Protected Attributes | |
SolverParameters | parameters_ |
Private Member Functions | |
void | initialize (const humoto::OptimizationProblem &hierarchy, const humoto::SolutionStructure &sol_structure) |
Initialize solver. More... | |
void | solveHierarchy (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy) |
Solve the hierarchy. More... | |
Private Attributes | |
humoto::QPProblem_AB_AL | qp_problem_ |
QuadProgpp::Solver | solver |
|
inline |
|
inlineexplicit |
|
inlineprotectedvirtualinherited |
Reimplemented from humoto::Solver< SolverParameters >.
|
inlineprotectedinherited |
|
inlineprivatevirtual |
Initialize solver.
[in] | hierarchy | hierarchy |
[in] | sol_structure | solution structure |
Implements humoto::Solver< SolverParameters >.
|
inline |
|
inlineprotectedvirtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprivatevirtual |
Solve the hierarchy.
[out] | solution | solution |
[in] | hierarchy | hierarchy |
Implements humoto::Solver< SolverParameters >.
|
protectedinherited |
|
private |
|
private |