The QPOASESSolver class is a wrapper for the qp-solver qpoases (see https://www.coin-or.org/qpOASES/doc/3.0/manual.pdf). It solves problems of shape:
More...
#include <QPOasesSolver.hpp>
|
qpOASES::Options | options |
|
qpOASES::SQProblem | sq_problem |
|
int | n_wsr |
|
int | actual_n_wsr |
|
qpOASES::returnValue | ret_val |
|
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > | H |
|
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > | A |
|
base::Time | stamp |
|
bool | configured |
|
The QPOASESSolver class is a wrapper for the qp-solver qpoases (see https://www.coin-or.org/qpOASES/doc/3.0/manual.pdf). It solves problems of shape:
\[ \begin{array}{ccc}
min(\mathbf{x}) & \frac{1}{2} \mathbf{x}^T\mathbf{H}\mathbf{x}+\mathbf{x}^T\mathbf{g}& \\
& & \\
s.t. & lb(\mathbf{Ax}) \leq \mathbf{Ax} \leq ub(\mathbf{Ax})& \\
& lb(\mathbf{x}) \leq \mathbf{x} \leq ub(\mathbf{x})& \\
\end{array}
\]
◆ QPOASESSolver()
wbc::QPOASESSolver::QPOASESSolver |
( |
| ) |
|
◆ ~QPOASESSolver()
wbc::QPOASESSolver::~QPOASESSolver |
( |
| ) |
|
|
virtual |
◆ getMaxNoWSR()
uint wbc::QPOASESSolver::getMaxNoWSR |
( |
| ) |
|
|
inline |
Get the maximum number of working set recalculations to be performed during the initial homotopy
◆ getNoWSR()
int wbc::QPOASESSolver::getNoWSR |
( |
| ) |
|
|
inline |
Get number of working set recalculations actually performed
◆ getOptions()
qpOASES::Options wbc::QPOASESSolver::getOptions |
( |
| ) |
|
|
inline |
Return current solver options
◆ getReturnValue()
returnValue wbc::QPOASESSolver::getReturnValue |
( |
| ) |
|
Retrieve the return value from the last QP calculation
◆ getSQProblem()
const qpOASES::SQProblem & wbc::QPOASESSolver::getSQProblem |
( |
| ) |
|
|
inline |
◆ setMaxNoWSR()
void wbc::QPOASESSolver::setMaxNoWSR |
( |
const uint & | n | ) |
|
|
inline |
Set the maximum number of working set recalculations to be performed during the initial homotopy
◆ setOptions()
void wbc::QPOASESSolver::setOptions |
( |
const qpOASES::Options & | opt | ) |
|
◆ setOptionsPreset()
Set new solver options using one of the following presets: qp_default, qp_reliable, qp_fast, qp_unset
◆ solve()
void wbc::QPOASESSolver::solve |
( |
const wbc::HierarchicalQP & | hierarchical_qp, |
|
|
base::VectorXd & | solver_output ) |
|
virtual |
solve Solve the given quadratic program
- Parameters
-
hierarchical_qp | Description of the hierarchical quadratic program to solve. |
solver_output | solution of the quadratic program |
Implements wbc::QPSolver.
Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> wbc::QPOASESSolver::A |
|
protected |
◆ actual_n_wsr
int wbc::QPOASESSolver::actual_n_wsr |
|
protected |
Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> wbc::QPOASESSolver::H |
|
protected |
◆ n_wsr
int wbc::QPOASESSolver::n_wsr |
|
protected |
◆ options
qpOASES::Options wbc::QPOASESSolver::options |
|
protected |
◆ ret_val
qpOASES::returnValue wbc::QPOASESSolver::ret_val |
|
protected |
◆ sq_problem
qpOASES::SQProblem wbc::QPOASESSolver::sq_problem |
|
protected |
◆ stamp
base::Time wbc::QPOASESSolver::stamp |
|
protected |
The documentation for this class was generated from the following files: