aligator
0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
#include <aligator/core/results-base.hpp>
Public Types | |
using | Scalar = _Scalar |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
ResultsBaseTpl () | |
bool | isInitialized () const |
decltype(auto) | getFeedforward (std::size_t i) |
Get column expression of the primal-dual feedforward gain. | |
decltype(auto) | getFeedforward (std::size_t i) const |
Get column expression of the primal-dual feedforward gain. | |
decltype(auto) | getFeedback (std::size_t i) |
Get expression of the primal-dual feedback gains. | |
decltype(auto) | getFeedback (std::size_t i) const |
Get expression of the primal-dual feedback gains. | |
std::vector< MatrixXs > | getCtrlFeedbacks () const |
std::vector< VectorXs > | getCtrlFeedforwards () const |
void | printBase (std::ostream &oss) const |
virtual | ~ResultsBaseTpl ()=default |
Public Attributes | |
std::size_t | num_iters = 0 |
bool | conv = false |
Scalar | traj_cost_ = 0. |
Scalar | merit_value_ = 0. |
Scalar | prim_infeas = 0. |
Overall primal infeasibility measure/constraint violation. | |
Scalar | dual_infeas = 0. |
Overall dual infeasibility measure. | |
std::vector< MatrixXs > | gains_ |
Riccati gains. | |
std::vector< VectorXs > | xs |
States. | |
std::vector< VectorXs > | us |
Controls. | |
Protected Attributes | |
bool | m_isInitialized |
using aligator::ResultsBaseTpl< Scalar >::Scalar = _Scalar |
Definition at line 10 of file results-base.hpp.
|
inline |
Definition at line 35 of file results-base.hpp.
|
virtualdefault |
aligator::ResultsBaseTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inline |
Definition at line 36 of file results-base.hpp.
|
inline |
Get column expression of the primal-dual feedforward gain.
Definition at line 39 of file results-base.hpp.
|
inline |
Get column expression of the primal-dual feedforward gain.
Definition at line 44 of file results-base.hpp.
|
inline |
Get expression of the primal-dual feedback gains.
Definition at line 49 of file results-base.hpp.
|
inline |
Get expression of the primal-dual feedback gains.
Definition at line 54 of file results-base.hpp.
|
inline |
Definition at line 58 of file results-base.hpp.
|
inline |
Definition at line 68 of file results-base.hpp.
void aligator::ResultsBaseTpl< Scalar >::printBase | ( | std::ostream & | oss | ) | const |
Definition at line 88 of file results-base.hpp.
|
protected |
Definition at line 15 of file results-base.hpp.
std::size_t aligator::ResultsBaseTpl< Scalar >::num_iters = 0 |
Definition at line 18 of file results-base.hpp.
bool aligator::ResultsBaseTpl< Scalar >::conv = false |
Definition at line 19 of file results-base.hpp.
Scalar aligator::ResultsBaseTpl< Scalar >::traj_cost_ = 0. |
Definition at line 21 of file results-base.hpp.
Scalar aligator::ResultsBaseTpl< Scalar >::merit_value_ = 0. |
Definition at line 22 of file results-base.hpp.
Scalar aligator::ResultsBaseTpl< Scalar >::prim_infeas = 0. |
Overall primal infeasibility measure/constraint violation.
Definition at line 24 of file results-base.hpp.
Scalar aligator::ResultsBaseTpl< Scalar >::dual_infeas = 0. |
Overall dual infeasibility measure.
Definition at line 26 of file results-base.hpp.
std::vector<MatrixXs> aligator::ResultsBaseTpl< Scalar >::gains_ |
Riccati gains.
Definition at line 29 of file results-base.hpp.
std::vector<VectorXs> aligator::ResultsBaseTpl< Scalar >::xs |
States.
Definition at line 31 of file results-base.hpp.
std::vector<VectorXs> aligator::ResultsBaseTpl< Scalar >::us |
Controls.
Definition at line 33 of file results-base.hpp.