jump-dev / HiGHS.jl

A Julia interface to the HiGHS solver
https://highs.dev
MIT License
108 stars 15 forks source link

time_limit is not respected #162

Closed mzy2240 closed 1 year ago

mzy2240 commented 1 year ago

Recently I found when solving MIP, using set_time_limit_sec to set time limit does not strictly enforce the time limit. For example, right now I am running an optimization with time_limit set as 900 seconds, it is still running now after half hour. Did not encounter the same issue in COPT or AmplNLWriter-compatible solvers.

odow commented 1 year ago

Duplicate of https://github.com/jump-dev/HiGHS.jl/issues/125

See

odow commented 1 year ago

I am running an optimization with time_limit set as 900 seconds, it is still running now after half hour

Do you have the log so we can see where it got stuck?

odow commented 1 year ago

Do you have an MPS that replicates the issue? Otherwise I will close in favor of the upstream issues.

odow commented 1 year ago

Closing because this is not a bug in HiGHS.jl.