Skip to content

Commit

Permalink
Merge pull request #3 from licioromao/master
Browse files Browse the repository at this point in the history
Fixing issues between JuMP and GLPK
  • Loading branch information
mykelk authored Jun 12, 2024
2 parents c1099f2 + 1d3ed7a commit aa36798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/OVERTVerify.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module OVERTVerify
include("dependencies.jl")

export OvertQuery,

SinglePendulum,
ACC,
SimpleCar,
Expand Down
2 changes: 1 addition & 1 deletion src/overt_to_mip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end
function OvertMIP(overt_app::OverApproximation; threads=0, model=DEFAULT_MODEL)
if model == "glpk" || model == "GLPK"
model = Model(GLPK.Optimizer)
set_optimizer_attribute(model, "msg_lev", GLPK.MSG_OFF)
set_optimizer_attribute(model, "msg_lev", GLPK.GLP_MSG_OFF)
elseif model == "gurobi" || model == "Gurobi"
println("Calling OvertMIP constructor with Gurobi.")
model = gurobi_model(threads) # if Gurobi hasn't been loaded this will fail
Expand Down

0 comments on commit aa36798

Please sign in to comment.