Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings are issued despite all log levels being turned off #257

Open
baggepinnen opened this issue Mar 13, 2023 · 0 comments
Open

Warnings are issued despite all log levels being turned off #257

baggepinnen opened this issue Mar 13, 2023 · 0 comments

Comments

@baggepinnen
Copy link

Hello and thanks for this cool solver :)

I'm using it like this

solver = OptimizationMOI.MOI.OptimizerWithAttributes(Juniper.Optimizer,
    "nl_solver" => inner_solver, 
    "allow_almost_solved"=>true,
    "allow_almost_solved_integral"=>true,
    "log_levels"=>[],
)

and despite the fact that I've turned off all logging, I still get my terminal full of warnings like these

┌ Warning: Start value incumbent only almost locally solved. Disable with `allow_almost_solved_integral=false`
└ @ Juniper ~/.julia/packages/Juniper/0Z1vO/src/model.jl:74

could these warnings also be placed behind a check if the appropriate log level is selected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant