class pymzn.G12MIP(mzn_path='mzn-g12mip', fzn_path='flatzinc', globals_dir='linear')

Interface to the G12MIP solver.

  • mzn_path (str) – The path to the mzn executable.
  • fzn_path (str) – The path to the flatzinc executable.
  • globals_dir (str) – The path to the directory for global included files.


args(mzn_file, *dzn_files[, data, include, …]) Returns the command line arguments to start the solver
solve(*args[, timeout, all_solutions]) Solve a problem encoded with MiniZinc/FlatZinc.
solve_start(*args[, timeout, all_solutions]) Like solve, but returns a started Process