43 real_t H[2*2] = { 1.0, 0.0, 0.0, 0.5 };
74 xOpt,yOpt,&obj,&status
78 printf(
"\nxOpt = [ %e, %e ]; yOpt = [ %e, %e ]; objVal = %e\n\n",
79 xOpt[0],xOpt[1],yOpt[0],yOpt[1], obj );
86 xOpt,yOpt,&obj,&status
90 printf(
"\nxOpt = [ %e, %e ]; yOpt = [ %e, %e ]; objVal = %e\n\n",
91 xOpt[0],xOpt[1],yOpt[0],yOpt[1], obj );
int_t initialStatusBounds
int_t enableCholeskyRefactorisation
Manages all user-specified options for solving QPs.
int_t QProblemB_cleanup()
USING_NAMESPACE_QPOASES int_t qpOASES_Options_init(qpOASES_Options *const options, int_t mode)
int_t QProblemB_setup(int_t nV, int_t hessianType)
int_t QProblemB_hotstart(const real_t *const g, const real_t *const lb, const real_t *const ub, int_t *const nWSR, real_t *const cputime, real_t *const x, real_t *const y, real_t *const obj, int_t *const status)
int_t QProblemB_init(const real_t *const H, const real_t *const g, const real_t *const lb, const real_t *const ub, 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)