43 real_t H[2*2] = { 1.0, 0.0, 0.0, 0.5 };
76 xOpt,yOpt,&obj,&status
80 printf(
"\nxOpt = [ %e, %e ]; yOpt = [ %e, %e, %e ]; objVal = %e\n\n",
81 xOpt[0],xOpt[1],yOpt[0],yOpt[1],yOpt[2], obj );
88 xOpt,yOpt,&obj,&status
92 printf(
"\nxOpt = [ %e, %e ]; yOpt = [ %e, %e, %e ]; objVal = %e\n\n",
93 xOpt[0],xOpt[1],yOpt[0],yOpt[1],yOpt[2], obj );
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 QProblem_setup(int_t nV, int_t nC, int_t hessianType)
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)
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)