diff --git a/src/julia/setup.jl b/src/julia/setup.jl index e8b911e..2f3cc72 100644 --- a/src/julia/setup.jl +++ b/src/julia/setup.jl @@ -4,4 +4,5 @@ using Pkg Pkg.instantiate() Pkg.build("CPLEX") Pkg.build("Gurobi") -Pkg.build("PyCall") \ No newline at end of file +Pkg.build("PyCall") + diff --git a/src/julia/src/jump_solver.jl b/src/julia/src/jump_solver.jl index c041c12..9aae03a 100644 --- a/src/julia/src/jump_solver.jl +++ b/src/julia/src/jump_solver.jl @@ -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")