43 real_t H[2*2] = { 1.0, 0.0, 0.0, 0.5 };
77 xOpt,yOpt,&obj,&status
81 printf(
"\nxOpt = [ %e, %e ]; yOpt = [ %e, %e, %e ]; objVal = %e\n\n",
82 xOpt[0],xOpt[1],yOpt[0],yOpt[1],yOpt[2], obj );
89 xOpt,yOpt,&obj,&status
93 printf(
"\nxOpt = [ %e, %e ]; yOpt = [ %e, %e, %e ]; objVal = %e\n\n",
94 xOpt[0],xOpt[1],yOpt[0],yOpt[1],yOpt[2], obj );
int_t SQProblem_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)
Manages all user-specified options for solving QPs.
USING_NAMESPACE_QPOASES int_t qpOASES_Options_init(qpOASES_Options *const options, int_t mode)
int_t SQProblem_setup(int_t nV, int_t nC, int_t hessianType)
int_t SQProblem_cleanup()
int_t SQProblem_hotstart(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, real_t *const x, real_t *const y, real_t *const obj, int_t *const status)