mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 17:38:51 -06:00
Remove JuMPSolver.add_constraint check
This commit is contained in:
@@ -4,4 +4,5 @@ using Pkg
|
|||||||
Pkg.instantiate()
|
Pkg.instantiate()
|
||||||
Pkg.build("CPLEX")
|
Pkg.build("CPLEX")
|
||||||
Pkg.build("Gurobi")
|
Pkg.build("Gurobi")
|
||||||
Pkg.build("PyCall")
|
Pkg.build("PyCall")
|
||||||
|
|
||||||
|
|||||||
@@ -222,8 +222,7 @@ end
|
|||||||
set_branching_priorities(self, priorities) =
|
set_branching_priorities(self, priorities) =
|
||||||
@warn "JuMPSolver: set_branching_priorities not implemented"
|
@warn "JuMPSolver: set_branching_priorities not implemented"
|
||||||
|
|
||||||
add_constraint(self, constraint) =
|
add_constraint(self, constraint) = nothing
|
||||||
error("JuMPSolver.add_constraint should never be called")
|
|
||||||
|
|
||||||
clear_warm_start(self) =
|
clear_warm_start(self) =
|
||||||
error("JuMPSolver.clear_warm_start should never be called")
|
error("JuMPSolver.clear_warm_start should never be called")
|
||||||
|
|||||||
Reference in New Issue
Block a user