pymzn.or_tools

pymzn.or_tools = <pymzn.mzn.solvers.ORTools object>

Interface to the OR-tools solver.

Parameters
  • path (str) – The path to the fzn-or-tools executable.

  • globals_dir (str) – The path to the directory for global included files. You should either copy or link the ‘share/minizinc_cp’ folder from the or-tools distribution into the minizinc library directory (with name ‘or-tools’) or provide the full path here.