10 #ifndef CROCODDYL_CORE_SOLVERS_FDDP_HPP_
11 #define CROCODDYL_CORE_SOLVERS_FDDP_HPP_
13 #include <Eigen/Cholesky>
16 #include "crocoddyl/core/solvers/ddp.hpp"
60 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
67 explicit SolverFDDP(boost::shared_ptr<ShootingProblem> problem);
71 const std::vector<Eigen::VectorXd>& init_xs = DEFAULT_VECTOR,
72 const std::vector<Eigen::VectorXd>& init_us = DEFAULT_VECTOR,
73 const std::size_t maxiter = 100,
const bool is_feasible =
false,
74 const double init_reg = NAN);
96 virtual void forwardPass(
const double stepLength);
Feasibility-driven Differential Dynamic Programming (FDDP) solver.
void set_th_acceptnegstep(const double th_acceptnegstep)
Modify the threshold used for accepting step along ascent direction.
double dg_
Internal data for computing the expected improvement.
double dv_
Internal data for computing the expected improvement.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW SolverFDDP(boost::shared_ptr< ShootingProblem > problem)
Initialize the FDDP solver.
virtual const Eigen::Vector2d & expectedImprovement()
Return the expected improvement from a given current search direction .
double dq_
Internal data for computing the expected improvement.
double get_th_acceptnegstep() const
Return the threshold used for accepting step along ascent direction.
void updateExpectedImprovement()
Update internal values for computing the expected improvement.