|
humoto
|
QP solver.
Definition at line 88 of file kktsolver.h.
#include <kktsolver.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="kktsolver") 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 |
| 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 | 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 | solveDirect (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy) |
| Solve KKT system directly. More... | |
| void | solveHierarchy (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy) |
| Solve the hierarchy. More... | |
| void | solveWithElimination (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy) |
| Eliminate constraints and solve (only diagonal Hessians are supported). More... | |
Private Attributes | |
| humoto::QPProblem_AB | qp_problem_ |
|
inline |
Default constructor (with default parameters)
Definition at line 212 of file kktsolver.h.
|
inline |
Destructor.
Definition at line 220 of file kktsolver.h.
|
inlineexplicit |
|
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 |
|
inlineprivatevirtual |
Initialize solver.
| [in] | hierarchy | hierarchy |
| [in] | sol_structure | solution structure |
Implements humoto::Solver< SolverParameters >.
Definition at line 97 of file kktsolver.h.
|
inline |
Log a QP problem.
| [in,out] | logger | logger |
| [in] | parent | parent |
| [in] | name | name |
Definition at line 243 of file kktsolver.h.
|
inlineprotectedvirtualinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprivate |
Solve KKT system directly.
| [out] | solution | |
| [in] | hierarchy |
Definition at line 170 of file kktsolver.h.
|
inlineprivatevirtual |
Solve the hierarchy.
| [out] | solution | solution |
| [in] | hierarchy | hierarchy |
Implements humoto::Solver< SolverParameters >.
Definition at line 106 of file kktsolver.h.
|
inlineprivate |
Eliminate constraints and solve (only diagonal Hessians are supported).
| [out] | solution | |
| [in] | hierarchy |
Definition at line 137 of file kktsolver.h.
|
protectedinherited |
|
private |
Definition at line 91 of file kktsolver.h.
1.8.13