<html><body>
<p>Matt,<br>
<br>
As the owner of Clp I plead innocent.  If you look at code you will see that only CglLAndP uses Clp.  Other cut generators which use tableau e.g. CglGomory use Coin code to do factorization.<br>
<br>
It would probably only be an hours work to use #ifdef COIN_HAS_CLP to dummy out CglLandP.  However it might be better to get the opinion of Pierre Bonami as I also notice #ifdef COIN_HAS_CPX and #ifdef COIN_HAS_XPR in the CglLandPSimplex code.<br>
<br>
John<br>
<br>
<img width="16" height="16" src="cid:1__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Matthew Galati ---05/21/2009 09:59:14 PM---So... CGL does depend on CLP. Ok. Hopefully someone can fi"><font color="#424282">Matthew Galati ---05/21/2009 09:59:14 PM---So... CGL does depend on CLP. Ok. Hopefully someone can fix that someday.</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">From:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Matthew Galati &lt;magh@lehigh.edu&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">To:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">ladanyi@watson.ibm.com</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Cc:</font></td><td width="100%" valign="middle"><img width="1" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">&quot;coin-discuss@list.coin-or.org&quot; &lt;coin-discuss@list.coin-or.org&gt;, Matthew Galati &lt;Matthew.Galati@sas.com&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Date:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">05/21/2009 09:59 PM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Subject:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF2DDFB7FBF88f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Re: [Coin-discuss] does CGL depend on CLP?</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="4">So... CGL does depend on CLP. Ok. Hopefully someone can fix that someday.<br>
</font><br>

<ul><font size="4">On Thu, 21 May 2009, Matthew Galati wrote:<br>
<br>
&gt; I am trying to use CPLEX as my LP solver. Does CGL depend on CLP? if<br>
&gt; so - why? CGL should be completely independent of any LP solver -<br>
&gt; right?<br>
</font><br>
<font size="4">Yes and no... The end result is independent. However, some cut<br>
generators (e.g., CglLandP) depend on being able to perform low level<br>
tableau manipulation. Those methods are not available through OSI, so<br>
the cut generator uses an LP solver that does support these functions,<br>
and clp is a natural choice there. Actually, even if those methods<br>
would be available through OSI some LP solvers (like interior point)<br>
do not support them, so CGL would have to link with clp (or some LP<br>
solver that does support tableau methods) as a backup solution.<br>
<br>
Granted, the code could have been written with a bunch of ifdefs, but<br>
apparently that's not how it was done...<br>
<br>
--Laci</font><br>
<font size="4"><br>
&gt;<br>
&gt;<br>
&gt; bla=;\<br>
&gt;        for file in ATM_Main.o ATM_Instance.o ATM_DecompApp.o; do bla=&quot;$bla `echo $file`&quot;; done; \<br>
&gt;        g++ -Wl,--rpath -Wl,/home/magh/COIN/coin-Decomp/build/lib -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas   -o decomp_atm $bla  -L/home/magh/COIN/coin-Decomp/build/lib -lDecomp -L/usr/local/cplex/lib/x86_rhel4.0_3.4/static_pic -lcplex -lpthread -lm  -lAlps `cat /home/magh/COIN/coin-Decomp/build/Decomp/../Alps/alps_addlibs.txt` -lOsiCpx -lcplex -lOsiCpx -lcplex -L/home/magh/COIN/coin-Decomp/build/lib -lCgl -lOsi -lCoinUtils `cat /home/magh/COIN/coin-Decomp/build/Decomp/../Cgl/cgl_addlibs.txt` `cat /home/magh/COIN/coin-Decomp/build/Decomp/../Osi/osi_addlibs.txt` `cat /home/magh/COIN/coin-Decomp/build/Decomp/../CoinUtils/coinutils_addlibs.txt`<br>
&gt; /home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `typeinfo for OsiClpSolverInterface'<br>
&gt; /home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `OsiClpSolverInterface::getModelPtr() const'<br>
&gt; /home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `ClpSimplex::factorize()'<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make: *** [decomp_atm] Error 1<br>
&gt;<br>
</font><br>
<font size="4">_______________________________________________<br>
Coin-discuss mailing list</font><u><font size="4" color="#0000FF"><br>
</font></u><a href="mailto:Coin-discuss@list.coin-or.org"><u><font size="4" color="#0000FF">Coin-discuss@list.coin-or.org</font></u></a><u><font size="4" color="#0000FF"><br>
</font></u><a href="http://list.coin-or.org/mailman/listinfo/coin-discuss" target="_blank"><u><font size="4" color="#0000FF">http://list.coin-or.org/mailman/listinfo/coin-discuss</font></u></a></ul>
<tt>_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
</tt><tt><a href="http://list.coin-or.org/mailman/listinfo/coin-discuss">http://list.coin-or.org/mailman/listinfo/coin-discuss</a></tt><tt><br>
</tt><br>
<br>
</body></html>