Hi, people.
When I use Cbc solver, the log level continues to appear.
using JuMP, Cbc
model = Model(Cbc.Optimizer)
set_attribute(model, "logLevel", 0)
@variable(model, x[1:2] >= 0)
@constraints model begin
c1, x[1] <= 20
c2, x[2] <= 40
c3, 5*x[1] + 4*x[2] <= 200
end
@objective(model, Max, 3*x[1] + 4*x[2])
optimize!(model)
Presolve 1 (-2) rows, 2 (0) columns and 2 (-2) elements
0 Obj -0 Dual inf 7.999998 (2)
1 Obj 184
Optimal - objective value 184
After Postsolve, objective 184, infeasibilities - dual 0 (0), primal 0 (0)
Optimal objective 184 - 1 iterations time 0.022, Presolve 0.02
The same occurs with:
set_silent(model)
What can I do?
Cbc solver used:
[[deps.Cbc]]
deps = [“Cbc_jll”, “MathOptInterface”, “SparseArrays”]
git-tree-sha1 = “55e2e9684102dd2f68c406a6a282b16883a7bc00”
uuid = “9961bab8-2fa3-5c5a-9d89-47fab24efd76”
version = “1.1.1”