Welcome to the Clp home page
Note that these project web pages are based on Wiki, which allows users 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 web pages. To edit these pages or submit a ticket you must first register and login.
Clp (Coin-or linear programming) is an open-source linear 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.. It is designed to find solutions of mathematical optimization problems of the from
rowlower_bound <= Ax <= rowupper_bound
columnlower_bound <= x <= columnupper_bound
Clp 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 is written primarily by John J. Forrest, now retired from IBM Research. The project is currently managed by John Forrest, Julian Hall, and the rest of the Clp team.
You can obtain the Clp 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 Clp from the source code using subversion:
- svn co https://projects.coin-or.org/svn/Clp/stable/1.15 coin-Clp
- cd coin-Clp
- ./configure -C
- make test
- make install
Step 1 issues the subversion command to obtain the source code. Alternatively one can obtain the source code from the tarball directory, and down loading a file of the form Clp_YYYYMMMDD.tgz.
Step 3 runs a configure script that generates the make file.
Step 4 builds the Clp library and executable program.
Step 5 builds and runs the Clp unit test program.
Step 6 Installs libraries, executables and header files in directories coin-Clp/lib, coin-Clp/bin and coin-Clp/include.
The BuildTools project has additional details on down loading, building, and installing.
The MSVisualStudio project has information about building on Windows in the Microsoft Development Studio.
The Binary project provides a downloadable binary distributions of Clp.
If you download the Clp package, you get these additional projects.
If you have Doxygen available, you can build the html documentation by typing
in the directory coin-Clp. Then open the file coin-Clp/doxydoc/html/index.html with a browser. Note that this creates the documentation for the Clp package. If you prefer to generate the documentation only for a subset of these projects, you can edit the file coin-Clp/doxydoc/doxygen.conf to exclude directories (using the EXCLUDE variable, for example).
If Doxygen is not available, you can use the link to the Clp html documentation listed below.
- User's Guide (single page format)
- Clp html documentation
- FAQ (Frequently Asked Questions)
- Source code examples
- Success Stories