/CSIP

Reduced and simplified C interface to SCIP

Primary LanguageCMIT LicenseMIT

CSIP

An opinionated interface to the SCIP solver in the C language. A restricted subset of the features is chosen, with the goal of making SCIP more accessible to novice users and other programming languages.

The following constraint types are supported: linear, quadratic, SOS1 and SOS2.

Furthermore, users can implement a lazy constraint by implementing a single callback function.

Update (March 2019)

This package was initially developed as a crutch for SCIP.jl, but is no longer used there. From now on, CSIP can be consideren unmaintained.

Installation

SCIP and SoPlex

CSIP depends on the SCIP Optimization Suite. Starting with release 0.5.0, CSIP only supports SCIP Optimization Suite 5.0.0 or newer.

Download the SCIP Optimization Suite and extract the source files. Now choose a destination path for the installation and set the environment variable SCIPOPTDIR there. Build the shared library (containing SCIP and SoPlex) using cmake via

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$SCIPOPTDIR ..
make
make install

CSIP

Run make to build CSIP, which will produce a shared library libcsip.so.

Tests

To compile and execute the tests, run make test.