Skip to content

[FileFormats.MPS] fix reading of free rows #2009

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

Merged
merged 2 commits into from
Sep 26, 2022
Merged

[FileFormats.MPS] fix reading of free rows #2009

merged 2 commits into from
Sep 26, 2022

Conversation

odow
Copy link
Member

@odow odow commented Sep 26, 2022

Currently, these changes mean we can read the example from #2006 without erroring, but we don't actually add the free rows to the model. I guess we could/should with a Interval(-Inf, Inf) set, but free rows in a MILP are pretty poor form. I added the free rows; they're in the file so we should respect the user.

Closes #2006

@odow odow added Type: Bug Submodule: FileFormats About the FileFormats submodule labels Sep 26, 2022
@odow odow merged commit 2708cb2 into master Sep 26, 2022
@odow odow deleted the od/fix-mps-free-row branch September 26, 2022 03:52
@iSoron
Copy link

iSoron commented Sep 26, 2022

Thanks, @odow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Submodule: FileFormats About the FileFormats submodule Type: Bug
Development

Successfully merging this pull request may close these issues.

MOI.FileFormats.MPS fails to read "dsbmip" from MIPLIB
2 participants