37 #include <qpOASES/SQProblem.hpp> 141 const char*
const lb_file,
const char*
const ub_file,
142 const char*
const lbA_file,
const char*
const ubA_file,
152 if ( ( H_file == 0 ) || ( g_file == 0 ) )
155 if ( ( nC > 0 ) && ( A_file == 0 ) )
186 g_new,lb_new,ub_new,lbA_new,ubA_new
206 returnvalue =
hotstart( H_new,g_new,A_new,lb_new,ub_new,lbA_new,ubA_new, nWSR,cputime );
290 const char*
const lb_file,
const char*
const ub_file,
291 const char*
const lbA_file,
const char*
const ubA_file,
311 return QProblem::hotstart( g_new,lb_new,ub_new,lbA_new,ubA_new, nWSR,cputime, guessedBounds,guessedConstraints );
319 const char*
const lb_file,
const char*
const ub_file,
320 const char*
const lbA_file,
const char*
const ubA_file,
326 return QProblem::hotstart( g_file,lb_file,ub_file,lbA_file,ubA_file, nWSR,cputime, guessedBounds,guessedConstraints );
398 for ( i=0; i<nC; ++i )
408 for ( i=0; i<nC; ++i )
415 for ( i=0; i<nC; ++i )
returnValue setupCholeskyDecomposition()
Manages working sets of constraints.
returnValue setupAuxiliaryQPgradient()
Implements the online active set strategy for QPs with varying matrices.
Allows to pass back messages to the calling function.
returnValue determineHessianType()
Interfaces matrix-vector operations tailored to symmetric dense matrices.
returnValue setH(const real_t *const H_new)
#define THROWERROR(retval)
returnValue setupAllUpper()
SQProblem & operator=(const SQProblem &rhs)
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)
BooleanType freeConstraintMatrix
returnValue setupAllInactive()
virtual returnValue setupAuxiliaryQP(const real_t *const H_new, const real_t *const A_new)
returnValue readFromFile(real_t *data, int nrow, int ncol, const char *datafilename)
returnValue setupCholeskyDecompositionProjected()
BooleanType usingRegularisation() const
returnValue setupSubjectToType()
Interfaces matrix-vector operations tailored to general dense matrices.
returnValue setupAllFree()
real_t A[NCMAX_ALLOC *NVMAX]
Abstract base class for interfacing tailored matrix-vector operations.
returnValue regulariseHessian()
returnValue loadQPvectorsFromFile(const char *const g_file, const char *const lb_file, const char *const ub_file, const char *const lbA_file, const char *const ubA_file, real_t *const g_new, real_t *const lb_new, real_t *const ub_new, real_t *const lbA_new, real_t *const ubA_new) const
BooleanType isRegularised
void rhs(const real_t *x, real_t *f)
#define END_NAMESPACE_QPOASES
QProblemStatus getStatus() const
returnValue setupAllLower()
Manages working sets of bounds (= box constraints).
#define BEGIN_NAMESPACE_QPOASES
Implements the online active set strategy for QPs with general constraints.
returnValue setupAuxiliaryWorkingSet(const Bounds *const auxiliaryBounds, const Constraints *const auxiliaryConstraints, BooleanType setupAfresh)
QProblem & operator=(const QProblem &rhs)
returnValue setA(const real_t *const A_new)
returnValue setupTQfactorisation()
SubjectToStatus initialStatusBounds
Abstract base class for interfacing matrix-vector operations tailored to symmetric matrices...
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)