|
humoto
|
Solver class with solution guessing.
| t_SolverParameters | class representing parameters of the solver, should inherit from SolverParametersBase |
#include <solver.h>

Public Member Functions | |
| void | setParameters (const t_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 t_SolverParameters ¶meters) |
| Solve an optimization problem (using previously specified parameters) More... | |
| void | solve (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy, const humoto::Solution &solution_guess) |
| Solve an optimization problem (using previously specified parameters) More... | |
Protected Member Functions | |
| SolverGuessSolution () | |
| ~SolverGuessSolution () | |
| Protected destructor: prevent destruction of the child classes through a base pointer. More... | |
| virtual void | checkInputs (const humoto::OptimizationProblem &hierarchy) const |
| Checks input, does nothing by default, may include extra checks in mixins. More... | |
| void | checkResults (const humoto::Solution &solution) const |
| Check return status and crash if it indicates a failure and crashing is enabled. More... | |
| virtual void | initialize (const humoto::OptimizationProblem &hierarchy, const humoto::SolutionStructure &sol_structure)=0 |
| Initialize solver. More... | |
| virtual void | reset () |
| Reset solver. More... | |
| virtual void | setSolutionGuess (const humoto::Solution &solution_guess)=0 |
| Set solution guess. More... | |
| virtual void | solveHierarchy (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy)=0 |
| Solve the hierarchy. More... | |
Protected Attributes | |
| t_SolverParameters | parameters_ |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtualinherited |
Checks input, does nothing by default, may include extra checks in mixins.
| [in] | hierarchy |
Reimplemented in humoto::QPSolverMixin< humoto::Solver< SolverParameters > >, and humoto::QPSolverMixin< humoto::SolverGuessSolutionActiveSet< SolverParameters > >.
|
inlineprotectedinherited |
|
protectedpure virtualinherited |
Initialize solver.
| [in] | hierarchy | hierarchy |
| [in] | sol_structure | solution structure |
Implemented in humoto::qpoases::Solver, humoto::kktsolver::Solver, humoto::qpmad::Solver, and humoto::quadprogpp::Solver.
|
inlineprotectedvirtualinherited |
|
inlineinherited |
|
protectedpure virtualinherited |
Set solution guess.
| [in] | solution_guess |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedpure virtualinherited |
Solve the hierarchy.
| [out] | solution | solution |
| [in] | hierarchy | hierarchy |
Implemented in humoto::qpoases::Solver, humoto::kktsolver::Solver, humoto::qpmad::Solver, and humoto::quadprogpp::Solver.
|
protectedinherited |
1.8.13