alpaqa 0.0.1
Nonconvex constrained optimization
Public Types | Public Member Functions | Public Attributes | List of all members
PolymorphicInnerSolverWrapper Struct Reference

#include <alpaqa/polymorphic-inner-solver.hpp>

Detailed Description

Definition at line 124 of file polymorphic-inner-solver.hpp.

+ Collaboration diagram for PolymorphicInnerSolverWrapper:

Public Types

using Stats = PolymorphicInnerSolverBase::Stats
 

Public Member Functions

 PolymorphicInnerSolverWrapper (std::shared_ptr< PolymorphicInnerSolverBase > &&solver)
 
Stats operator() (const Problem &problem, crvec Σ, real_t ε, bool always_overwrite_results, rvec x, rvec y, rvec err_z)
 
void stop ()
 
std::string get_name () const
 
py::object get_params () const
 

Public Attributes

std::shared_ptr< PolymorphicInnerSolverBasesolver
 

Member Typedef Documentation

◆ Stats

Definition at line 125 of file polymorphic-inner-solver.hpp.

Constructor & Destructor Documentation

◆ PolymorphicInnerSolverWrapper()

PolymorphicInnerSolverWrapper ( std::shared_ptr< PolymorphicInnerSolverBase > &&  solver)
inline

Definition at line 127 of file polymorphic-inner-solver.hpp.

Member Function Documentation

◆ operator()()

Stats operator() ( const Problem problem,
crvec  Σ,
real_t  ε,
bool  always_overwrite_results,
rvec  x,
rvec  y,
rvec  err_z 
)
inline

Definition at line 131 of file polymorphic-inner-solver.hpp.

◆ stop()

void stop ( )
inline

Definition at line 137 of file polymorphic-inner-solver.hpp.

◆ get_name()

std::string get_name ( ) const
inline

Definition at line 138 of file polymorphic-inner-solver.hpp.

◆ get_params()

py::object get_params ( ) const
inline

Definition at line 139 of file polymorphic-inner-solver.hpp.

Member Data Documentation

◆ solver

std::shared_ptr<PolymorphicInnerSolverBase> solver

Definition at line 126 of file polymorphic-inner-solver.hpp.


The documentation for this struct was generated from the following file: