alpaqa pantr
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
LBFGSBSolver Class Reference

#include <interop/lbfgsb/include/alpaqa/lbfgsb/lbfgsb-adapter.hpp>

Detailed Description

L-BFGS-B solver for ALM.

Definition at line 41 of file lbfgsb/include/alpaqa/lbfgsb/lbfgsb-adapter.hpp.

+ Collaboration diagram for LBFGSBSolver:

Public Types

using Problem = TypeErasedProblem< config_t >
 
using Params = LBFGSBParams
 
using Stats = LBFGSBStats
 
using SolveOptions = InnerSolveOptions< config_t >
 

Public Member Functions

 LBFGSBSolver (const Params &params)
 
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 Paramsget_params () const
 

Public Attributes

std::ostream * os = &std::cout
 

Private Attributes

Params params
 
AtomicStopSignal stop_signal
 

Member Typedef Documentation

◆ Problem

using Problem = TypeErasedProblem<config_t>

◆ Params

◆ Stats

using Stats = LBFGSBStats

◆ SolveOptions

using SolveOptions = InnerSolveOptions<config_t>

Constructor & Destructor Documentation

◆ LBFGSBSolver()

LBFGSBSolver ( const Params params)
inline

Member Function Documentation

◆ operator()() [1/2]

auto operator() ( const Problem problem,
const SolveOptions opts,
rvec  x,
rvec  y,
crvec  Σ,
rvec  err_z 
)
Parameters
[in]problemProblem description
[in]optsSolve options
[in,out]xDecision variable \( x \)
[in,out]yLagrange multipliers \( y \)
[in]ΣConstraint weights \( \Sigma \)
[out]err_zSlack variable error \( g(x) - \Pi_D(g(x) + \Sigma^{-1} y) \)

Definition at line 17 of file lbfgsb/src/lbfgsb-adapter.cpp.

+ Here is the call graph for this function:

◆ operator()() [2/2]

Stats operator() ( const P &  problem,
const SolveOptions opts,
rvec  u,
rvec  y,
crvec  Σ,
rvec  e 
)
inline

◆ get_name()

std::string get_name ( ) const

Definition at line 16 of file lbfgsb/src/lbfgsb-adapter.cpp.

◆ stop()

void stop ( )
inline

◆ get_params()

const Params & get_params ( ) const
inline

Member Data Documentation

◆ params

Params params
private

◆ stop_signal

AtomicStopSignal stop_signal
private

◆ os

std::ostream* os = &std::cout

The documentation for this class was generated from the following files: