80 printf(
"\nxOpt = [ %e, %e ]; objVal = %e\n\n", xOpt[0],xOpt[1],
QProblem_getObjVal(&example) );
#define USING_NAMESPACE_QPOASES
returnValue QProblem_getPrimalSolution(QProblem *_THIS, real_t *const xOpt)
Provides a generic way to set and pass user-specified options.
real_t QProblem_getObjVal(QProblem *_THIS)
int_t QProblem_init(const real_t *const H, const real_t *const g, const real_t *const A, const real_t *const lb, const real_t *const ub, const real_t *const lbA, const real_t *const ubA, int_t *const nWSR, real_t *const cputime, const qpOASES_Options *const options, real_t *const x, real_t *const y, real_t *const obj, int_t *const status)
returnValue Options_setToDefault(Options *_THIS)
int_t QProblem_hotstart(const real_t *const g, const real_t *const lb, const real_t *const ub, const real_t *const lbA, const real_t *const ubA, int_t *const nWSR, real_t *const cputime, real_t *const x, real_t *const y, real_t *const obj, int_t *const status)
Implements the online active set strategy for QPs with general constraints.
void QProblemCON(QProblem *_THIS, int _nV, int _nC, HessianType _hessianType)
static returnValue QProblem_setOptions(QProblem *_THIS, Options _options)