I'm working on MathOptIIS, and I have a use-case:
- I want to terminate the solver if more than 10 seconds have passed AND it has a primal feasible solution.
I think we could fire this: every time we have a feasible primal solution and return a Bool indicating whether to terminate.
There's support for this in Gurobi, HiGHS, Ipopt, etc.
There's an open question on whether we should allow accessing the current best primal/dual bound.
I've seen a few similar questions on the forum over the years:
I'm working on MathOptIIS, and I have a use-case:
I think we could fire this: every time we have a feasible primal solution and return a
Boolindicating whether to terminate.There's support for this in Gurobi, HiGHS, Ipopt, etc.
There's an open question on whether we should allow accessing the current best primal/dual bound.
I've seen a few similar questions on the forum over the years: