-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Suppressing output for "default" solver #325
Comments
Related to #91. We currently don't have a way to set options in a solver-agnostic way. In this particular case you don't need to set any solver options, just redirect STDOUT before solving:
Not sure if we should implement this trick in JuMP or leave it for users. |
Ideally we would expose solver-independent parameters like this (e.g. |
Thanks Miles! I'll use that for now, although fwiw, it seems a little On Sat Nov 29 2014 at 9:05:15 PM Joey Huchette notifications@github.com
|
Added this to the FAQ. Closing in favor of #91. |
Hey all,
Is there a way to instruct the solver object to suppress logging information in a solver-agnostic way? For example, I can always write:
but this assumes the user's machine has Gurobi installed. If I write:
and let's JuMP sort it out on the backend, depending on the choice of solver, it dumps a ton of auxiliary stuff to the console. (This is particularly annoying if you're calling JuMP within the context of another program, or writing tests.)
Is there an existing solver-independent way of suppressing output? Ideally, I"d like to write something like:
and have JuMP both select the solver, and set the default option to suppress output. Thoughts?
Vishal
The text was updated successfully, but these errors were encountered: