Access MiniZinc directly from Python
pip install minizincMiniZinc Python
The python package that allows you to access all of MiniZinc's functionalities directly from Python.
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
About The Project
MiniZinc Python provides an interface from Python to the MiniZinc driver. The most important goal of this project are to allow easy access to MiniZinc using native Python structures. This will allow you to more easily make scripts to run MiniZinc, but will also allow the integration of MiniZinc models within bigger (Python) projects. This module also aims to expose an interface for meta-search. For problems that are hard to solve, meta-search can provide solutions to reach more or better solutions quickly.
Getting Started
To get a MiniZinc Python up and running follow these simple steps.
Installation
MiniZinc Python can be installed by running pip install minizinc. It
requires MiniZinc 2.6+ and
Python 3.8+ to be installed on the system. MiniZinc
python expects the minizinc executable to be available on the executable path,
the $PATH environmental variable, or in a default installation location.