The stand-alone shared memory parallel MIP/MINLP solver FiberSCIP can be used easily via the fscip
command. Let's consider the following minimal example in LP format, a 4-variable problem with a single, general integer variable and three linear constraints:
Maximize obj: x1 + 2 x2 + 3 x3 + x4 Subject To c1: - x1 + x2 + x3 + 10 x4 <= 20 c2: x1 - 3 x2 + x3 <= 30 c3: x2 - 3.5 x4 = 0 Bounds 0 <= x1 <= 40 2 <= x4 <= 3 General x4 End
Saving this file as "simple.lp" allows to read it into FiberSCIP. Create a default parameter file for FiberSCIP:
# Quiet = FALSE # OutputParaParams = 4
The column starting with "#" is treated as a comment. Therefore, this parameter file contains all default settings. Save this file as "default.prm" and solve "simple.lp" with these settings by running the command:
This model is solved by using the maximal number of cores on your PC:
The solution file "sample.sol" will be written as below:
[ Final Solution ] objective value: 122.5 x4 3 (obj:1) x2 10.5 (obj:2) x3 19.5 (obj:3) x1 40 (obj:1)