- Add
string_split
function that splits a string into an array of strings based on a separator. - Add
json_section
annotation to mark an output item as a JSON section (issue 816). - Fix specification for constraint items and annotations in FlatZinc JSON.
- Fix flattening of negated let expressions with constraints.
- Fix crash when equating identifiers to tuples/records in if-then-else expressions.
- Fix
string_length
function to return the number of Unicode code points rather than the number of bytes (i.e., to interpret the string as UTF-8). - Emit type error for opt tuples and records created through type aliases.
- Fix evaluation of par partial functions returning arrays.
- Fix type inference for if-then-else expressions with different tuple or record types in the branches.
- Fix evaluation error caused by removal of fixed FlatZinc variables without fixing them in the output model.
- Fix computed type when flattening cv comprehensions containing tuple or record types.
- Fix unsatisfiability caused by reification in negated boolean context (issue 813).
- Fix bug in computation of common type of incompatible record types.
- Fix crash when type checking nested arrays of tuples or records.
- Fix incorrect unification of flattened tuple/record fields with paths enabled.
Downloads
Official binary packages are provided for Windows, macOS and Linux.
These contain MiniZinc 2.8.5, the MiniZinc IDE 2.8.5, as well as several state of the art solvers.
For detailed installation instructions, see the documentation.
Windows
Windows 10 or later, 64-bit processor.
MiniZincIDE-2.8.5-bundled-setup-win64.exemacOS
macOS 11 or later, universal binary.
MiniZincIDE-2.8.5-bundled.dmgLinux AppImage
AppImage for 64-bit Linux (tested on Ubuntu 20.04).
MiniZincIDE-2.8.5-x86_64.AppImageLinux Snap package
Snap package for 64-bit Linux.
View on the Snap storeLinux binary archive
Binary archive for 64-bit Linux (tested on Ubuntu 20.04).
MiniZincIDE-2.8.5-bundle-linux-x86_64.tgzSource code
Source code is available from the GitHub repositories.
View on GitHub
Both the compiler tool chain and the IDE are available as free and open source software.
Have a look at our License Information page for the details.
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 in the official binary packages:
MiniZinc can also interface with the following solvers if installed:
Additionally, many other compatible solvers can be installed, including:
Note that if you build MiniZinc from source, you will have to install any desired solvers yourself.
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.5, released 3 June 2024.
Development builds
Unstable development builds with upcoming bugfixes and features are available on GitHub.
Documentation for the latest development version of MiniZinc is available here.
For a list of bugfixes/changes please refer to the changelog.
Previous releases
- MiniZinc 2.8.4 (released 10 May 2024, change log)
- MiniZinc 2.8.3 (released 1 February 2024, change log)
- MiniZinc 2.8.2 (released 15 December 2023, change log)
- MiniZinc 2.8.1 (released 27 November 2023, change log)
- MiniZinc 2.8.0 (released 16 November 2023, change log)
- MiniZinc 2.7.6 (released 20 June 2023, change log)
- MiniZinc 2.7.5 (released 7 June 2023, change log)
- MiniZinc 2.7.4 (released 11 May 2023, change log)
- MiniZinc 2.7.3 (released 20 April 2023, change log)
- MiniZinc 2.7.2 (released 5 April 2023, change log)
- MiniZinc 2.7.1 (released 31 March 2023, change log)
- MiniZinc 2.7.0 (released 23 February 2023, change log)