<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. I'm going to try using OSI and CLP. I have some very basic questions about getting set up. 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. Is that all I need, or do I also need to install the Osi project? If I do install and build the Osi project there isn't mention of Clp. For example, the solver directories are:</div><div><br></div><div><font class="Apple-style-span" face="Courier">Osi OsiCommonTest OsiCpx OsiGlpk OsiGrb 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 coin-Clp/Osi/examples to build. The README seems out of date. 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 <iostream></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;"> // Create a problem pointer. 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;"> 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;"> // 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;"> 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. There is no file that I can find fitting OSIXXX.hpp There isn't a OsiClp.hpp either, which I might have guessed it would be. What class to I instantiate with the new statement? </div><div><br></div><div>3). Does using OSI and CLP together provide any benefits if I don't plan on using any other solvers? I realize the idea is to provide a layer of solver independence. If I'm not too worried about that, does it provide extra functionality over raw CLP? Is there any CLP functionality that is missing from OSI+CLP?</div><div><br></div><div>4). Are there any examples beyond coin-Clp/Osi/examples? It would be nice to have an example more like coin-Clp/Clp/examples/addRows.cpp that gives more detail on building a problem from scratch. </div><div><br></div><div>Thanks very much,</div><div>Craig Schmidt</div><div><br></div></body></html>