-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME
35 lines (26 loc) · 968 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/////////////////////////////////////////////////////////////////
// Compilation //
/////////////////////////////////////////////////////////////////
// To compile the parallel version:
// Set parallel flag in parallel/chuffed/core/options.h:
#define PARALLEL
// Create new build directory
mkdir par_build
cd par_build
// Run cmake and set correct mpi compiler
cmake -DCMAKE_CXX_COMPILER=mpicxx ../parallel
// Run make
make
/////////////////////////////////////////////////////////////////
// Running the solver //
/////////////////////////////////////////////////////////////////
// The parameter "-parallel=true" is mandatory,
// and the parameter "-f" is highly recommended.
mpirun -np 8 ./fzn_chuffed -parallel=true -f <flatzinc-file>
// Possible options:
// Guesses on objective value:
-greedyInit=true
// Just run the portfolio version
-purePortfolio=true
// Mix work stealing and portfolio solving:
-mixWS_Portfolio=true