<div dir="ltr">Hi<div><br></div><div>In this particular example, notice also that the function findSubtour gets called in CONSCHECK as well!</div><div><br></div><div>Best,</div><div>Felipe</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 15, 2020 at 5:23 PM Ambros Gleixner <<a href="mailto:gleixner@zib.de">gleixner@zib.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Naga,<br>
<br>
This could happen when a sub-SCIP heuristic is called in the tree.  You <br>
could check this by printing SCIPgetProbName(), since sub-SCIP <br>
heuristics typically append their name to the problem name of the <br>
original SCIP.<br>
<br>
Best,<br>
Ambros<br>
<br>
<br>
Am 15.07.20 um 16:51 schrieb Naga Venkata Chaitanya Gudapati - <br>
<a href="mailto:nagavenkata.gudapati@studio.unibo.it" target="_blank">nagavenkata.gudapati@studio.unibo.it</a>:<br>
> Hello SCIP community,<br>
> <br>
> I have created a constraint handler using the following piece of c++ code<br>
> <br>
> ObjConshdlr(scip, "subour", "subtour 3_constraints",<br>
>           1000000, -2000000, -2000000, 0, -1, 1, 0,<br>
>           FALSE, FALSE, TRUE, SCIP_PROPTIMING_BEFORELP, SCIP_PRESOLTIMING_FAST)<br>
> <br>
> I used the TSP example as foundation and followed the documentation here, <a href="https://www.scipopt.org/doc/html/classscip_1_1ObjConshdlr.php" rel="noreferrer" target="_blank">https://www.scipopt.org/doc/html/classscip_1_1ObjConshdlr.php</a><br>
> <br>
> I am keeping sepafreq at 0 so that the cuts are only added at the root node. But I noticed that some of the functions of the constraint handler like findSubtour are still getting called after the branching starts. Is there something else I have to do?<br>
> <br>
> Thanks for the help,<br>
> Naga<br>
> _______________________________________________<br>
> Scip mailing list<br>
> <a href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a><br>
> <a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
> <br>
<br>
-- <br>
Ambros Gleixner, Research Group Mathematical Optimization Methods at <br>
Zuse Institute Berlin, <a href="http://www.zib.de/gleixner" rel="noreferrer" target="_blank">http://www.zib.de/gleixner</a><br>
_______________________________________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a><br>
<a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer" target="_blank">https://listserv.zib.de/mailman/listinfo/scip</a><br>
</blockquote></div>