hooman650 / chuffed

The CP solver Chuffed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/////////////////////////////////////////////////////////////////
// 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

About

The CP solver Chuffed

License:MIT License


Languages

Language:C 84.5%Language:C++ 14.2%Language:Makefile 0.8%Language:CMake 0.5%