wiki:WikiStart

Version 17 (modified by bjarni, 11 years ago) (diff)

--

CoinMP

CoinMP is a Windows dynamic linked library (DLL) that supports most of the functionality of CLP, CBC, and CGL (COIN-OR LP, COIN-OR Branch-and-Cut and Cut Generation Library) projects. This coinMP.dll distribution of the COIN-OR projects for Windows has the advantages of being: highly portable, does not require any compilation, easy to use, and can be used from any other Windows application. Later version of CoinMP will include librararies for various UNIX platforms.

Download CoinMP

The CoinMP binary dll can be downloaded directory from this link: https://projects.coin-or.org/CoinMP/browser/stable/1.0/CoinMP/msvc6/Release/CoinMP.dll?format=raw.

CoinMP uses the Subversion for source code control. The following subversion command can be used to obtain CoinMP

svn co https://projects.coin-or.org/svn/CoinMP/stable/1.0 Coin-CoinMP

There are many Subversion GUIs. One of them is TortoiseSVN. Here are the steps to obtain CoinMP using the TortoiseSVN client.

  • Install TortoiseSVN on your system.
  • Select a directory in windows explorer where you want to place your working copy. Right click to pop up the context menu and select the command SVN Checkout...
    Tortoise SVN Checkout Popup
  • In the URL of Repository field enter https://projects.coin-or.org/svn/CoinMP and in the Checkout directory field enter CoinMP.
    No image "tortoiseSvnCheckout.2.jpg" attached to WikiStart
  • When the checkout is complete the following window will be displayed:
    Tortoise SVN Checkout Finished


Using CoinMP

To use CoinMP in your own application, link in the CoinMP.lib file in the CoinMP\msvc6\Release folder and copy the DLL file to the same directory as your application. The header file CoinMP.h in the CoinMP\src folder contains the prototypes for all the functions in the DLL.

The interface to this library designed to be as simple as possible, but still provide similar functionality as other solver DLL's availble.


Building CoinMP

Windows

To build the 'CoinMP.dll', open the workspace file 'CoinMP.dsw' in the CoinMP\msvc6 folder and select 'Build CoinMP.dll' from the 'Build' menu in Visual Studio 6.

Currently CoinMP has only been tested for compilation with the MS Visual C++ 6.0 compiler.

Unix

  1. svn co https://projects.coin-or.org/svn/CoinMP/stable/1.0 Coin-CoinMP
  2. cd Coin-CoinMP
  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 CoinMP_YYYYMMMDD.tgz.

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

Step 4 builds the CoinMP library.

Step 5 builds and runs the CoinMP unit test program.

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

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


Included Projects

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


Attachments (4)

Download all attachments as: .zip