36 #include <qpOASES.hpp> 47 real_t H[2*2] = { 1.0, 0.0, 0.0, 0.0 };
57 qp.
init( H,g,0,0,iter );
returnValue getPrimalSolution(real_t *const xOpt) const
#define USING_NAMESPACE_QPOASES
Implements the online active set strategy for box-constrained QPs.
returnValue init(const real_t *const _H, const real_t *const _g, const real_t *const _lb, const real_t *const _ub, int &nWSR, const real_t *const yOpt=0, real_t *const cputime=0)
returnValue setOptions(const Options &_options)
Provides a generic way to set and pass user-specified options.
BEGIN_NAMESPACE_QPOASES returnValue print(const real_t *const v, int n)