<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Sakib,<br>
    <br>
    this constraint type is currently not yet supported by PySCIPOpt.
    You would need to write a new Conshdlr class that implements
    `exp()`. This might be a good starting point:
<a class="moz-txt-link-freetext" href="https://github.com/SCIP-Interfaces/PySCIPOpt/blob/master/tests/test_tsp.py">https://github.com/SCIP-Interfaces/PySCIPOpt/blob/master/tests/test_tsp.py</a><br>
    <br>
    all the best<br>
    Matthias<br>
    <br>
    <div class="moz-cite-prefix">On 07.04.2017 17:15, sakib mondal
      wrote:<br>
    </div>
    <blockquote
cite="mid:KL1PR0401MB1288267E43907E78C0FA0531BD0C0@KL1PR0401MB1288.apcprd04.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p>Hi,</p>
        <div style="color: rgb(0, 0, 0);">
          <div>
            <div id="divtagdefaultwrapper" dir="ltr"
              style="font-size:12pt; color:#000000;
              font-family:Calibri,Arial,Helvetica,sans-serif">
              <p><br>
              </p>
              <p>I am trying to use scip solver where one of the
                constraints need exponentiation of a variable.  For
                example,</p>
              <p><br>
              </p>
              <div><br>
              </div>
              <div><span style="font-size:12pt">       
                  model.addCons(quicksum(exp(x[i]) for i in I) <span>==1,
                    name="constraint")</span></span><br>
              </div>
              <div><br>
              </div>
              <div>Wondering what would be possible ways to add this.</div>
              <div><br>
              </div>
              <div>I tried searching for such examples, but could not
                find any.</div>
              <div><br>
              </div>
              <div>Would appreciate any help. I am using pyscipopt.</div>
              <div><br>
              </div>
              <div>Regards</div>
              <div>Sakib</div>
              <div><br>
              </div>
              <br>
            </div>
          </div>
        </div>
      </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="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
\__________________

Matthias Miltenberger
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
<a class="moz-txt-link-abbreviated" href="http://www.zib.de/miltenberger">www.zib.de/miltenberger</a>
<a class="moz-txt-link-abbreviated" href="mailto:miltenberger@zib.de">miltenberger@zib.de</a>
+49 (30) 841 85-245</pre>
  </body>
</html>