[Coin-discuss] does CGL depend on CLP?

Matthew Galati Matthew.Galati at sas.com
Thu May 21 21:32:43 EDT 2009


I am trying to use CPLEX as my LP solver. Does CGL depend on CLP? if so - why? CGL should be completely independent of any LP solver - right?


bla=;\
        for file in ATM_Main.o ATM_Instance.o ATM_DecompApp.o; do bla="$bla `echo $file`"; done; \
        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`
/home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `typeinfo for OsiClpSolverInterface'
/home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `OsiClpSolverInterface::getModelPtr() const'
/home/magh/COIN/coin-Decomp/build/lib/libCgl.so: undefined reference to `ClpSimplex::factorize()'
collect2: ld returned 1 exit status
make: *** [decomp_atm] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20090521/f52c91be/attachment.html>


More information about the Coin-discuss mailing list