wiki:WikiStart
close Warning: Can't synchronize with repository "(default)" (/var/www/svn/Osi.new does not appear to be a Subversion repository.). Look in the Trac log for more information.

Welcome to the Osi 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

Osi (Open Solver Interface) provides an abstract base class to a generic linear programming (LP) solver, along with derived classes for specific solvers. Many applications may be able to use the Osi to insulate themselves from a specific LP solver. The following is a list of derived Osi classes:

SolverDerived Class
ClpOsiClp?
CPLEXOsiCpx?
DyLPOsiDylp?
FortMPOsiFmp?
GLPKOsiGlpk?
MOSEKOsiMsk?
OSLOsiOsl?
SoPlexOsiSpx?
SYMPHONYOsiSym?
VolOsiVol?
XPRESS-MPOsiXpr?

Background/Download?

Osi 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.

You can obtain the Osi 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/Osi/trunk coin-Osi
  2. cd coin-Osi
  3. ./configure -C
  4. make
  5. make test
  6. 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 Osi_YYYYMMMDD.tgz.

Step 3 runs a configure script that generates the make file.

Step 4 builds the Osi library and executable program.

Step 5 builds and runs the Osi unit test program.

Step 6 Installs libraries, executables and header files in directories coin-Osi/lib, coin-Osi/bin and coin-Osi/include.

The BuildTools project has additional details on down loading, building, and installing.


Included Projects

If you download the Osi package, you get these additional projects.


Doxygen Documentation

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

make doxydoc

in the directory coin-Osi. Then open the file coin-Osi/doxydoc/html/index.html with a browser. Note that this creates the documentation for the Osi package. If you prefer to generate the documentation only for a subset of these projects, you can edit the file coin-Osi/doxydoc/doxygen.conf to exclude directories (using the EXCLUDE variable, for example).

If Doxygen is not available, you can use the link to the Osi html documentation listed below.


Documentation


Presentations/Tutorials?


Last modified 11 years ago Last modified on Jun 12, 2006 8:32:37 AM