wiki:WikiStart

Version 38 (modified by tkr, 8 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.

Introduction

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), or AIMMS (through the AIMMSlinks project).

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

Cbc was developed by John Forrest, now retired from IBM Research. The project is currently managed by Ted Ralphs and the rest of the Cbc team.


News

  • Click here to see the current change log.

January 18, 2010


Background/Download?

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. The latest stable version is Cbc-latest-stable.png.

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:

  1. svn co https://projects.coin-or.org/svn/Cbc/stable/2.4 coin-Cbc
  2. cd coin-Cbc
  3. ./configure -C
  4. make
  5. make test
  6. 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 Binary project provides a downloadable binary distribution of Cbc.


Doxygen Documentation

If you have Doxygen available, you can build the html documentation by typing

make doxydoc

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.


Documentation