qp_solver_collection
Public Member Functions | Protected Attributes | List of all members
QpSolverCollection::QpSolverJrlqp Class Reference

QP solver JRLQP. More...

#include <QpSolverCollection.h>

Inheritance diagram for QpSolverCollection::QpSolverJrlqp:
Inheritance graph
[legend]
Collaboration diagram for QpSolverCollection::QpSolverJrlqp:
Collaboration graph
[legend]

Public Member Functions

 QpSolverJrlqp ()
 Constructor. More...
 
virtual Eigen::VectorXd solve (int dim_var, int dim_eq, int dim_ineq, Eigen::Ref< Eigen::MatrixXd > Q, const Eigen::Ref< const Eigen::VectorXd > &c, const Eigen::Ref< const Eigen::MatrixXd > &A, const Eigen::Ref< const Eigen::VectorXd > &b, const Eigen::Ref< const Eigen::MatrixXd > &C, const Eigen::Ref< const Eigen::VectorXd > &d, const Eigen::Ref< const Eigen::VectorXd > &x_min, const Eigen::Ref< const Eigen::VectorXd > &x_max) override
 Solve QP. More...
 
- Public Member Functions inherited from QpSolverCollection::QpSolver
 QpSolver ()
 Constructor. More...
 
void printInfo (bool verbose=false, const std::string &header="") const
 Print information. More...
 
virtual Eigen::VectorXd solve (QpCoeff &qp_coeff)
 Solve QP. More...
 
QpSolverType type () const
 Get QP solver type. More...
 
bool solveFailed () const
 Get whether it failed to solve the QP. More...
 

Protected Attributes

std::unique_ptr< jrl::qp::GoldfarbIdnaniSolver > jrlqp_
 
- Protected Attributes inherited from QpSolverCollection::QpSolver
QpSolverType type_ = QpSolverType::Uninitialized
 QP solver type. More...
 
bool solve_failed_ = false
 Whether it failed to solve the QP. More...
 

Additional Inherited Members

- Public Types inherited from QpSolverCollection::QpSolver
using clock = typename std::conditional< std::chrono::high_resolution_clock::is_steady, std::chrono::high_resolution_clock, std::chrono::steady_clock >::type
 

Detailed Description

QP solver JRLQP.

Definition at line 349 of file QpSolverCollection.h.

Constructor & Destructor Documentation

◆ QpSolverJrlqp()

QpSolverCollection::QpSolverJrlqp::QpSolverJrlqp ( )

Constructor.

Member Function Documentation

◆ solve()

virtual Eigen::VectorXd QpSolverCollection::QpSolverJrlqp::solve ( int  dim_var,
int  dim_eq,
int  dim_ineq,
Eigen::Ref< Eigen::MatrixXd >  Q,
const Eigen::Ref< const Eigen::VectorXd > &  c,
const Eigen::Ref< const Eigen::MatrixXd > &  A,
const Eigen::Ref< const Eigen::VectorXd > &  b,
const Eigen::Ref< const Eigen::MatrixXd > &  C,
const Eigen::Ref< const Eigen::VectorXd > &  d,
const Eigen::Ref< const Eigen::VectorXd > &  x_min,
const Eigen::Ref< const Eigen::VectorXd > &  x_max 
)
overridevirtual

Solve QP.

Implements QpSolverCollection::QpSolver.

Member Data Documentation

◆ jrlqp_

std::unique_ptr<jrl::qp::GoldfarbIdnaniSolver> QpSolverCollection::QpSolverJrlqp::jrlqp_
protected

Definition at line 369 of file QpSolverCollection.h.


The documentation for this class was generated from the following file: