#include <alpaqa/inner/zerofpr.hpp>
ZeroFPR solver for ALM.
Definition at line 140 of file zerofpr.hpp.
Public Types | |
using | Problem = TypeErasedProblem< config_t > |
using | Params = ZeroFPRParams< config_t > |
using | Direction = DirectionT |
using | Stats = ZeroFPRStats< config_t > |
using | ProgressInfo = ZeroFPRProgressInfo< config_t > |
using | SolveOptions = InnerSolveOptions< config_t > |
Public Member Functions | |
ZeroFPRSolver (const Params ¶ms) | |
ZeroFPRSolver (const Params ¶ms, Direction &&direction) | |
ZeroFPRSolver (const Params ¶ms, const Direction &direction) | |
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) |
ZeroFPRSolver & | 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 | |
Direction | direction |
std::ostream * | os = &std::cout |
Private Types | |
using | Helpers = detail::PANOCHelpers< config_t > |
Private Attributes | |
Params | params |
AtomicStopSignal | stop_signal |
std::function< void(const ProgressInfo &)> | progress_cb |
using Problem = TypeErasedProblem<config_t> |
Definition at line 144 of file zerofpr.hpp.
using Params = ZeroFPRParams<config_t> |
Definition at line 145 of file zerofpr.hpp.
using Direction = DirectionT |
Definition at line 146 of file zerofpr.hpp.
using Stats = ZeroFPRStats<config_t> |
Definition at line 147 of file zerofpr.hpp.
using ProgressInfo = ZeroFPRProgressInfo<config_t> |
Definition at line 148 of file zerofpr.hpp.
using SolveOptions = InnerSolveOptions<config_t> |
Definition at line 149 of file zerofpr.hpp.
|
private |
Definition at line 199 of file zerofpr.hpp.
|
inline |
Definition at line 151 of file zerofpr.hpp.
|
inline |
Definition at line 154 of file zerofpr.hpp.
|
inline |
Definition at line 156 of file zerofpr.hpp.
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 25 of file zerofpr.tpp.
|
inline |
|
inline |
Specify a callable that is invoked with some intermediate results on each iteration of the algorithm.
Definition at line 184 of file zerofpr.hpp.
std::string get_name | ( | ) | const |
Definition at line 20 of file zerofpr.tpp.
|
inline |
|
inline |
Definition at line 193 of file zerofpr.hpp.
|
private |
Definition at line 196 of file zerofpr.hpp.
|
private |
Definition at line 197 of file zerofpr.hpp.
|
private |
Definition at line 198 of file zerofpr.hpp.
Direction direction |
Definition at line 202 of file zerofpr.hpp.
std::ostream* os = &std::cout |
Definition at line 203 of file zerofpr.hpp.