Remove JuMPSolver.add_constraint check

This commit is contained in:
2020-08-27 09:58:03 -05:00
parent 683b3c5893
commit 0658bf2722
2 changed files with 3 additions and 3 deletions

View File

@@ -5,3 +5,4 @@ Pkg.instantiate()
Pkg.build("CPLEX")
Pkg.build("Gurobi")
Pkg.build("PyCall")

View File

@@ -222,8 +222,7 @@ end
set_branching_priorities(self, priorities) =
@warn "JuMPSolver: set_branching_priorities not implemented"
add_constraint(self, constraint) =
error("JuMPSolver.add_constraint should never be called")
add_constraint(self, constraint) = nothing
clear_warm_start(self) =
error("JuMPSolver.clear_warm_start should never be called")