10 #ifndef _OCRABASE_NEWTON_SOLVER_H_ 11 #define _OCRABASE_NEWTON_SOLVER_H_ 94 void set_x0(
const VectorXd& x0);
95 const VectorXd&
get_x0()
const;
112 double compute_alpha();
119 bool _completeMethod;
120 bool _adaptativeAlpha;
125 std::vector<GenericObjective*> _objectives;
138 Eigen::LDLT<MatrixXd> _ldlt;
146 #endif //_OCRABASE_NEWTON_SOLVER_H_
const VectorXd & get_x0() const
void printValuesAtSolution()
void testNewtonSolver01()
Eigen::Map< MatrixXd > MatrixMap
void set_x0(const VectorXd &x0)
void setAdaptativeAlpha(bool adapt)
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
void setEpsilon(double eps)
Eigen::Map< VectorXd > VectorMap
bool getAdaptativeAlpha() const
Declaration file of the Solver class.
void addObjective(GenericObjective &obj)
void testNewtonSolver02()
void setMaxIter(int maxIter)
void removeObjective(Function &obj)
double getEpsilon() const