wiki:WikiStart

Version 14 (modified by anonymous, 13 years ago) (diff)

--

COIN Binary Distribution Project

This project is a fledgling effort to distribute binaries built from the source code of various COIN-OR projects. The goal is to provide libraries and executables precompiled on the most popular platforsm for those users who do not need to look at or modify the source code of the COIN projects themselves. Currently supported platforms are

  • Microsoft Windows with the Visual C++ 7 (.NET) compiler
  • Microsoft Windows with the Visual C++ 6 compiler
  • Linux with the g++ 3 compiler on ix86 architectures
  • Linux with the g++ 4 compiler on ix86 architectures
  • Mac OS X with the g++ 4 compiler on Power PC architectures

Projects currently included in the distribution are

New projects will be added as the project matures.

To download, see Coin Binaries

For installation help, see InstallationInstructions.

For the current strawman proposal for running the project, see BinaryDistributionRequirements.

Using the Coin Binaries

It is possible to use this distribution "out-of-the-box" to solve linear and integer programs. Nothing needs to be compiled or linked. In this distribution there is a bin directory that contains the executable clp (or clp.exe for Windows) that can be used to solve linear and integer programs. Here is a simple example of this program:

clp ../examples/p0033.mps -primalsimplex

In order to get more detail on inputs to clp, execute clp and then type in ?.

This distribution also contains key COIN libraries and it is possible to write a main method that links with the libraries. An a very simple example of how to use the libraries is in the attached file examples.zip posted below. When uncompressed you will find four files in an examples directory. They are Makefile.Osiexample, NMakefile.Osiexample, Osiexample.cpp, and p0033.mps. The file Osiexample contains the main method. This main method is very trivial and creates an Osi Solver Interface (in this case clp), reads a linear programming instance in MPS format from the command line and solves the linear program. The result is written to standard out. Although, simple, it is a good illustration of using COIN libraries.

In order to build this executable, called Osiexample, use one of the two makefiles. The makefile Makefile.Osiexample is for Linux or Mac OS X users. It will work with GNU Make. Simply type in

make -f Makefile.Osiexample

It is assumed that your environment variable LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH for Mac OS X) points to the Coin libraries contained in this distribution. Also, you should put the Examples directory in the root directory of the distribution.

Happy computing from the COIN Binary Distribution Project team.

JP Fasano Kipp Martin Ted Ralphs

Trac Starting Points

For a complete list of local wiki pages, see TitleIndex.

Trac is brought to you by Edgewall Software, providing professional Linux and software development services to clients worldwide. Visit http://www.edgewall.com/ for more information. []

Attachments (1)

Download all attachments as: .zip