[Scip] Interrupting solver and resume later
Gregor Hendel
hendel at zib.de
Tue Sep 30 18:18:01 CEST 2014
Hi,
one possibility to do so would be by means of an event handler which
catches a frequent event ( SCIP_EVENTTYPE_NODEEVENT ), check if your
time limit is exceeded by comparing against the
result of SCIPgetSolvingTime(scip), and if yes, check your bound conditions.
If the result matches your criteria, you can interrupt the solving
process calling SCIPinterrupt(scip), or not if you want to continue the
solving process.
Please see the documentation on How to implement Event Handlers
<http://scip.zib.de/doc/html/EVENT.php>.
Best regards
Gregor
Am 30.09.2014 um 10:55 schrieb M. Farham:
> Hello
> We are trying to solve pricing problem with CPLEX (or SoPLEX), and we
> want to interrupt solver after a certain amount of time and check UB
> and LB values. Then, if some conditions are not satisfied we resume
> solving the problem from where it was interrupted.
> Is there a way to do this in SCIP?
> Thanks in advance.
>
> Saleh
>
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20140930/0bea8669/attachment.html>
More information about the Scip
mailing list