Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.
/ CSIP Public archive

Reduced and simplified C interface to SCIP

License

Notifications You must be signed in to change notification settings

scipopt/CSIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.