lanl-ansi / Juniper.jl

A JuMP-based Nonlinear Integer Program Solver
https://lanl-ansi.github.io/Juniper.jl/stable/
MIT License
179 stars 22 forks source link

Disable log output to console/REPL? #242

Closed agcmoser closed 2 years ago

agcmoser commented 2 years ago

Is there any way to disable all outputs to console/REPL during optimization when using Juniper?

Wikunia commented 2 years ago

Having log_levels set to an empty array should work. https://lanl-ansi.github.io/Juniper.jl/stable/options/#log_levels::Vector{Symbol}-[[:Table,:Info,:Options]]

agcmoser commented 2 years ago

setting log_levels to Symbol[] indeed did the trick. thank @Wikunia for the fast response