mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
Remove JuMPSolver.add_constraint check
This commit is contained in:
@@ -4,4 +4,5 @@ using Pkg
|
||||
Pkg.instantiate()
|
||||
Pkg.build("CPLEX")
|
||||
Pkg.build("Gurobi")
|
||||
Pkg.build("PyCall")
|
||||
Pkg.build("PyCall")
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user