proxsuite-nlp
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
|
Store the history of results. More...
#include <proxsuite-nlp/helpers/history-callback.hpp>
Public Member Functions | |
history_callback (bool store_pd_vars=true, bool store_values=true, bool store_residuals=true) | |
void | call (const WorkspaceTpl< Scalar > &workspace, const ResultsTpl< Scalar > &results) |
Public Member Functions inherited from proxsuite::nlp::helpers::base_callback< Scalar > | |
virtual | ~base_callback ()=default |
Public Attributes | ||
Scalar | ||
struct { | ||
std::vector< VectorXs > xs | ||
std::vector< VectorXs > lams | ||
std::vector< VectorOfRef > lams_view | ||
std::vector< Scalar > values | ||
std::vector< Scalar > prim_infeas | ||
std::vector< Scalar > dual_infeas | ||
std::vector< VectorXs > ls_alphas | ||
std::vector< VectorXs > ls_values | ||
std::vector< Scalar > alphas | ||
Linesearch step-lengths. More... | ||
std::vector< Scalar > dmerit_dir | ||
} | storage | |
Protected Attributes | |
const bool | store_primal_dual_vars_ |
const bool | store_values_ |
const bool | store_residuals_ |
Store the history of results.
Definition at line 15 of file history-callback.hpp.
|
inline |
Definition at line 16 of file history-callback.hpp.
|
inlinevirtual |
Implements proxsuite::nlp::helpers::base_callback< Scalar >.
Definition at line 37 of file history-callback.hpp.
proxsuite::nlp::helpers::history_callback< Scalar >::Scalar |
Definition at line 21 of file history-callback.hpp.
std::vector<VectorXs> proxsuite::nlp::helpers::history_callback< Scalar >::xs |
Definition at line 24 of file history-callback.hpp.
std::vector<VectorXs> proxsuite::nlp::helpers::history_callback< Scalar >::lams |
Definition at line 25 of file history-callback.hpp.
std::vector<VectorOfRef> proxsuite::nlp::helpers::history_callback< Scalar >::lams_view |
Definition at line 26 of file history-callback.hpp.
std::vector<Scalar> proxsuite::nlp::helpers::history_callback< Scalar >::values |
Definition at line 27 of file history-callback.hpp.
std::vector<Scalar> proxsuite::nlp::helpers::history_callback< Scalar >::prim_infeas |
Definition at line 28 of file history-callback.hpp.
std::vector<Scalar> proxsuite::nlp::helpers::history_callback< Scalar >::dual_infeas |
Definition at line 29 of file history-callback.hpp.
std::vector<VectorXs> proxsuite::nlp::helpers::history_callback< Scalar >::ls_alphas |
Definition at line 30 of file history-callback.hpp.
std::vector<VectorXs> proxsuite::nlp::helpers::history_callback< Scalar >::ls_values |
Definition at line 31 of file history-callback.hpp.
std::vector<Scalar> proxsuite::nlp::helpers::history_callback< Scalar >::alphas |
Linesearch step-lengths.
Definition at line 33 of file history-callback.hpp.
std::vector<Scalar> proxsuite::nlp::helpers::history_callback< Scalar >::dmerit_dir |
Definition at line 34 of file history-callback.hpp.
struct { ... } proxsuite::nlp::helpers::history_callback< Scalar >::storage |
|
protected |
Definition at line 60 of file history-callback.hpp.
|
protected |
Definition at line 61 of file history-callback.hpp.
|
protected |
Definition at line 62 of file history-callback.hpp.