Exit flags
The integer values that SCS can return are documented below and are defined
in the 'include/scs.h
file.
Status |
Value |
SCS constant name |
---|---|---|
Solved to desired tolerance |
1 |
|
Did not reach desired accuracy, returning best guess of solution |
2 |
|
Unfinished (never returned, only used internally) |
0 |
|
Primal unbounded / Dual infeasible (to desired tolerance) |
-1 |
|
Primal infeasible / Dual unbounded (to desired tolerance) |
-2 |
|
Indeterminate (numerical errors when recovering solution) DEPRECATED |
-3 |
|
Failed (usually a data input error) |
-4 |
|
Interrupted (received SIGINT) |
-5 |
|
Did not reach desired accuracy, returning best guess of certificate of primal unboundedness |
-6 |
|
Did not reach desired accuracy, returning best guess of certificate of primal infeasibility |
-7 |
|