11 #ifndef _OCRABASE_FSQP_SOLVER_H_ 12 #define _OCRABASE_FSQP_SOLVER_H_ 178 void obj(
int nparam,
int j,
double* x,
double* fj,
void* cd);
179 void constr(
int nparam,
int j,
double* x,
double* gj,
void* cd);
180 void gradob(
int nparam,
int j,
double* x,
double* gradfj,
void* cd);
181 void gradcn(
int nparam,
int j,
double* x,
double* gradgj,
void* cd);
211 void checkNewX(
int nparam,
double* x);
251 Map<VectorXi> mesh_pts;
255 bool _allObjectivesProvideAGradient;
256 std::vector<GenericObjective*> _objectives;
257 std::vector<DiagonalLinearConstraint*> _bounds;
270 #endif //_OCRABASE_FSQP_SOLVER_H_
void removeBounds(BoundConstraint &constraint)
eFsqpProblemType getA() const
void addBounds(BoundConstraint &constraint)
void setInfinity(double infinity)
void constr(int nparam, int j, double *x, double *gj, void *cd)
void clearLinearInequalityConstraints()
double setEqnViol() const
void setC(eFsqpEvaluationDomainPolicy type)
FSQPConstraintManager class.
void clearInequalityConstraints()
void setA(eFsqpProblemType type)
void addConstraint(LinearConstraint &constraint)
void setPrintOption(int option)
void gradob(int nparam, int j, double *x, double *gradfj, void *cd)
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
Map< VectorXd > VectorMap
void clearLinearEqualityConstraints()
void removeConstraint(LinearConstraint &constraint)
double getInfinity() const
eFsqpEvaluationDomainPolicy
void printValuesAtSolution()
void obj(int nparam, int j, double *x, double *fj, void *cd)
eFsqpEvaluationDomainPolicy getC() const
void addObjective(GenericObjective &obj)
int getPrintOption() const
This class represents a variable in a mathematical sense.
Declaration file of the Solver class.
void gradcn(int nparam, int j, double *x, double *gradgj, void *cd)
Map< MatrixXd > MatrixMap
void clearNonLinearInequalityConstraints()
void clearNonLinearEqualityConstraints()
Declaration file of the FSQPConstraintManager class.
void setPrintMode(eFsqpPrintOption m)
void removeObjective(Function &obj)
eFsqpPrintOption getPrintMode() const
void set_x0(const VectorXd &x0, const Variable &ref)
virtual void onObjectiveResize(int timestamp)
void setB(eFsqpAlgo type)
virtual void onConstraintResize(int timestamp)
void clearEqualityConstraints()