A generic solver class.
More...
#include <GenericSolver.hpp>
|
int | number_of_variables |
|
int | number_of_constraints |
|
qpData | qp_data_ |
|
◆ checkProblem()
void Qontrol::Solver::GenericSolver::checkProblem |
( |
qpData |
qp_data | ) |
|
Check if the problem size is consistent.
Check if vectors are of the same size Check if vectors and matrices have consisten size Check if lb<=ub
Check if problem has different size from last update. If yes reset the solver to the new size
- Parameters
-
◆ configure()
virtual void Qontrol::Solver::GenericSolver::configure |
( |
int |
optimization_vector_size | ) |
|
|
pure virtual |
Configure the qp solver.
Create the solver pointer, resize the qpData structure according to the optimization vector size given by the model
- Parameters
-
optimization_vector_size | Usually the robot number of degrees of freedom |
Implemented in Qontrol::Solver::Solver< SolverImplType::qpmad >.
◆ getProblemData()
qpData Qontrol::Solver::GenericSolver::getProblemData |
( |
| ) |
|
|
inline |
◆ resizeProblem()
virtual void Qontrol::Solver::GenericSolver::resizeProblem |
( |
qpData |
qp_data | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: