#include <alpaqa/inner/fista.hpp>
FISTA solver for ALM.
Public Types | |
| using | Problem = TypeErasedProblem<config_t> |
| using | Params = FISTAParams<config_t> |
| using | Stats = FISTAStats<config_t> |
| using | ProgressInfo = FISTAProgressInfo<config_t> |
| using | SolveOptions = InnerSolveOptions<config_t> |
Public Member Functions | |
| FISTASolver (const Params ¶ms) | |
| Stats | operator() (const Problem &problem, const SolveOptions &opts, rvec x, rvec y, crvec Σ, rvec err_z) |
| template<class P> | |
| Stats | operator() (const P &problem, const SolveOptions &opts, rvec x, rvec y, crvec Σ, rvec e) |
| template<class P> | |
| Stats | operator() (const P &problem, const SolveOptions &opts, rvec x) |
| FISTASolver & | set_progress_callback (std::function< void(const ProgressInfo &)> cb) |
| Specify a callable that is invoked with some intermediate results on each iteration of the algorithm. | |
| std::string | get_name () const |
| void | stop () |
| const Params & | get_params () const |
Public Attributes | |
| std::ostream * | os = &std::cout |
Private Types | |
| using | Helpers = detail::PANOCHelpers<config_t> |
Private Attributes | |
| Params | params |
| guanaqo::AtomicStopSignal | stop_signal |
| std::function< void(const ProgressInfo &)> | progress_cb |
| using Problem = TypeErasedProblem<config_t> |
| using Params = FISTAParams<config_t> |
| using Stats = FISTAStats<config_t> |
| using ProgressInfo = FISTAProgressInfo<config_t> |
| using SolveOptions = InnerSolveOptions<config_t> |
|
private |
|
inline |
| auto operator() | ( | const Problem & | problem, |
| const SolveOptions & | opts, | ||
| rvec | x, | ||
| rvec | y, | ||
| crvec | Σ, | ||
| rvec | err_z ) |
| [in] | problem | Problem description |
| [in] | opts | Solve options |
| [in,out] | x | Decision variable \( x \) |
| [in,out] | y | Lagrange multipliers \( y \) |
| [in] | Σ | Constraint weights \( \Sigma \) |
| [out] | err_z | Slack variable error \( g(x) - \Pi_D(g(x) + \Sigma^{-1} y) \) |
Definition at line 69 of file fista.tpp.
|
inline |
|
inline |
Specify a callable that is invoked with some intermediate results on each iteration of the algorithm.
|
inline |
|
private |
|
private |