Skip to content

Commit

Permalink
Handle new CyLP statuses from coin-or/CyLP#150 (#1707)
Browse files Browse the repository at this point in the history
(cherry picked from commit d390389)
  • Loading branch information
mkoeppe authored and rileyjmurray committed May 16, 2022
1 parent 55f1fa8 commit 4732838
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cvxpy/reductions/solvers/conic_solvers/cbc_conif.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class CBC(ConicSolver):
# Map of CBC status to CVXPY status.
STATUS_MAP_MIP = {'solution': s.OPTIMAL,
'relaxation infeasible': s.INFEASIBLE,
'problem proven infeasible': s.INFEASIBLE,
'relaxation abondoned': s.SOLVER_ERROR, # sic
'relaxation abandoned': s.SOLVER_ERROR,
'stopped on user event': s.SOLVER_ERROR,
'stopped on nodes': s.OPTIMAL_INACCURATE,
'stopped on gap': s.OPTIMAL_INACCURATE,
Expand Down

0 comments on commit 4732838

Please sign in to comment.