QP solver qpOASES.
More...
#include <QpSolverCollection.h>
|
| QpSolverQpoases () |
| 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...
|
|
| 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...
|
|
|
using | clock = typename std::conditional< std::chrono::high_resolution_clock::is_steady, std::chrono::high_resolution_clock, std::chrono::steady_clock >::type |
|
QP solver qpOASES.
- Todo:
- Support an efficient interface (QProblemB) dedicated to QP with only box constraints.
Definition at line 377 of file QpSolverCollection.h.
◆ QpSolverQpoases()
QpSolverCollection::QpSolverQpoases::QpSolverQpoases |
( |
| ) |
|
◆ solve()
virtual Eigen::VectorXd QpSolverCollection::QpSolverQpoases::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 |
◆ force_initialize_
bool QpSolverCollection::QpSolverQpoases::force_initialize_ = true |
Whether to initialize each time instead of doing a warm start.
- Note
- Warm start did not give good results.
Definition at line 403 of file QpSolverCollection.h.
◆ n_wsr_
int QpSolverCollection::QpSolverQpoases::n_wsr_ = 10000 |
◆ qpoases_
std::unique_ptr<qpOASES::SQProblem> QpSolverCollection::QpSolverQpoases::qpoases_ |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/QpSolverCollection/QpSolverCollection/catkin_ws/src/QpSolverCollection/include/qp_solver_collection/QpSolverCollection.h