aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Data struct for composite costs. More...
#include <aligator/modelling/costs/composite-costs.hpp>
Public Types | |
using | Base = CostDataAbstractTpl<Scalar> |
using | StageFunctionData = StageFunctionDataTpl<Scalar> |
using | RowMatrixXs = Eigen::Matrix<Scalar, -1, -1, Eigen::RowMajor> |
Public Types inherited from aligator::CostDataAbstractTpl< Scalar > | |
using | Scalar = _Scalar |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
CompositeCostDataTpl (const int ndx, const int nu, shared_ptr< StageFunctionData > rdata) | |
Public Member Functions inherited from aligator::CostDataAbstractTpl< Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
CostDataAbstractTpl (const int ndx, const int nu) | |
CostDataAbstractTpl (const CostAbstractTpl< Scalar > &cost) | |
virtual | ~CostDataAbstractTpl ()=default |
Public Attributes | |
shared_ptr< StageFunctionData > | residual_data |
RowMatrixXs | JtW_buf |
VectorXs | Wv_buf |
Public Attributes inherited from aligator::CostDataAbstractTpl< Scalar > | |
int | ndx_ |
int | nu_ |
Scalar | value_ |
VectorXs | grad_ |
MatrixXs | hess_ |
VectorRef | Lx_ |
Gradient \(\ell_x\). | |
VectorRef | Lu_ |
Gradient \(\ell_u\). | |
MatrixRef | Lxx_ |
Hessian \(\ell_{xx}\). | |
MatrixRef | Lxu_ |
Hessian \(\ell_{xu}\). | |
MatrixRef | Lux_ |
Hessian \(\ell_{ux}\). | |
MatrixRef | Luu_ |
Hessian \(\ell_{uu}\). | |
Data struct for composite costs.
Definition at line 15 of file composite-costs.hpp.
using aligator::CompositeCostDataTpl< Scalar >::Base = CostDataAbstractTpl<Scalar> |
Definition at line 17 of file composite-costs.hpp.
using aligator::CompositeCostDataTpl< Scalar >::StageFunctionData = StageFunctionDataTpl<Scalar> |
Definition at line 18 of file composite-costs.hpp.
using aligator::CompositeCostDataTpl< Scalar >::RowMatrixXs = Eigen::Matrix<Scalar, -1, -1, Eigen::RowMajor> |
Definition at line 19 of file composite-costs.hpp.
|
inline |
Definition at line 24 of file composite-costs.hpp.
aligator::CompositeCostDataTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
shared_ptr<StageFunctionData> aligator::CompositeCostDataTpl< Scalar >::residual_data |
Definition at line 21 of file composite-costs.hpp.
RowMatrixXs aligator::CompositeCostDataTpl< Scalar >::JtW_buf |
Definition at line 22 of file composite-costs.hpp.
VectorXs aligator::CompositeCostDataTpl< Scalar >::Wv_buf |
Definition at line 23 of file composite-costs.hpp.