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

skip PL bounds when reading MPS file #746

Merged
merged 1 commit into from
May 27, 2024

Conversation

rutger-van-beek-cqm
Copy link
Contributor

Fixes #635

Some software writes MPS-files including PL bounds, but without a value. When reading these lines the readMPSSetBounds raises an IndexError, when trying to read the value.

PL-bounds can be ignored. This PR implements a case in the readMPSSetBounds to ignore the PL-type bounds.

Next to that a test is added, to test whether a MPS-file containing a PL-bound can be read.

@pchtsp pchtsp merged commit 3d792b5 into coin-or:master May 27, 2024
20 checks passed
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

Successfully merging this pull request may close these issues.

PuLP does not recognize PL bound type in .mps files
2 participants