So... CGL does depend on CLP. Ok. Hopefully someone can fix that someday.<br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">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>
<br>
</div>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&#39;s not how it was done...<br>
<br>
--Laci<br>
<div><div></div><div class="h5"><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&#39;<br>
&gt; /home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `OsiClpSolverInterface::getModelPtr() const&#39;<br>
&gt; /home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `ClpSimplex::factorize()&#39;<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make: *** [decomp_atm] Error 1<br>
&gt;<br>
<br>
</div></div>_______________________________________________<br>
Coin-discuss mailing list<br>
<a href="mailto:Coin-discuss@list.coin-or.org">Coin-discuss@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/coin-discuss" target="_blank">http://list.coin-or.org/mailman/listinfo/coin-discuss</a><br>
</blockquote></div><br>