tsid
1.8.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
|
Abstract interface for a Quadratic Program (HQP) solver. More...
#include <tsid/solvers/solver-HQP-base.hpp>
Public Types | |
typedef math::RefVector | RefVector |
typedef math::ConstRefVector | ConstRefVector |
typedef math::ConstRefMatrix | ConstRefMatrix |
Public Member Functions | |
SolverHQPBase (const std::string &name) | |
virtual | ~SolverHQPBase ()=default |
virtual const std::string & | name () const |
virtual void | resize (unsigned int n, unsigned int neq, unsigned int nin)=0 |
virtual const HQPOutput & | solve (const HQPData &problemData)=0 |
virtual void | retrieveQPData (const HQPData &problemData, const bool hessianRegularization)=0 |
virtual double | getObjectiveValue ()=0 |
virtual bool | getUseWarmStart () |
virtual void | setUseWarmStart (bool useWarmStart) |
virtual unsigned int | getMaximumIterations () |
virtual bool | setMaximumIterations (unsigned int maxIter) |
virtual double | getMaximumTime () |
virtual bool | setMaximumTime (double seconds) |
Static Public Attributes | |
static EIGEN_MAKE_ALIGNED_OPERATOR_NEW std::string const | HQP_status_string [5] |
Protected Attributes | |
std::string | m_name |
bool | m_useWarmStart |
unsigned int | m_maxIter |
double | m_maxTime |
HQPOutput | m_output |
Abstract interface for a Quadratic Program (HQP) solver.
tsid::solvers::SolverHQPBase::SolverHQPBase | ( | const std::string & | name | ) |
|
virtualdefault |
|
inlinevirtual |
Get the current maximum number of iterations performed by the solver.
|
inlinevirtual |
Get the maximum time allowed to solve a problem.
|
pure virtual |
Get the objective value of the last solved problem.
Implemented in tsid::solvers::SolverProxQP, tsid::solvers::SolverOSQP, tsid::solvers::SolverHQpmad, tsid::solvers::SolverHQuadProg, tsid::solvers::SolverHQuadProgRT< nVars, nEqCon, nIneqCon >, and tsid::solvers::SolverHQuadProgFast.
|
inlinevirtual |
Return true if the solver is allowed to warm start, false otherwise.
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
Retrieve the matrices describing a QP problem from the problem data.
Implemented in tsid::solvers::SolverHQpmad, tsid::solvers::SolverHQuadProg, tsid::solvers::SolverHQuadProgFast, tsid::solvers::SolverProxQP, tsid::solvers::SolverOSQP, and tsid::solvers::SolverHQuadProgRT< nVars, nEqCon, nIneqCon >.
|
virtual |
Set the current maximum number of iterations performed by the solver.
Reimplemented in tsid::solvers::SolverProxQP, tsid::solvers::SolverOSQP, tsid::solvers::SolverHQuadProgRT< nVars, nEqCon, nIneqCon >, and tsid::solvers::SolverHQuadProgFast.
|
virtual |
Set the maximum time allowed to solve a problem.
|
inlinevirtual |
Specify whether the solver is allowed to use warm-start techniques.
|
pure virtual |
Solve the specified Hierarchical Quadratic Program.
Implemented in tsid::solvers::SolverProxQP, tsid::solvers::SolverOSQP, tsid::solvers::SolverHQpmad, tsid::solvers::SolverHQuadProg, tsid::solvers::SolverHQuadProgRT< nVars, nEqCon, nIneqCon >, and tsid::solvers::SolverHQuadProgFast.
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |