coin-or / pulp

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

PULP_CBC_CMD timeLimit Status #649

Open fyx99 opened 1 year ago

fyx99 commented 1 year ago

Details for the issue

What did you do?

I used the maxSeconds Argument for PULP_CBC_CMD solver and it worked. But the status is often times (not all the time) set to Optimal.

What did you expect to see?

I expected Pulp set it to 'Not solved' when terminating early - as it is also printed in the logs.

What did you see instead?

I saw status Optimal. But in the logs it says Result - Stopped on time limit

Useful extra information

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