qpOASES
3.2.1
An Implementation of the Online Active Set Strategy
|
Example illustrating the use of the ConstraintProduct class. More...
Public Member Functions | |
MyConstraintProduct () | |
MyConstraintProduct (int_t _nV, int_t _nC, real_t *_A) | |
MyConstraintProduct (const MyConstraintProduct &rhs) | |
virtual | ~MyConstraintProduct () |
MyConstraintProduct & | operator= (const MyConstraintProduct &rhs) |
virtual int_t | operator() (int_t constrIndex, const real_t *const x, real_t *const constrValue) const |
Protected Attributes | |
int_t | nV |
int_t | nC |
real_t * | A |
|
inline |
Default constructor.
|
inline |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Evaluates the product of a given constraint with the current iterate. This function needs to be implemented in a derived class for the user-defined constraint product function.
Implements ConstraintProduct.
|
inline |
|
protected |
Pointer to full constraint matrix (typically not needed!).
Referenced by MyConstraintProduct(), operator()(), and operator=().
|
protected |
Number of constraints.
Referenced by MyConstraintProduct(), and operator=().
|
protected |
Number of variables.
Referenced by MyConstraintProduct(), operator()(), and operator=().