40 #include <qpOASES/SQProblem.hpp> 54 int *nV,
int* nC,
int*
nWSR,
59 int* nV,
int* nC,
int* nWSR,
67 int* nV,
int* nC,
int* nWSR,
100 for( i=0; i<nV*nC; ++i )
103 for( i=0; i<nC; ++i )
104 for( j=0; j<nV; ++j )
105 A[i*nV + j] = A_tmp[j*nC + i];
118 switch ( returnvalue )
144 int *nV,
int* nC,
int*
nWSR,
154 returnValue returnvalue = single_qp.
init( H,g,A,lb,ub,lbA,ubA, *nWSR,0 );
171 int* nV,
int* nC,
int*
nWSR,
226 int* nV,
int* nC,
int*
nWSR,
returnValue getPrimalSolution(real_t *const xOpt) const
returnValue 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 &nWSR, const real_t *const yOpt=0, real_t *const cputime=0)
void initSB(real_t *H, real_t *g, real_t *lb, real_t *ub, int *nV, int *nWSR, real_t *x, real_t *obj, int *status, int *nWSRout, real_t *y)
void hotstart(real_t *g, real_t *lb, real_t *ub, real_t *lbA, real_t *ubA, int *nWSR, real_t *x, real_t *obj, int *status, int *nWSRout, real_t *y)
Implements the online active set strategy for box-constrained QPs.
Implements the online active set strategy for QPs with varying matrices.
Allows to pass back messages to the calling function.
void hotstartVM(real_t *H, real_t *g, real_t *A, real_t *lb, real_t *ub, real_t *lbA, real_t *ubA, int *nWSR, real_t *x, real_t *obj, int *status, int *nWSRout, real_t *y)
void init(real_t *H, real_t *g, real_t *A, real_t *lb, real_t *ub, real_t *lbA, real_t *ubA, int *nV, int *nC, int *nWSR, real_t *x, real_t *obj, int *status, int *nWSRout, real_t *y)
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, const real_t *const lbA_new, const real_t *const ubA_new, int &nWSR, real_t *const cputime)
int getStatus(returnValue returnvalue)
void transformA(real_t *A, int nV, int nC)
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)
returnValue getDualSolution(real_t *const yOpt) const
void initVM(real_t *H, real_t *g, real_t *A, real_t *lb, real_t *ub, real_t *lbA, real_t *ubA, int *nV, int *nC, int *nWSR, real_t *x, real_t *obj, int *status, int *nWSRout, real_t *y)
void hotstartSB(real_t *g, real_t *lb, real_t *ub, int *nWSR, real_t *x, real_t *obj, int *status, int *nWSRout, real_t *y)
void qpoases(real_t *H, real_t *g, real_t *A, real_t *lb, real_t *ub, real_t *lbA, real_t *ubA, int *nV, int *nC, int *nWSR, real_t *x, real_t *obj, int *status, int *nWSRout, real_t *y)
Implements the online active set strategy for QPs with general constraints.
returnValue setPrintLevel(PrintLevel _printlevel)
returnValue hotstart(const real_t *const H_new, const real_t *const g_new, const real_t *const A_new, const real_t *const lb_new, const real_t *const ub_new, const real_t *const lbA_new, const real_t *const ubA_new, int &nWSR, real_t *const cputime)
returnValue getDualSolution(real_t *const yOpt) const