#include <alpaqa/inner/decl/panoc.hpp>
PANOC solver for ALM.
Definition at line 88 of file inner/decl/panoc.hpp.
Public Types | |
using | Params = PANOCParams |
using | DirectionProvider = DirectionProviderT |
using | Stats = PANOCStats |
using | ProgressInfo = PANOCProgressInfo |
Public Member Functions | |
PANOCSolver (Params params, PANOCDirection< DirectionProvider > &&direction_provider) | |
PANOCSolver (Params params, const PANOCDirection< DirectionProvider > &direction_provider) | |
Stats | operator() (const Problem &problem, crvec Σ, real_t ε, bool always_overwrite_results, rvec x, rvec y, rvec err_z) |
PANOCSolver & | set_progress_callback (std::function< void(const ProgressInfo &)> cb) |
std::string | get_name () const |
void | stop () |
const Params & | get_params () const |
Public Attributes | |
PANOCDirection< DirectionProvider > | direction_provider |
Private Attributes | |
Params | params |
AtomicStopSignal | stop_signal |
std::function< void(const ProgressInfo &)> | progress_cb |
using Params = PANOCParams |
Definition at line 90 of file inner/decl/panoc.hpp.
using DirectionProvider = DirectionProviderT |
Definition at line 91 of file inner/decl/panoc.hpp.
using Stats = PANOCStats |
Definition at line 92 of file inner/decl/panoc.hpp.
using ProgressInfo = PANOCProgressInfo |
Definition at line 93 of file inner/decl/panoc.hpp.
|
inline |
Definition at line 95 of file inner/decl/panoc.hpp.
|
inline |
Definition at line 98 of file inner/decl/panoc.hpp.
PANOCSolver< DirectionProviderT >::Stats operator() | ( | const Problem & | problem, |
crvec | Σ, | ||
real_t | ε, | ||
bool | always_overwrite_results, | ||
rvec | x, | ||
rvec | y, | ||
rvec | err_z | ||
) |
[in] | problem | Problem description |
[in] | Σ | Constraint weights \( \Sigma \) |
[in] | ε | Tolerance \( \varepsilon \) |
[in] | always_overwrite_results | Overwrite x , y and err_z even if not converged |
[in,out] | x | Decision variable \( x \) |
[in,out] | y | Lagrange multipliers \( y \) |
[out] | err_z | Slack variable error \( g(x) - z \) |
Definition at line 25 of file inner/panoc.hpp.
|
inline |
std::string get_name |
Definition at line 19 of file inner/panoc.hpp.
|
inline |
|
inline |
Definition at line 120 of file inner/decl/panoc.hpp.
|
private |
Definition at line 123 of file inner/decl/panoc.hpp.
|
private |
Definition at line 124 of file inner/decl/panoc.hpp.
|
private |
Definition at line 125 of file inner/decl/panoc.hpp.
PANOCDirection<DirectionProvider> direction_provider |
Definition at line 128 of file inner/decl/panoc.hpp.