34 #include <QProblemB.hpp> 41 real_t H[2*2] = { 1.0, 0.0, 0.0, 0.5 };
57 example.
init( H,g,lb,ub, nWSR,0 );
61 example.
hotstart( g_new,lb_new,ub_new, nWSR,0 );
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 hotstart(const real_t *const g_new, const real_t *const lb_new, const real_t *const ub_new, int &nWSR, real_t *const cputime)