<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Lidung,<br>
    <br>
    you should catch the event SCIP_EVENTTYPE_NODEBRANCHED. At this
    point, you can access the newly created nodes via SCIPgetChildren().
    Make sure that SCIPgetNChildren() is positive, but that should
    always be the case.<br>
    You can query the domain change at a node via SCIPnodeGetDomChgs(),
    and then query the bound changes via SCIPdomchgGetBndChg. Note that
    the branching bound change should always be the first in the list,
    that is, at position 0.<br>
    <br>
    Happy branching,<br>
    Gregor<br>
    <br>
    <div class="moz-cite-prefix">Am 28.06.19 um 11:53 schrieb liding xu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALN83BEH=ojpoaFqgROUaJ7jLeWy6=91HFWEmzP61hMuXtnjXg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hello,</div>
        <div>   I am experimenting with branch and price algorithm, and
          I use the internal branch rules of scip. I want to detect
          which binary variable is fixed to zero in current node.
          Therefore, I implemented an event handler catching the
          tightening of local upper bound of variable list.</div>
        <div>   However, after the LP solved at the root node, the event
          handler detects many binary variables' local upper bounds are
          0s (because of propagators?). More confusingly after the first
          branch, the solver calls pricing plugin afterwards, and only
          one variable is fixed to 1.<br>
        </div>
        <div>   (1).There is no branch in the root at all, why does
          local upper bound change in here ?</div>
        <div>   (2). How can the event handler catch the 'real' fixed
          variable of the current node after branch?</div>
        <div><br>
        </div>
        <div>Best,</div>
        <div>Liding XU<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>