Skip to content

geoffchu/chuffed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages