|
eiquadprog 1.3.2
C++ reimplementation of eiquadprog
|
#include <eiquadprog/eiquadprog-rt.hpp>

Public Member Functions | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RtEiquadprog () |
| virtual | ~RtEiquadprog () |
| int | getMaxIter () const |
| bool | setMaxIter (int maxIter) |
| int | getActiveSetSize () const |
| int | getIteratios () const |
| double | getObjValue () const |
| const RtVectorX< nIneqCon+nEqCon >::d & | getLagrangeMultipliers () const |
| const RtVectorX< nIneqCon+nEqCon >::i & | getActiveSet () const |
| RtEiquadprog_status | solve_quadprog (const typename RtMatrixX< nVars, nVars >::d &Hess, const typename RtVectorX< nVars >::d &g0, const typename RtMatrixX< nEqCon, nVars >::d &CE, const typename RtVectorX< nEqCon >::d &ce0, const typename RtMatrixX< nIneqCon, nVars >::d &CI, const typename RtVectorX< nIneqCon >::d &ci0, typename RtVectorX< nVars >::d &x) |
Public Attributes | |
| RtMatrixX< nVars, nVars >::d | m_J |
| bool | is_inverse_provided_ |
| eiquadprog::solvers::RtEiquadprog< nVars, nEqCon, nIneqCon >::RtEiquadprog | ( | ) |
|
virtual |
|
inline |
Return the active set, namely the indeces of active constraints. The first nEqCon indexes are for the equalities and are negative. The last nIneqCon indexes are for the inequalities and start from 0. Only the first q elements of the return vector are valid, where q is the size of the active set.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| RtEiquadprog_status eiquadprog::solvers::RtEiquadprog< nVars, nEqCon, nIneqCon >::solve_quadprog | ( | const typename RtMatrixX< nVars, nVars >::d & | Hess, |
| const typename RtVectorX< nVars >::d & | g0, | ||
| const typename RtMatrixX< nEqCon, nVars >::d & | CE, | ||
| const typename RtVectorX< nEqCon >::d & | ce0, | ||
| const typename RtMatrixX< nIneqCon, nVars >::d & | CI, | ||
| const typename RtVectorX< nIneqCon >::d & | ci0, | ||
| typename RtVectorX< nVars >::d & | x ) |
solves the problem min. x' Hess x + 2 g0' x s.t. CE x + ce0 = 0 CI x + ci0 >= 0
| bool eiquadprog::solvers::RtEiquadprog< nVars, nEqCon, nIneqCon >::is_inverse_provided_ |
| RtMatrixX<nVars,nVars>::d eiquadprog::solvers::RtEiquadprog< nVars, nEqCon, nIneqCon >::m_J |