alpaqa 0.0.1
Nonconvex constrained optimization
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
StructuredPANOCLBFGSSolver Class Reference

#include <alpaqa/inner/decl/structured-panoc-lbfgs.hpp>

Detailed Description

Second order PANOC solver for ALM.

Definition at line 96 of file decl/structured-panoc-lbfgs.hpp.

+ Collaboration diagram for StructuredPANOCLBFGSSolver:

Public Types

using Params = StructuredPANOCLBFGSParams
 
using Stats = StructuredPANOCLBFGSStats
 
using ProgressInfo = StructuredPANOCLBFGSProgressInfo
 

Public Member Functions

 StructuredPANOCLBFGSSolver (Params params, LBFGSParams lbfgsparams)
 
Stats operator() (const Problem &problem, crvec Σ, real_t ε, bool always_overwrite_results, rvec x, rvec y, rvec err_z)
 
StructuredPANOCLBFGSSolverset_progress_callback (std::function< void(const ProgressInfo &)> cb)
 
std::string get_name () const
 
void stop ()
 
const Paramsget_params () const
 

Public Attributes

LBFGS lbfgs
 

Private Attributes

Params params
 
AtomicStopSignal stop_signal
 
std::function< void(const ProgressInfo &)> progress_cb
 

Member Typedef Documentation

◆ Params

Definition at line 98 of file decl/structured-panoc-lbfgs.hpp.

◆ Stats

Definition at line 99 of file decl/structured-panoc-lbfgs.hpp.

◆ ProgressInfo

Definition at line 100 of file decl/structured-panoc-lbfgs.hpp.

Constructor & Destructor Documentation

◆ StructuredPANOCLBFGSSolver()

StructuredPANOCLBFGSSolver ( Params  params,
LBFGSParams  lbfgsparams 
)
inline

Definition at line 102 of file decl/structured-panoc-lbfgs.hpp.

Member Function Documentation

◆ operator()()

StructuredPANOCLBFGSSolver::Stats operator() ( const Problem problem,
crvec  Σ,
real_t  ε,
bool  always_overwrite_results,
rvec  x,
rvec  y,
rvec  err_z 
)
inline
Parameters
[in]problemProblem description
[in]ΣConstraint weights \( \Sigma \)
[in]εTolerance \( \varepsilon \)
[in]always_overwrite_resultsOverwrite x, y and err_z even if not converged
[in,out]xDecision variable \( x \)
[in,out]yLagrange multipliers \( y \)
[out]err_zSlack variable error \( g(x) - z \)

Definition at line 18 of file structured-panoc-lbfgs.hpp.

+ Here is the call graph for this function:

◆ set_progress_callback()

StructuredPANOCLBFGSSolver & set_progress_callback ( std::function< void(const ProgressInfo &)>  cb)
inline

Definition at line 114 of file decl/structured-panoc-lbfgs.hpp.

+ Here is the call graph for this function:

◆ get_name()

std::string get_name ( ) const
inline

Definition at line 119 of file decl/structured-panoc-lbfgs.hpp.

◆ stop()

void stop ( )
inline

Definition at line 121 of file decl/structured-panoc-lbfgs.hpp.

+ Here is the call graph for this function:

◆ get_params()

const Params & get_params ( ) const
inline

Definition at line 123 of file decl/structured-panoc-lbfgs.hpp.

Member Data Documentation

◆ params

Params params
private

Definition at line 126 of file decl/structured-panoc-lbfgs.hpp.

◆ stop_signal

AtomicStopSignal stop_signal
private

Definition at line 127 of file decl/structured-panoc-lbfgs.hpp.

◆ progress_cb

std::function<void(const ProgressInfo &)> progress_cb
private

Definition at line 128 of file decl/structured-panoc-lbfgs.hpp.

◆ lbfgs

LBFGS lbfgs

Definition at line 131 of file decl/structured-panoc-lbfgs.hpp.


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