|Version 53 (modified by tkr, 2 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 can be used as a callable library or using a stand-alone executable. It can be called through AMPL (natively), GAMS (using the links provided by the Optimization Services and GAMSlinks projects), MPL (through the CoinMP project), AIMMS (through the AIMMSlinks project), or PuLP.
Cbc links to a number of other COIN projects for additional functionality, including:
- Clp (the default solver for LP relaxations)
- Cgl (for cut generation)
- CoinUtils (for reading input files and various utilities)
For more information on supported platforms, links to dependent projects, current version, and more, click here
- The latest stable version of Cbc is .
- The latest release version of Cbc is .
- Click here to see the current change log.
February 10, 2012
- Cbc 2.7.6 has been released.
November 3, 2011
- Cbc 2.7.5 has been released.
October 22, 2011
October 16, 2011
- Cbc 2.7.3 has been released.
September 20, 2011
- Cbc 2.7.2 has been released.
- Allow row/column names for GMPL models
- Added CbcModel::haveMultiThreadSupport() to indicate whether Cbc library has been compiled with multithread support
- Added CbcModel::waitingForMiniBranchAndBound() to indicate whether sub-MIP heuristic is currently running
- Cbc shell should work with readline if configured with --enable-gnu-packages
- Support for compressed input files (.gz, .bz2) is now enabled by default
- Fix problems with relative gap tolerance > 100% and further bugs
- Fixes for MSVC++ Version 9 files
- Minor fixes in buildsystem; update to BuildTools 0.7.1
- Click here to see changes from release 2.7.1
July 22, 2011
- Cbc 2.7.1 has been released.
July 18, 2011
- Cbc 2.7.0 has been released.
- License has been changed to the EPL.
- Support for MSVC++ version 10 added.
- Support for BuildTools version 0.7 to incorporate recent enhancements, including proper library versioning in Linux, prohibiting installation of private headers, etc.
- Updating externals to new stable versions of dependent projects.
- Improvements to heuristics.
- New options for cut generation.
- Improved reporting of results.
- Improvements to documentation.
- Minor bug fixes.
January 4, 2011
Cbc is written in C++ and is released as open source code under the Eclipse Public License (EPL). It is available from the COIN-OR initiative. The code has been written by primarily by John J. Forrest.
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.7 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.
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 Binary project provides a downloadable binary distribution of Cbc.
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.
- See the current README and INSTALL files to get started quickly.
- User's Guide (single page format)
- Cbc html documentation
- FAQ (Frequently Asked Questions)
- Lessons from the trenches
- Source code examples
- Success Stories
- Cbc Papers
- Cbc undocumented features.
- Setting up a Visual Studio project to use CBC