pymzn.CBC

class pymzn.CBC(path='mzn-cbc', globals_dir='linear')

Interface to the COIN-OR CBC solver.

Parameters:
  • path (str) – The path to the mzn-cbc executable.
  • globals_dir (str) – The path to the directory for global included files.

Methods

solve(mzn_file, *dzn_files[, data, include, …]) Solve a MiniZinc/FlatZinc problem with a MIP Solver.