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

Don't hide the error being thrown by Gurobi when it fails to compute … #308

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

odow
Copy link
Member

@odow odow commented Apr 11, 2020

…the IIS

We shouldn't be hiding this error, because Gurobi behaves differently with continuous and mixed-integer models. See #307 for details.

image

Closes #307.

@odow
Copy link
Member Author

odow commented Apr 13, 2020

@ohmsweetohm1, thoughts?

@ValentinKaisermayer
Copy link

I like it! Now it is clearer:
ERROR: LoadError: Gurobi.GurobiError(10015, "Cannot compute IIS on a feasible model") in both the LP and the MIP case.

@odow odow merged commit 93f1573 into master Apr 14, 2020
@odow odow deleted the od/iis branch April 14, 2020 16:20
@odow
Copy link
Member Author

odow commented Apr 14, 2020

Great. We were trying to be too clever before.

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

Successfully merging this pull request may close these issues.

Error when retrieving the conflict status of a feasible MIP model
2 participants