36 #include <qpOASES/Flipper.hpp> 120 if ( ( _nV < 0 ) || ( _nC < 0 ) )
157 if ( _constraints != 0 )
160 if ( ( _R != 0 ) && (
R != 0 ) )
163 if ( ( _Q != 0 ) && (
Q != 0 ) )
166 if ( ( _T != 0 ) && (
T != 0 ) )
177 const double*
const _R,
179 const double*
const _Q,
180 const double*
const _T
186 if ( _constraints != 0 )
Manages working sets of constraints.
Allows to pass back messages to the calling function.
returnValue copy(const Flipper &rhs)
#define THROWERROR(retval)
Auxiliary class for storing a copy of the current matrix factorisations.
returnValue set(const Bounds *const _bounds, const double *const _R, const Constraints *const _constraints=0, const double *const _Q=0, const double *const _T=0)
void rhs(const real_t *x, real_t *f)
#define END_NAMESPACE_QPOASES
Flipper & operator=(const Flipper &rhs)
Manages working sets of bounds (= box constraints).
#define BEGIN_NAMESPACE_QPOASES
returnValue init(int _nV=0, int _nC=0)
returnValue get(Bounds *const _bounds, double *const R, Constraints *const _constraints=0, double *const _Q=0, double *const _T=0) const