coin-or / pulp

A python Linear Programming API
http://coin-or.github.io/pulp/
Other
2.01k stars 376 forks source link

PULP_CBC_CMD(msg=False, threads=4) give incorrect infeasibility status #717

Open tle4336 opened 6 months ago

tle4336 commented 6 months ago

Details for the issue

What did you do?

I am solving the same LP problem on Pycharm IDE on Windows 10 (64-bit) and Linux systems with PULP_CBC_CMD(msg=False, threads=24). On Windows 10, the Solver gives Optimal status, but on Linux system, it gives Infeasible status. I wondered if this is because of the difference in the random seeds in the two OS systems?

What did you expect to see?

The same optimal status from both solutions.

What did you see instead?

The difference in status from both solutions

Could you help investigate this issue? @pchtsp @stumitchell

Useful extra information Pulp: 2.7.0

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

What operating system are you using?

I'm using python version:

I installed PuLP via:

Did you also

pchtsp commented 6 months ago

do you have a reproducible example? an mps file/ json of the problem? Check here to see how you can get your example