12 #include <solver/interface/Solver.hpp> 20 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
29 const Eigen::Vector2d& dV()
const {
return dV_; }
31 const bool& hasDiverged()
const {
return diverge_flag_; }
32 const int& divergeIteration()
const {
return diverge_iteration_; }
37 OcpBase& getOcp() {
return *ocp_; }
38 const OcpBase& getOcp()
const {
return *ocp_; }
40 Eigen::MatrixXd tensorContraction(
const Eigen::VectorXd& vz,
const std::vector<Eigen::MatrixXd>& fzz);
41 void findConstrainedControls(
int time_id,
const Eigen::MatrixXd& chol_hessian,
const Eigen::VectorXd& gradient);
48 Eigen::MatrixXd Qxx_, VxxR_;
49 Eigen::MatrixXd Qxu_, QxuR_;
50 Eigen::MatrixXd Quu_, QuuR_;
51 std::vector<Eigen::VectorXd> Vx_, Vxh_;
52 std::vector<Eigen::MatrixXd> Vxx_, Vxxh_, Vxhxh_;
55 solver::LinExpr lin_expr_;
56 std::vector<solver::Var> vars_;
57 solver::DCPQuadExpr quad_expr_;
62 Eigen::LLT<Eigen::MatrixXd> llt_;
63 bool diverge_flag_, is_initialized_;
64 int diverge_iteration_, tdim_, xdim_, udim_;
Definition: BackwardPass.hpp:17
Definition: FiniteDifferences.hpp:17
Definition: BackwardPass.hpp:15
Optimal Control Problem Description Class.
Definition: OcpDescription.hpp:115
Definition: OcpDescription.hpp:88
Definition: ForwardPass.hpp:16
Definition: SolverLqrSetting.hpp:18