[SCIP] Get cut information each time a cut is generated
Benjamin Müller
benjamin.mueller at zib.de
Tue May 2 08:14:28 CEST 2017
Dear Ziye,
you can add an event handler that catches the SCIP_EVENTTYPE_ROWADDEDLP
event and then prints the information of the cut in the
SCIP_DECL_EVENTEXEC callback. Here
http://scip.zib.de/doc/html/EVENT.php
you can find a guideline of how to write such an event handler. Please
also have a look at the scip/examples/Eventhdlr directory of SCIP, which
contains two different event handler examples. The first one catches the
event SCIP_EVENTTYPE_BESTSOLFOUND and the second one writes primal and
dual bounds for all open nodes into a file.
You can write me a pm if you need more help in writing your event handler.
Regards,
Benny
On 05/02/2017 03:33 AM, Ziye Tang wrote:
> Hi I'd like SCIP to perform the following task:
>
> each time a cut is generated which helps to get a significant increase
> in dual bound, I'd like the program to print out the cut type. Similarly
> for heuristics applied to my problem.
>
> Should I modify the existing separator plugin, or should I add my own
> callbacks. I've used C for some time but still new to writing callbacks
> (if needed in my task). Could you please give me some guidelines in
> implementing the above functionality? Thanks a lot.
>
> Cheers,
> Ziye
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
--
______________________________
Benjamin Müller
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
benjamin.mueller at zib.de
+49 30 841 85-195
More information about the Scip
mailing list