|Version 29 (modified by stefan, 4 years ago) (diff)|
Welcome to the Cbc home page
Note that these project webpages are based on Wiki, which allows webusers to modify the content to correct typos, add information, or share their experience and tips with other users. You are welcome to contribute to these project webpages. To edit these pages or submit a ticket you must first register and login.
Cbc (Coin-or branch and cut) is an open-source mixed integer programming solver written in C++. It is primarily meant to be used as a callable library, but a basic, stand-alone executable version is also available. Cbc is a branch and cut code working with the LP solver Clp, and possibly dylp.
To celebrate 2009 and a new era there will be a new source of disinformation Cbc undocumented features.
Cbc is written in C++ and is released as open source code under the Common Public License (CPL). It is available from the COIN-OR initiative. The code has been written by primarily by John J. Forrest, who is the COIN project leader for Cbc. The latest stable version is .
You can obtain the Cbc source code either via subversion or in form of nightly generated tarballs. The recommended method is to use subversion because it makes it easier to obtain updates. The following commands may be used to obtain and build Cbc from the source code using subversion:
- svn co https://projects.coin-or.org/svn/Cbc/stable/2.4 coin-Cbc
- cd coin-Cbc
- ./configure -C
- make test
- make install
Step 1 issues the subversion command to obtain the source code. One should check page https://projects.coin-or.org/Cbc/browser/stable to find out the latest stable version number. Alternatively one can obtain the source code from the tarball directory, and downloading a file of the form Cbc_YYYYMMMDD.tgz.
Step 3 runs a configure script that generates the make file.
Step 4 builds the Cbc library and executable program.
Step 5 builds and runs the Cbc unit test program.
Step 6 Installs libraries, executables and header files in directories coin-Cbc/lib, coin-Cbc/bin and coin-Cbc/include.
The BuildTools project has additional details on downloading, building, and installing.
The MSVisualStudio project has information about building on Windows in the Microsoft Development Studio.
The Binary project provides a downloadable binary distribution of Cbc.
If you download the Cbc package, you get these additional projects.
If you have Doxygen available, you can build the html documentation by typing
in the directory coin-Cbc. Then open the file coin-Cbc/doxydoc/html/index.html with a browser. Note that this creates the documentation for the Cbc package. If you prefer to generate the documentation only for a subset of these projects, you can edit the file coin-Cbc/doxydoc/doxygen.conf to exclude directories (using the EXCLUDE variable, for example).
If Doxygen is not available, you can use the link to the Cbc html documentation listed below.
- User's Guide (single page format)
- Cbc html documentation
- FAQ (Frequently Asked Questions)
- Lessons from the trenches
- Source code examples
- Success Stories
- Cbc Papers