qp_solver_collection
Classes | Enumerations | Functions
QpSolverCollection Namespace Reference

Classes

class  QpCoeff
 Class of QP coefficient. More...
 
class  QpSolver
 Virtual class of QP solver. More...
 
class  QpSolverHpipm
 QP solver HPIPM. More...
 
class  QpSolverJrlqp
 QP solver JRLQP. More...
 
class  QpSolverLssol
 QP solver LSSOL. More...
 
class  QpSolverNasoq
 QP solver NASOQ. More...
 
class  QpSolverOsqp
 QP solver OSQP. More...
 
class  QpSolverProxqp
 QP solver PROXQP. More...
 
class  QpSolverQld
 QP solver QLD. More...
 
class  QpSolverQpmad
 QP solver QPMAD. More...
 
class  QpSolverQpoases
 QP solver qpOASES. More...
 
class  QpSolverQuadprog
 QP solver QuadProg. More...
 

Enumerations

enum  QpSolverType {
  QpSolverType::Any = -2, QpSolverType::Uninitialized = -1, QpSolverType::QLD = 0, QpSolverType::QuadProg,
  QpSolverType::LSSOL, QpSolverType::JRLQP, QpSolverType::qpOASES, QpSolverType::OSQP,
  QpSolverType::NASOQ, QpSolverType::HPIPM, QpSolverType::PROXQP, QpSolverType::QPMAD
}
 QP solver type. More...
 

Functions

QpSolverType strToQpSolverType (const std::string &qp_solver_type)
 Convert std::string to QpSolverType. More...
 
QpSolverType getAnyQpSolverType ()
 Get one QP solver type that is enabled. More...
 
bool isQpSolverEnabled (const QpSolverType &qp_solver_type)
 Check whether QP solver is enabled. More...
 
std::shared_ptr< QpSolverallocateQpSolver (const QpSolverType &qp_solver_type)
 Allocate the specified QP solver. More...
 

Enumeration Type Documentation

◆ QpSolverType

QP solver type.

Enumerator
Any 
Uninitialized 
QLD 
QuadProg 
LSSOL 
JRLQP 
qpOASES 
OSQP 
NASOQ 
HPIPM 
PROXQP 
QPMAD 

Definition at line 78 of file QpSolverCollection.h.

Function Documentation

◆ allocateQpSolver()

std::shared_ptr<QpSolver> QpSolverCollection::allocateQpSolver ( const QpSolverType qp_solver_type)

Allocate the specified QP solver.

Parameters
qp_solver_typeQP solver type

◆ getAnyQpSolverType()

QpSolverType QpSolverCollection::getAnyQpSolverType ( )

Get one QP solver type that is enabled.

Checks whether each QP solver is enabled in the order of definition in QpSolverType and returns the first one that is enabled.

◆ isQpSolverEnabled()

bool QpSolverCollection::isQpSolverEnabled ( const QpSolverType qp_solver_type)

Check whether QP solver is enabled.

Parameters
qp_solver_typeQP solver type

◆ strToQpSolverType()

QpSolverType QpSolverCollection::strToQpSolverType ( const std::string &  qp_solver_type)

Convert std::string to QpSolverType.