MiniZinc is a free and open-source constraint modeling language.

You can use MiniZinc to model constraint satisfaction and optimization problems in a high-level, solver-independent way, taking advantage of a large library of pre-defined constraints. Your model is then compiled into FlatZinc, a solver input language that is understood by a wide range of solvers.

MiniZinc is developed at Monash University in collaboration with Data61 Decision Sciences and the University of Melbourne.

Getting started

To get started with MiniZinc, download the MiniZinc distribution and the IDE and have a look at the MiniZinc Handbook, which contains a tutorial introduction (also available in Chinese).

Learn MiniZinc

We have developed an extensive online course! Head over to Coursera's Basic Modeling for Discrete Optimization and Advanced Modeling for Discrete Optimization courses for an in-depth introduction to constraint modeling using MiniZinc.

The book Building Decision Support Systems using MiniZinc by Mark Wallace introduces readers to the principles of intelligent decision support systems (IDSS) and how to build them with MiniZinc.

Merchandise

Get your MiniZinc stickers, mugs, t-shirts etc. (sold at cost price)!

News