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

Problem read from MPS is solved incorrectly #511

Open
4 of 14 tasks
mkturtledude opened this issue Dec 6, 2021 · 1 comment
Open
4 of 14 tasks

Problem read from MPS is solved incorrectly #511

mkturtledude opened this issue Dec 6, 2021 · 1 comment

Comments

@mkturtledude
Copy link

mkturtledude commented Dec 6, 2021

(All files I refer to are attached here)

I'm trying to solve the problem in mkt.mps. If I solve it using CBC on the command line, it takes about 2 minutes and it finds a solution with value -170 (see cbc-output.txt).

However, if I solve it using PuLP as in example.py, it terminates immediately and PuLP claims to have found a solution of value 0. See pulp-output.txt.

Could it be a problem with reading the MPS file? I found issue #459, but I have no way of telling whether it's the same bug.

As you can see in the logs, PuLP is using CBC version 2.10.5, and on the command line I used 2.10.3. The PuLP version I'm using is 2.6.0.

Useful extra information

The info below often helps, please fill it out if you're able to. :)

What operating system are you using?

  • Windows: ( version: ___ )
  • Linux: ( _distro:_Ubuntu 20.04 )
  • Mac OS: ( version: ___ )
  • Other: ___

I'm using python version:

  • 2.7
  • 3.4
  • 3.5
  • 3.6
  • Other: 3.10_

I installed PuLP via:

Did you also

@mkturtledude
Copy link
Author

Any progress on this?

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

No branches or pull requests

1 participant