<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Mahdi,<br>
    <br>
    you already have the correct method: SCIPgetSolVal. The
    documentation for its second parameter sol says "primal solution, or
    NULL for current LP/pseudo solution". So if you supply a solution,
    you get the value of the variable in that solution. For example, you
    could ask for the incumbent via SCIPgetBestSol() and pass it to the
    method.<br>
    However, if you pass NULL as solution, you will get the value of the
    variable in the current LP relaxation solution (if the LP was
    already solved at the current node).<br>
    <br>
    Best,<br>
    Gerald<br>
    <br>
    <div class="moz-cite-prefix">Am 17.02.2017 um 13:13 schrieb Mahdi
      Noorizadegan:<br>
    </div>
    <blockquote
      cite="mid:73849FC2-0F18-4125-A2DE-5CC7B039CF57@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hi,
      <div class=""><br class="">
      </div>
      <div class="">How can I get the value of a specific binary
        variable at current node of the branch-and-bound tree when I am
        solving the problem </div>
      <div class="">via the branch-and-price method?  </div>
      <div class="">I guess “<span style="font-family: Menlo; font-size:
          13px;" class="">SCIPgetSolVal</span>” gives the value of
        variables for the best integer solution.</div>
      <div class="">Right?</div>
      <div class=""><br class="">
      </div>
      <div class="">Regards,</div>
      <div class="">Mahdi</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>