[Scip] Stopping the pricer

Gerald Gamrath gamrath at zib.de
Tue Sep 11 08:26:05 MEST 2012


Hi Jose,

SCIPinterruptSolve() should do what you want. It stops the solving 
process the same way as if you would press CTRL-C; the current best 
solution is already accepted and stays in the solution array of your 
sub-SCIP.

Best,
Gerald

Am 11.09.2012 08:06, schrieb Jose L Walteros:
> Hi all,
>
> I am currently using a integer program as a pricing problem for my 
> BPC, which I am also solving using SCIP. I am interested in stopping 
> the pricer when the first integer solution with a negative reduced 
> cost is produced. To do this, I am using the event handler 
> event_bestsol, which captures the event of a new best integer 
> solution. I managed to capture the event, however, I am not sure how 
> to ask subscip to stop and accept the current best solution within the 
> SCIP_DECL_EVENTEXEC(eventExecBestsol) method.
>
> Thanks for your help
>
> -Jose
>
>
> _______________________________________________
> 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/mailman/private/scip/attachments/20120911/6c3d2e7f/attachment.html


More information about the Scip mailing list