aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Store the history of results. More...
#include <aligator/helpers/history-callback.hpp>
Public Types | |
using | Workspace = WorkspaceBaseTpl<Scalar> |
using | Results = ResultsBaseTpl<Scalar> |
Public Types inherited from aligator::CallbackBaseTpl< Scalar > | |
using | Workspace = WorkspaceBaseTpl<Scalar> |
using | Results = ResultsBaseTpl<Scalar> |
Public Member Functions | |
template<typename Solver > | |
HistoryCallbackTpl (Solver *solver, bool store_pd_vars=false, bool store_values=true) | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
void | call (const Workspace &, const Results &results) |
Public Member Functions inherited from aligator::CallbackBaseTpl< Scalar > | |
virtual | ~CallbackBaseTpl ()=default |
Public Attributes | |
std::vector< std::vector< VectorXs > > | xs |
std::vector< std::vector< VectorXs > > | us |
std::vector< std::vector< VectorXs > > | lams |
std::vector< Scalar > | values |
std::vector< Scalar > | merit_values |
std::vector< Scalar > | prim_infeas |
std::vector< Scalar > | dual_infeas |
std::vector< Scalar > | inner_crits |
std::vector< std::size_t > | al_index |
std::vector< Scalar > | prim_tols |
std::vector< Scalar > | dual_tols |
bool | store_primal_dual_vars_ |
bool | store_values_ |
Store the history of results.
Definition at line 14 of file history-callback.hpp.
using aligator::HistoryCallbackTpl< Scalar >::Workspace = WorkspaceBaseTpl<Scalar> |
Definition at line 15 of file history-callback.hpp.
using aligator::HistoryCallbackTpl< Scalar >::Results = ResultsBaseTpl<Scalar> |
Definition at line 16 of file history-callback.hpp.
|
inline |
Definition at line 18 of file history-callback.hpp.
aligator::HistoryCallbackTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
virtual |
Implements aligator::CallbackBaseTpl< Scalar >.
std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::xs |
Definition at line 25 of file history-callback.hpp.
std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::us |
Definition at line 26 of file history-callback.hpp.
std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::lams |
Definition at line 27 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::values |
Definition at line 28 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::merit_values |
Definition at line 29 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::prim_infeas |
Definition at line 30 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::dual_infeas |
Definition at line 31 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::inner_crits |
Definition at line 32 of file history-callback.hpp.
std::vector<std::size_t> aligator::HistoryCallbackTpl< Scalar >::al_index |
Definition at line 33 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::prim_tols |
Definition at line 34 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::dual_tols |
Definition at line 35 of file history-callback.hpp.
bool aligator::HistoryCallbackTpl< Scalar >::store_primal_dual_vars_ |
Definition at line 39 of file history-callback.hpp.
bool aligator::HistoryCallbackTpl< Scalar >::store_values_ |
Definition at line 40 of file history-callback.hpp.