12template <
typename Scalar>
62 const std::vector<VectorXs> &lams,
63 const std::vector<VectorXs> &vs,
Workspace &workspace);
67 const std::vector<VectorXs> &lams,
68 const std::vector<VectorXs> &vs,
74#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
75#include "merit-function.txx"
Scalar costDirectionalDerivative(const WorkspaceTpl< Scalar > &workspace, const TrajOptDataTpl< Scalar > &prob_data)
Convenience class to manage a stack of constraints.
Primal-dual augmented Lagrangian merit function.
static Scalar evaluate(const Scalar mudyn, const Scalar mucstr, const TrajOptProblem &problem, const std::vector< VectorXs > &lams, const std::vector< VectorXs > &vs, Workspace &workspace)
Compute the merit function at the trial point.
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
static Scalar directionalDerivative(const Scalar mudyn, const Scalar mucstr, const TrajOptProblem &problem, const std::vector< VectorXs > &lams, const std::vector< VectorXs > &vs, Workspace &workspace)
Data struct for stage models StageModelTpl.
Base struct for function data.
A stage in the control problem.
Trajectory optimization problem.
Workspace for solver SolverProxDDP.