diff --git a/src/types.jl b/src/types.jl index e38d875a..29f4a09e 100644 --- a/src/types.jl +++ b/src/types.jl @@ -80,13 +80,16 @@ immutable SCSCone end -# TODO needs to be updated for newest constants const status_map = Dict{Int, Symbol}( + 2 => :UserLimit, 1 => :Optimal, - -2 => :Infeasible, -1 => :Unbounded, + -2 => :Infeasible, -3 => :Indeterminate, - -4 => :Error + -4 => :Error, + -5 => :Interrupted, + -6 => :UnboundedInaccurate, + -7 => :InfeasibleInaccurate ) type Solution