alpaqa 1.0.0a11
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Types | Public Attributes | Static Public Attributes | List of all members
SolverResults Struct Reference

#include </__w/alpaqa/alpaqa/src/alpaqa/src/driver/results.hpp>

Detailed Description

Definition at line 20 of file results.hpp.

+ Collaboration diagram for SolverResults:

Public Types

using any_stat_t = std::variant< index_t, real_t, std::string, bool, vec, std::vector< real_t > >
 

Public Attributes

std::string status
 
bool success = false
 
alpaqa::EvalCounter evals
 
std::chrono::nanoseconds duration {}
 
std::string solver
 
real_t h = NaN
 
real_t δ = NaN
 
real_t ε = NaN
 
real_t γ = NaN
 
real_t Σ = NaN
 
vec solution {}
 
vec multipliers {}
 
vec multipliers_bounds {}
 
vec penalties {}
 
index_t outer_iter = -1
 
index_t inner_iter = -1
 
std::vector< std::pair< std::string, any_stat_t > > extra {}
 

Static Public Attributes

static constexpr real_t NaN = alpaqa::NaN<config_t>
 

Member Typedef Documentation

◆ any_stat_t

using any_stat_t = std::variant<index_t, real_t, std::string, bool, vec, std::vector<real_t> >

Definition at line 35 of file results.hpp.

Member Data Documentation

◆ NaN

constexpr real_t NaN = alpaqa::NaN<config_t>
staticconstexpr

Definition at line 22 of file results.hpp.

◆ status

std::string status

Definition at line 24 of file results.hpp.

◆ success

bool success = false

Definition at line 25 of file results.hpp.

◆ evals

Definition at line 26 of file results.hpp.

◆ duration

std::chrono::nanoseconds duration {}

Definition at line 27 of file results.hpp.

◆ solver

std::string solver

Definition at line 28 of file results.hpp.

◆ h

real_t h = NaN

Definition at line 29 of file results.hpp.

◆ δ

real_t δ = NaN

Definition at line 29 of file results.hpp.

◆ ε

real_t ε = NaN

Definition at line 29 of file results.hpp.

◆ γ

real_t γ = NaN

Definition at line 29 of file results.hpp.

◆ Σ

real_t Σ = NaN

Definition at line 29 of file results.hpp.

◆ solution

vec solution {}

Definition at line 30 of file results.hpp.

◆ multipliers

vec multipliers {}

Definition at line 31 of file results.hpp.

◆ multipliers_bounds

vec multipliers_bounds {}

Definition at line 32 of file results.hpp.

◆ penalties

vec penalties {}

Definition at line 33 of file results.hpp.

◆ outer_iter

index_t outer_iter = -1

Definition at line 34 of file results.hpp.

◆ inner_iter

index_t inner_iter = -1

Definition at line 34 of file results.hpp.

◆ extra

std::vector<std::pair<std::string, any_stat_t> > extra {}

Definition at line 37 of file results.hpp.


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