3#include <alpaqa/export.h>
26 case Status::Busy:
return "Busy";
27 case Status::Converged:
return "Converged";
28 case Status::MaxTime:
return "MaxTime";
29 case Status::MaxIter:
return "MaxIter";
30 case Status::NotFinite:
return "NotFinite";
31 case Status::NoProgress:
return "NoProgress";
32 case Status::Interrupted:
return "Interrupted";
33 case Status::Exception:
return "Exception";
36 throw std::out_of_range(
"invalid value for alpaqa::SolverStatus");
std::ostream & operator<<(std::ostream &os, PANOCStopCrit s)
SolverStatus
Exit status of a numerical solver such as ALM or PANOC.
@ Interrupted
Solver was interrupted by the user.
@ MaxTime
Maximum allowed execution time exceeded.
@ Exception
An unexpected exception was thrown.
@ NoProgress
No progress was made in the last iteration.
@ MaxIter
Maximum number of iterations exceeded.
@ Converged
Converged and reached given tolerance.
@ NotFinite
Intermediate results were infinite or not-a-number.
constexpr const char * enum_name(LBFGSStepSize s)