14 #ifndef _OCRABASE_QUADRATIC_SOLVER_H_ 15 #define _OCRABASE_QUADRATIC_SOLVER_H_ 117 virtual MatrixXd
getP()
const = 0;
118 virtual VectorXd
getq()
const = 0;
119 virtual MatrixXd
getA()
const = 0;
120 virtual VectorXd
getb()
const = 0;
121 virtual VectorXd
getbp()
const = 0;
122 virtual MatrixXd
getC()
const = 0;
123 virtual VectorXd
getd()
const = 0;
124 virtual VectorXd
getl()
const = 0;
125 virtual VectorXd
getu()
const = 0;
126 virtual VectorXd
getxl()
const = 0;
127 virtual VectorXd
getxu()
const = 0;
153 std::vector<DiagonalLinearConstraint*>
_bounds;
164 #endif //_OCRABASE_QUADRATIC_SOLVER_H_
virtual VectorXd getxl() const =0
void printValuesAtSolution()
virtual MatrixXd getC() const =0
virtual VectorXd getb() const =0
std::vector< LinearConstraint * > _equalityConstraints
void removeConstraint(LinearConstraint &constraint)
virtual VectorXd getu() const =0
void clearEqualityConstraints()
void addBounds(BoundConstraint &constraint)
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
virtual VectorXd getd() const =0
void removeBounds(BoundConstraint &constraint)
QuadraticSolver(bool boundsAsConstraints=false)
Declaration file of the LinearFunction class.
void addConstraint(LinearConstraint &constraint)
void clearInequalityConstraints()
virtual VectorXd getq() const =0
virtual VectorXd getxu() const =0
Declaration file of the Solver class.
std::vector< LinearConstraint * > _inequalityConstraints
Declaration file of the Constraint class.
virtual VectorXd getbp() const =0
void addObjective(QuadraticObjective &obj)
void removeObjective(QuadraticFunction &obj)
virtual MatrixXd getP() const =0
std::vector< DiagonalLinearConstraint * > _bounds
std::vector< QuadraticObjective * > _objectives
virtual MatrixXd getA() const =0
virtual VectorXd getl() const =0
const bool _boundsAsConstraints
void onConstraintResize(int timestamp)
Declaration file of the Objective class.
Declaration file of the QuadraticFunction class.