<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Guillermo,<br>
    <br>
    the answer to your question depends on your use case. If you only
    want to interface SoPlex as an LP solver than you don't need the LPi
    or even SCIP in general. A very short example code is in example.cpp
    in the SoPlex distribution.<br>
    <br>
    If you want to interface using the LPi, though, there is no real
    example code for this - you would have to look at the available
    methods in lpi_spx2.cpp or in any other of the available LPis or
    look at their header file lpi.h.<br>
    <br>
    The advantage of the second method is that you can swap the LP
    solver without having to change your code. I would still recommend
    avoiding the additional overhead of the LP interface and going with
    option 1.<br>
    <br>
    cheers<br>
    Matthias <br>
    <br>
    <div class="moz-cite-prefix">On 22 Mar 2017 16:41, Guillermo
      Irisarri wrote:<br>
    </div>
    <blockquote
      cite="mid:3649bed129034a38ad9e8bd2200bc241@EXNODEP1.dev.oati.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hello Dear SCIP:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Is there an example showing the basics of
          using the lpi_spx2 interface routines? I looked into the
          Soplex example to interface from C++ and all is good. However
          it seems better to try to use the lpi/lp interface. Iis this
          true? If so, are there any examples?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Guillermo <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:navy">Guillermo
              D. Irisarri<o:p></o:p></span></b></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">Open
              Access Technology International, Inc.</span></i><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061"><br>
            </span></i><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">e-mail:
              Guillermo.Irisarri</span></i><a moz-do-not-send="true"
            href="mailto:P@oati.net" title="mailto:Pierre.Ruiz@oati.net"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">@oati.net</span></i></a><span
            style="color:#244061"><o:p></o:p></span></p>
        <p class="MsoNormal"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">3660
              Technology Drive NE<o:p></o:p></span></i></p>
        <p class="MsoNormal"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">Minneapolis,
              MN 55418<o:p></o:p></span></i></p>
        <p class="MsoNormal"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061"><o:p> </o:p></span></i></p>
        <p class="MsoNormal"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">Office:
              (763) 201 2030<o:p></o:p></span></i></p>
        <p class="MsoNormal"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">Cell:
              (612) 360 1630<o:p></o:p></span></i></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#244061">CONFIDENTIAL
              INFORMATION:  This email and any attachment(s) contain
              confidential and/or proprietary information of Open Access
              Technology International, Inc.  Do not copy or distribute
              without the prior written consent of OATI.  If you are not
              a named recipient to the message, please notify the sender
              immediately and do not retain the message in any form,
              printed or electronic.<o:p></o:p></span></i></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:navy">-----<o:p></o:p></span></i></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </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>
    <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>