-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overrunning SQP Time Cap #16
Comments
As of #26 being merged both Gurobi and HiGHS have See this comment for more information, but essentially there's no way at present through This does mean that HiGHS will overrun the time cap when reached mid-iteration. Functionality to fix this will be added in HiGHS 2.0, so nought to do on this end until that release. |
You can tell HiGHS that it has only time T for a particular call to 'run()' by setting its time limit before that run to t0+T, where t0 is the HiGHS run time - obtained with the call h.getRunTime() - before the call. |
Nice, good to know about |
At the moment the SQP time cap is applied to each sub problem, rather than the problem as a whole. It's documented as if intended, but it's only like this because I was lazy when first writing it 😅
This is an easy fix, just needs some extra structure set up to keep a running total of how long has been spent in Gurobi/HiGHS.
The text was updated successfully, but these errors were encountered: