<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi There,<div><br></div><div>Thanks to Ted Ralphs for answering my question last week about choosing a package for my project. &nbsp;I'm going to try using OSI and CLP. &nbsp;I have some very basic questions about getting set up. &nbsp;i haven't been able to find this information after looking around the mail lists.</div><div><br></div><div>1.) There is an Osi subdirectory when I install Clp. &nbsp;Is that all I need, or do I also need to install the Osi project? &nbsp;If I do install and build the Osi project there isn't mention of Clp. &nbsp;For example, the solver directories are:</div><div><br></div><div><font class="Apple-style-span" face="Courier">Osi OsiCommonTest OsiCpx OsiGlpk OsiGrb &nbsp;OsiMsk OsiSpx OsiXpr</font></div><div><br></div><div>so I'm guessing I just use what is installed by Clp.</div><div><br></div><div>2.) I can't get the examples in&nbsp;coin-Clp/Osi/examples to build. &nbsp;The README seems out of date. &nbsp;Could someone detail how I would build build.cpp, for example? (I'm using Mac OSX.) The file build.cpp starts out:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">// ________________________________________</span></font></div></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">#include &lt;iostream&gt;</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">#include OSIXXXhpp</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">#include "CoinPackedMatrix.hpp"</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">#include "CoinPackedVector.hpp"</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">int</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">main(void)</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">{</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">&nbsp;&nbsp; // Create a problem pointer. &nbsp;We use the base class here.</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">&nbsp;&nbsp; OsiSolverInterface *si;</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">&nbsp;&nbsp; // When we instantiate the object, we need a specific derived class.</span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">&nbsp;&nbsp; si = new OSIXXX;</span></font></div></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" face="Courier" size="2"><span class="Apple-style-span" style="font-size: 10px;">// ________________________________________</span></font></div><div><br></div><div>I'm not sure what to substitute for XXX. &nbsp;There is no file that I can find fitting OSIXXX.hpp &nbsp; There isn't a OsiClp.hpp either, which I might have guessed it would be. &nbsp;What class to I instantiate with the new statement?&nbsp;</div><div><br></div><div>3). &nbsp;Does using OSI and CLP together provide any benefits if I don't plan on using any other solvers? &nbsp;I realize the idea is to provide a layer of solver independence. &nbsp;If I'm not too worried about that, does it provide extra functionality over raw CLP? &nbsp;Is there any CLP functionality that is missing from OSI+CLP?</div><div><br></div><div>4). &nbsp;Are there any examples beyond&nbsp;coin-Clp/Osi/examples? &nbsp;It would be nice to have an example more like&nbsp;coin-Clp/Clp/examples/addRows.cpp that gives more detail on building a problem from scratch.&nbsp;</div><div><br></div><div>Thanks very much,</div><div>Craig Schmidt</div><div><br></div></body></html>