Skip to content

Commit 23f8ce3

Browse files
committed
GLP_MSG_OFF
1 parent bb92e0f commit 23f8ce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/lp/benchmark.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function solve_lp()
2-
glpk_optimizer = optimizer_with_attributes(GLPK.Optimizer, "msg_lev" => GLPK.OFF)
2+
glpk_optimizer = optimizer_with_attributes(GLPK.Optimizer, "msg_lev" => GLPK.GLP_MSG_OFF)
33
model = Model(optimizer_with_attributes(
44
CS.Optimizer,
55
"lp_optimizer" => glpk_optimizer,
@@ -30,4 +30,4 @@ function solve_lp()
3030

3131
@objective(model, Max, sum(days[h, a] * 5 for h = 1:3, a = 1:3))
3232
optimize!(model)
33-
end
33+
end

0 commit comments

Comments
 (0)