aligator
0.6.1
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 | |
HistoryCallbackTpl (bool store_pd_vars=false, bool store_values=true, bool store_residuals=true) | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
void | call (const Workspace &, const Results &results) |
Public Member Functions inherited from aligator::CallbackBaseTpl< Scalar > | |
virtual void | post_linesearch_call (boost::any) |
Call this after linesearch. | |
virtual | ~CallbackBaseTpl ()=default |
Public Attributes | ||
struct { | ||
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 | ||
} | storage | |
bool | store_primal_dual_vars_ | |
bool | store_values_ | |
bool | store_residuals_ | |
Store the history of results.
Definition at line 11 of file history-callback.hpp.
using aligator::HistoryCallbackTpl< Scalar >::Workspace = WorkspaceBaseTpl<Scalar> |
Definition at line 12 of file history-callback.hpp.
using aligator::HistoryCallbackTpl< Scalar >::Results = ResultsBaseTpl<Scalar> |
Definition at line 13 of file history-callback.hpp.
|
inline |
Definition at line 14 of file history-callback.hpp.
aligator::HistoryCallbackTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inlinevirtual |
Implements aligator::CallbackBaseTpl< Scalar >.
Definition at line 35 of file history-callback.hpp.
std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::xs |
Definition at line 22 of file history-callback.hpp.
std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::us |
Definition at line 23 of file history-callback.hpp.
std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::lams |
Definition at line 24 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::values |
Definition at line 25 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::merit_values |
Definition at line 26 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::prim_infeas |
Definition at line 27 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::dual_infeas |
Definition at line 28 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::inner_crits |
Definition at line 29 of file history-callback.hpp.
std::vector<std::size_t> aligator::HistoryCallbackTpl< Scalar >::al_index |
Definition at line 30 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::prim_tols |
Definition at line 31 of file history-callback.hpp.
std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::dual_tols |
Definition at line 32 of file history-callback.hpp.
struct { ... } aligator::HistoryCallbackTpl< Scalar >::storage |
bool aligator::HistoryCallbackTpl< Scalar >::store_primal_dual_vars_ |
Definition at line 57 of file history-callback.hpp.
bool aligator::HistoryCallbackTpl< Scalar >::store_values_ |
Definition at line 58 of file history-callback.hpp.
bool aligator::HistoryCallbackTpl< Scalar >::store_residuals_ |
Definition at line 59 of file history-callback.hpp.