PANOC-ALM main
Nonconvex constrained optimization
solverstatus.hpp
Go to the documentation of this file.
1#pragma once
2#include <iosfwd>
3
4namespace pa {
5
7enum class SolverStatus {
8 Unknown = 0,
10 MaxTime,
11 MaxIter,
12 NotFinite,
15};
16
18const char *enum_name(SolverStatus);
20std::ostream &operator<<(std::ostream &, SolverStatus);
21
22} // namespace pa
Definition: alm.hpp:9
SolverStatus
Exit status of a numerical solver such as ALM or PANOC.
Definition: solverstatus.hpp:7
@ Interrupted
Solver was interrupted by the user.
@ Unknown
Initial value.
@ MaxTime
Maximum allowed execution time exceeded.
@ 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.
std::ostream & operator<<(std::ostream &os, PANOCStopCrit s)
const char * enum_name(PANOCStopCrit s)