Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
default_mip_solver: Handle 'InteractiveLP'
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Mar 28, 2016
1 parent b0a3c1c commit 3770be0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sage/numerical/backends/generic_backend.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1225,8 +1225,11 @@ def default_mip_solver(solver = None):
elif solver == "Glpk":
default_solver = solver

elif solver == "Interactivelp":
default_solver = solver

else:
raise ValueError("'solver' should be set to 'GLPK', 'Coin', 'CPLEX', 'Gurobi', 'CVXOPT', 'PPL' or None.")
raise ValueError("'solver' should be set to 'GLPK', 'Coin', 'CPLEX', 'CVXOPT', 'Gurobi', 'PPL', 'InteractiveLP', or None.")

cpdef GenericBackend get_solver(constraint_generation = False, solver = None):
"""
Expand Down

0 comments on commit 3770be0

Please sign in to comment.