[Lemon-devel] Warnings with CLP/CBC
Alpár Jüttner
alpar at cs.elte.hu
Tue Jul 21 13:38:39 CEST 2009
Hi,
We have a long standing pain in the back related to using CBC with
LEMON:
https://lemon.cs.elte.hu/trac/lemon/ticket/242
This ticket is in "won't fix" status as the problem is actually in
CBC/CLP. I've created two ticket on their project pages, see
https://projects.coin-or.org/Clp/ticket/30
https://projects.coin-or.org/Cbc/ticket/71
Unfortunately the authors look less experienced (or motivated) in
killing those warnings. In fact, CBC itself emits a warnings when
compiled with gcc-4.3.3.
It is too bad because CBC/CLP is otherwise really a superb tool.
Thus I'm looking for a volunteer who could help them to fix these
anomalies in the CBC/CLP source. I haven't contacted the maintainer, but
I'm sure he will happily apply a patch like this.
Here is what should be done:
* Check out the CBC trunk from the SVN repo:
$ svn co https://projects.coin-or.org/svn/Cbc/stable/2.3 coin-Cbc-svn-trunk
I noticed that svn tends to get stuck somehow. It it happens,
stop is, step into the repo and issue an 'svn update' command.
Repeat is until the full repo is fetched.
* Compile it with gcc-4.3 (./configure -C;make), fix the warnings
* Install it (make install). This installs it "in place", thus you
don't need any special rights.
* Configure and make lemon using CBC
$ cd lemon-repo
$ ./configure --with-coin=/home/me/coin-Cbc-svn-trunk
$ make check
Fix the appearing CBC/CLP warnings.
* Create patches (a separate one for each subrepo) and send it to
me or directly to the maintainer.
Regards,
Alpar
More information about the Lemon-devel
mailing list