<div dir="ltr"><div><div>Thanks to everyone for your answers. It's already solved. I changed a bit my code to use the C interface  and then I could find my bug.<br><br></div>Best,<br></div>Emanuel<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-14 4:59 GMT-03:00 Gerald Gamrath <span dir="ltr"><<a href="mailto:gamrath@zib.de" target="_blank">gamrath@zib.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Dear Emanuel,</p>
    <p>another guess: did you define your variables to be integral and
      does SCIP actually do any branching? If you did not define your
      variables to be integral and also did not add a constraint handler
      to check solutions (e.g., for integrality in the original space),
      your LP solution after pricing might just be declared optimal. If
      your separator should ensure a restriction on your feasible space,
      it should better be a constraint handler. A separator should only
      generate cuts to improve the LP relaxation, but should not be part
      of the model definition, i.e., should not change feasibility of
      any (integer) feasible solution.</p>
    <p>Best,<br>
      Gerald<br>
    </p><div><div class="h5">
    <br>
    <div class="m_1634985232634978701moz-cite-prefix">On 14.09.2017 09:23, Gregor Hendel
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      Dear Emanuel,<br>
      <br>
      I am sorry for your troubles. A good first step to debugging
      unexpected plugin behavior is to<br>
      add the define<br>
      <br>
      #define SCIP_DEBUG<br>
      <br>
      at the very top of the file src/scip/sepa.c. After recompiling
      SCIP and inputting a problem to optimize,<br>
      you should see a lot of prose explaining why SCIP decides to run
      (or not to run) your plugin.<br>
      <br>
      If you need further assistance, please add information about
      concrete parameter values for priority, maxrounds, frequency, and
      also the DELAYED flag.<br>
      <br>
      Kind regards,<br>
      Gregor<br>
      <br>
      <br>
      <br>
      <br>
      <div class="m_1634985232634978701moz-cite-prefix">Am 13.09.2017 um 17:29 schrieb
        Emanuel Delgadillo:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>Hi,<br>
                      <br>
                    </div>
                    I have implemented a branch-price with SCIP and I
                    want to add a separator. I coded it with C++
                    extending ObjSepa class and included it to scip, but
                    it is never called. <br>
                  </div>
                  I have output messages in it, and I have checked
                  maxrounds(root) and maxcuts(root) are not 0 and also
                  tried with different values for priority and
                  frequency. I have my own version of
                  includeDefaultPlugins, which doesn't include any other
                  default separator.<br>
                </div>
                I have already checked documentation, examples and
                previous similar threads, but I couldn't solve it. I
                also checked some files of source code (solve.c) to find
                what I'm doing wrong, without success.<br>
              </div>
              Any ideas?<br>
              <br>
            </div>
            Thanks in advance,<br>
          </div>
          Emanuel<br>
          <div>
            <div><br>
              <br>
              <div><br>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="m_1634985232634978701mimeAttachmentHeader"></fieldset>
        <br>
        <pre>______________________________<wbr>_________________
Scip mailing list
<a class="m_1634985232634978701moz-txt-link-abbreviated" href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a>
<a class="m_1634985232634978701moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip" target="_blank">https://listserv.zib.de/<wbr>mailman/listinfo/scip</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="m_1634985232634978701mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Scip mailing list
<a class="m_1634985232634978701moz-txt-link-abbreviated" href="mailto:Scip@zib.de" target="_blank">Scip@zib.de</a>
<a class="m_1634985232634978701moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip" target="_blank">https://listserv.zib.de/<wbr>mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
Scip mailing list<br>
<a href="mailto:Scip@zib.de">Scip@zib.de</a><br>
<a href="https://listserv.zib.de/mailman/listinfo/scip" rel="noreferrer" target="_blank">https://listserv.zib.de/<wbr>mailman/listinfo/scip</a><br>
<br></blockquote></div><br></div>