#include <interop/lbfgspp/include/alpaqa/lbfgsb-adapter.hpp>
L-BFGS-B solver for ALM.
Definition at line 31 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
Public Types | |
using | Problem = TypeErasedProblem< config_t > |
using | Params = ::LBFGSpp::LBFGSBParam< real_t > |
using | Stats = LBFGSBStats< config_t > |
using | SolveOptions = InnerSolveOptions< config_t > |
Public Member Functions | |
LBFGSBSolver (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 u, rvec y, crvec Σ, rvec e) |
std::string | get_name () const |
void | stop () |
const Params & | get_params () const |
Public Attributes | |
std::ostream * | os = &std::cout |
Private Attributes | |
Params | params |
AtomicStopSignal | stop_signal |
using Problem = TypeErasedProblem<config_t> |
Definition at line 35 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
Definition at line 36 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
using Stats = LBFGSBStats<config_t> |
Definition at line 37 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
using SolveOptions = InnerSolveOptions<config_t> |
Definition at line 38 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
|
inline |
Definition at line 40 of file lbfgspp/include/alpaqa/lbfgsb-adapter.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 15 of file lbfgsb-adapter.tpp.
|
inline |
Definition at line 50 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
std::string get_name |
Definition at line 10 of file lbfgsb-adapter.tpp.
|
inline |
Definition at line 57 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
|
inline |
Definition at line 59 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
|
private |
Definition at line 62 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
|
private |
Definition at line 63 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.
std::ostream* os = &std::cout |
Definition at line 66 of file lbfgspp/include/alpaqa/lbfgsb-adapter.hpp.