Closed sschnug closed 6 years ago
Thanks for you interest ! It requires cbctrunk, the development version of CBC. Right now cbc trunk is more stable than cbcstable since only bug fixes are in trunk :) To compile and build and install cbc from trunk in ubuntu including Lapack and Blas for an improved performance in matrix operations:
sudo apt-get install gfortran subversion gcc g++ autotools-dev automake autoconf
svn co https://projects.coin-or.org/svn/Cbc/trunk cbctrunk
cbctrunk/ThirdParty/Blas/
./get.Blas
cd ../Lapack/
./get.Lapack
cd ../..
./configure --prefix=/usr --enable-cbc-parallel --enable-gnu-packages
make -j 4
Cheers
ops, just forgot to add a sudo make install at the end
Yeah, that works now! Thanks. --prefix=/usr
was what i was missing in earlier from-source attempts (besides the whole which code to use question)!
This looks interesting!
I tried to get
test/buildCBC.sh
to run, but no matter what i do, i fail!It reads as all i need to do is to prepare the necessary libs (Just add all required libraries of your selected solver.) and then call the build-script.
I'm using Ubuntu and installed
coinor-libcbc-dev
and the other ones (cgl, coinutils, ...). Two different OS-setups made me tryCbc 2.8.12
andCbc 2.9.9
.Both behave like this:
What am i doing wrong?
I used the current commit d680 and this is some OS-output: