HiGHS
HiGHS copied to clipboard
time_limit parameter doesn't work even if I turn off the presolve
I am modeling my MILP model in pyomo in python. It usually takes 10-20 seconds to solve these models. However in some cases, the model gets stuck in an infinite loop. So I turned off the presolve and the issue was resolved for a model but it is again stuck with different parameters but same model. (Even after turning off the presolve).
The time_limit parameter also doesn't seem to work.
options = { 'presolve': 'off', 'time_limit': 60, 'parallel': 'on' } Solver.highs_options = options
There are a couple of presolve rules that lack timeout checks. Similarly in the MIP solver. In the case of the presolve, I have the example in #2217, and for MIP, I'm adding better timeout handling (see #2214).
The problem persists even when I turn off the presolve.
options = { 'presolve': 'off', 'time_limit': 60, 'parallel': 'on' }
Solver.highs_options = options
Any idea about that?
Isn't that covered by https://github.com/ERGO-Code/HiGHS/issues/2214 ?
Oh, my bad. Thought it was about presolve.