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

Suppress infeasibility warning? #122

Closed
IainNZ opened this issue Mar 6, 2014 · 7 comments
Closed

Suppress infeasibility warning? #122

IainNZ opened this issue Mar 6, 2014 · 7 comments

Comments

@IainNZ
Copy link
Collaborator

IainNZ commented Mar 6, 2014

No description provided.

@mlubin
Copy link
Member

mlubin commented Mar 6, 2014

We can have a verbose keyword argument to Model, but it could confuse people who want to silence the solver too.

@IainNZ
Copy link
Collaborator Author

IainNZ commented Mar 6, 2014

how about argument on solve()?

@mlubin
Copy link
Member

mlubin commented Mar 6, 2014

That works, also with a specific name like warnNonOptimal

@joehuchette
Copy link
Contributor

Maybe we could just convert it to a Base.warn_once? Or only warn if the solver supports infeasibility rays w/o extra options

@mlubin
Copy link
Member

mlubin commented Mar 7, 2014

In interactive mode I can see these warnings being very useful for new users. I'd rather have them on by default with an option to disable.

@IainNZ
Copy link
Collaborator Author

IainNZ commented Mar 7, 2014

There is an isinteractive(), but yeah, would rather just have surpress option.

@IainNZ
Copy link
Collaborator Author

IainNZ commented Mar 8, 2014

I can submit a PR for this now

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

No branches or pull requests

3 participants