114 int maxNumQPiterations;
118 returnvalue =
solve( &cp->
H, &cp->
A, &cp->
g, &cp->
lb, &cp->
ub, &cp->
lbA, &cp->
ubA, maxNumQPiterations );
179 if ( cp->
lb(i) > cp->
ub(i) )
185 mean = ( cp->
lb(i) + cp->
ub(i) ) / 2.0;
197 if ( cp->
lbA(i) > cp->
ubA(i) )
203 mean = ( cp->
lbA(i) + cp->
ubA(i) ) / 2.0;
virtual returnValue setupLogging()
returnValue addItem(LogName _name, const char *const _label=DEFAULT_LABEL)
DenseQPsolver & operator=(const DenseQPsolver &rhs)
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
returnValue setQPsolution(const DVector &x_, const DVector &y_)
virtual returnValue setupQPobject(uint nV, uint nC)=0
#define CLOSE_NAMESPACE_ACADO
virtual returnValue makeBoundsConsistent(DenseCP *cp) const
Abstract base class for algorithms solving quadratic programs.
Data class for storing generic conic programs.
DenseCPsolver & operator=(const DenseCPsolver &rhs)
virtual returnValue getDualSolution(DVector &yOpt) const =0
virtual returnValue init(const DenseCP *cp)
Encapsulates all user interaction for setting options, logging data and plotting results.
void rhs(const real_t *x, real_t *f)
virtual returnValue getPrimalSolution(DVector &xOpt) const =0
virtual uint getNumberOfIterations() const
virtual returnValue solve(DenseCP *cp_)
Allows to setup and store user-specified log records of algorithmic information.
#define BEGIN_NAMESPACE_ACADO
int addLogRecord(LogRecord &_record)
Base class for algorithms solving conic programs.
#define ACADOERROR(retval)