(not yet documented) More...
#include <qp_solver_qpoases.hpp>
Protected Member Functions | |
virtual returnValue | setupQPobject (uint nV, uint nC) |
returnValue | updateQPstatus (int ret) |
Protected Member Functions inherited from DenseQPsolver | |
virtual returnValue | makeBoundsConsistent (DenseCP *cp) const |
virtual returnValue | setupLogging () |
Protected Member Functions inherited from DenseCPsolver | |
virtual returnValue | setupOptions () |
Protected Attributes | |
qpOASES::SQProblem * | qp |
Protected Attributes inherited from DenseQPsolver | |
int | numberOfSteps |
QPStatus | qpStatus |
Protected Attributes inherited from AlgorithmicBase | |
int | outputLoggingIdx |
BooleanType | useModuleStandalone |
UserInteraction * | userInteraction |
(not yet documented)
The class QPsolver_qpOASES interfaces the qpOASES software package for solving convex quadratic programming (QP) problems.
\author Boris Houska, Hans Joachim Ferreau
Definition at line 57 of file qp_solver_qpoases.hpp.
BEGIN_NAMESPACE_ACADO QPsolver_qpOASES::QPsolver_qpOASES | ( | ) |
Default constructor.
Definition at line 44 of file qp_solver_qpoases.cpp.
QPsolver_qpOASES::QPsolver_qpOASES | ( | UserInteraction * | _userInteraction | ) |
Definition at line 50 of file qp_solver_qpoases.cpp.
QPsolver_qpOASES::QPsolver_qpOASES | ( | const QPsolver_qpOASES & | rhs | ) |
Copy constructor (deep copy).
Definition at line 56 of file qp_solver_qpoases.cpp.
|
virtual |
Destructor.
Definition at line 65 of file qp_solver_qpoases.cpp.
|
virtual |
Implements DenseQPsolver.
Definition at line 93 of file qp_solver_qpoases.cpp.
|
virtual |
Implements DenseQPsolver.
Definition at line 99 of file qp_solver_qpoases.cpp.
|
virtual |
Returns dual solution vector if QP has been solved.
yOpt | OUTPUT: dual solution vector. |
Implements DenseQPsolver.
Definition at line 230 of file qp_solver_qpoases.cpp.
|
virtual |
Implements DenseQPsolver.
Definition at line 278 of file qp_solver_qpoases.cpp.
|
virtual |
Implements DenseQPsolver.
Definition at line 270 of file qp_solver_qpoases.cpp.
|
virtual |
Returns optimal objective function value.
Implements DenseQPsolver.
Definition at line 252 of file qp_solver_qpoases.cpp.
|
virtual |
Returns primal solution vector if QP has been solved.
xOpt | OUTPUT: primal solution vector. |
Implements DenseQPsolver.
Definition at line 208 of file qp_solver_qpoases.cpp.
|
virtual |
Returns a variance-covariance estimate if possible or an error message otherwise.
Implements DenseQPsolver.
Definition at line 264 of file qp_solver_qpoases.cpp.
|
virtual |
Returns a variance-covariance estimate if possible or an error message otherwise.
Implements DenseQPsolver.
Definition at line 287 of file qp_solver_qpoases.cpp.
QPsolver_qpOASES & QPsolver_qpOASES::operator= | ( | const QPsolver_qpOASES & | rhs | ) |
Assignment operator (deep copy).
Definition at line 72 of file qp_solver_qpoases.cpp.
|
protectedvirtual |
Setups QP object.
nV | Number of QP variables. |
nC | Number of QP constraints (without bounds). |
Implements DenseQPsolver.
Definition at line 339 of file qp_solver_qpoases.cpp.
|
virtual |
Solves the QP.
Reimplemented from DenseQPsolver.
Definition at line 105 of file qp_solver_qpoases.cpp.
|
virtual |
Solves QP using at most <maxIter> iterations.
H | Hessian matrix of neighbouring QP to be solved. |
A | Constraint matrix of neighbouring QP to be solved. |
g | Gradient of neighbouring QP to be solved. |
lb | Lower bounds of neighbouring QP to be solved. |
ub | Upper bounds of neighbouring QP to be solved. |
lbA | Lower constraints' bounds of neighbouring QP to be solved. |
ubA | Upper constraints' bounds of neighbouring QP to be solved. |
maxIter | Maximum number of iterations. |
Implements DenseQPsolver.
Definition at line 111 of file qp_solver_qpoases.cpp.
|
virtual |
Solves QP using at most <maxIter> iterations.
H | Hessian matrix of neighbouring QP to be solved. |
A | Constraint matrix of neighbouring QP to be solved. |
g | Gradient of neighbouring QP to be solved. |
lb | Lower bounds of neighbouring QP to be solved. |
ub | Upper bounds of neighbouring QP to be solved. |
lbA | Lower constraints' bounds of neighbouring QP to be solved. |
ubA | Upper constraints' bounds of neighbouring QP to be solved. |
maxIter | Maximum number of iterations. |
Implements DenseQPsolver.
Definition at line 158 of file qp_solver_qpoases.cpp.
|
virtual |
Performs exactly one QP iteration.
H | Hessian matrix of neighbouring QP to be solved. |
A | Constraint matrix of neighbouring QP to be solved. |
g | Gradient of neighbouring QP to be solved. |
lb | Lower bounds of neighbouring QP to be solved. |
ub | Upper bounds of neighbouring QP to be solved. |
lbA | Lower constraints' bounds of neighbouring QP to be solved. |
ubA | Upper constraints' bounds of neighbouring QP to be solved. |
Implements DenseQPsolver.
Definition at line 180 of file qp_solver_qpoases.cpp.
|
virtual |
Performs exactly one QP iteration.
H | Hessian matrix of neighbouring QP to be solved. |
A | Constraint matrix of neighbouring QP to be solved. |
g | Gradient of neighbouring QP to be solved. |
lb | Lower bounds of neighbouring QP to be solved. |
ub | Upper bounds of neighbouring QP to be solved. |
lbA | Lower constraints' bounds of neighbouring QP to be solved. |
ubA | Upper constraints' bounds of neighbouring QP to be solved. |
Implements DenseQPsolver.
Definition at line 194 of file qp_solver_qpoases.cpp.
|
protected |
Definition at line 377 of file qp_solver_qpoases.cpp.
|
protected |
Definition at line 204 of file qp_solver_qpoases.hpp.