coin-or / pulp

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

timeLimit Parameter Ignored in pulp.FSCIP_CMD Solver #707

Open kami9811 opened 7 months ago

kami9811 commented 7 months ago

Details for the issue

What did you do?

I attempted to use the timeLimit parameter with the pulp.FSCIP_CMD solver to restrict the optimization time for solving a linear programming problem. The parameter was set as an argument while initializing the FSCIP_CMD solver instance.

What did you expect to see?

I expected the solver to halt the optimization process when the specified time limit was reached, thereby respecting the time constraint set by timeLimit.

What did you see instead?

Despite specifying the timeLimit parameter, the solver seems to ignore this constraint and continues the optimization process beyond the set time limit. The optimization completes, but it does so in a time frame that exceeds the specified limit, indicating that the timeLimit parameter is not being effectively enforced or recognized by the solver.

Useful extra information

In pulp.SCIP_CMD, the parameter is fine as expected.

What operating system are you using?

I'm using python version:

I installed PuLP via:

Did you also

pchtsp commented 6 months ago

Hello! thanks for the report. can you provide the logs of the solver? or a reproducible example?