Problem submissions for the 2024 MiniZinc Challenge are currently open! See the call for problems for more information.

The MiniZinc compiler and IDE

The compiler is the heart of the MiniZinc tool chain. It translates constraint models into FlatZinc, a language that is understood by a wide range of solvers.

MiniZinc comes with a simple Integrated Development Environment, the MiniZinc IDE, which makes it easy to develop and run constraint models.

Solvers

A number of solvers are included out of the box:

MiniZinc can also interface with the following solvers if installed:

Additionally, many other compatible solvers can be installed, including:

The MiniZinc IDE

Reporting issues

We are grateful for feedback on MiniZinc, including bug reports, feature requests and ideas for improvements.

For general discussions about MiniZinc, please use the discussion forum.

To report an issue, please use the following issue trackers:

Releases

The latest release of MiniZinc is version 2.8.4, released 10 May 2024.

  • Add -w and --disable-warnings flags that will suppress all warnings emitted by the flattening process.
  • Add option for solver libraries to set mzn_opt_annotate_computed_domains such that the compiler will signal domains that are enforced by separate constraints using a computed_domain annotation.
  • Always output multidimensional arrays as nested arrays when using showJSON for consistency.
  • Add missing implementation for default for sets expressions.
  • Add missing optional versions of unary mathematical functions/operators.
  • Improve special-case handling of boolean <-> and xor operators.
  • Allow IDE MOOC submission window to be scrolled.
  • Increase IDE hard process termination timeout to 1s.
  • Plus more than 30 bugfixes.

See the full changelog.

Development builds

Unstable development builds with upcoming bugfixes and features are available on GitHub.

Previous releases

View older releases.