macOS
brew install minizinclocal Homebrew formula metadata
sudo port install minizincMacPorts ports tree · devel/minizinc/Portfile · 来源: api.github.com
安装
brew install minizinclocal Homebrew formula metadata
sudo port install minizincMacPorts ports tree · devel/minizinc/Portfile · 来源: api.github.com
sudo apt install minizincDebian stable package indexes · minizinc · 来源: deb.debian.org
nix profile install nixpkgs#minizincnixpkgs package indexes · pkgs/by-name/mi/minizinc/package.nix · 来源: api.github.com
sudo zypper install minizincopenSUSE Tumbleweed package metadata · minizinc · 来源: download.opensuse.org
概览
Medium-level constraint modeling language
历史
MiniZinc is a free and open-source constraint modeling language for expressing constraint satisfaction and discrete optimization problems in a high-level, solver-independent form. The project is developed at Monash University with support from OPTIMA, and the libminizinc repository describes the compiler as translating MiniZinc models into FlatZinc, a solver input language understood by a wide range of solvers.
Its origins are unusually well documented. A history paper by Peter J. Stuckey, Guido Tack, and Maria Garcia de la Banda says MiniZinc was introduced in the CP2007 paper "MiniZinc: Towards a Standard CP Modelling Language" as a response to the lack of a common constraint-programming modeling language. The paper traces the language back to the G12 project, started in 2005, and to Zinc: MiniZinc was created as a stripped-down version of Zinc that compiled a model plus data instance into FlatZinc. The first MiniZinc version, 0.6, was released on September 23, 2007, the first day of CP2007.
Technically, MiniZinc's major contribution is the separation between modeling and solving. Modelers write .mzn models with parameters, decision variables, global constraints, and objectives; the minizinc compiler flattens a particular model/data pair into FlatZinc or another solver-facing form. That lets users try different solvers from the same model, while solver authors can support MiniZinc by providing FlatZinc interfaces and global-constraint definitions.
Adoption is tied strongly to the constraint-programming research and optimization communities. The MiniZinc Challenge has run every year since 2008 to compare constraint solvers on shared benchmarks, and the history paper notes that the challenge encouraged solver implementers to provide compliant FlatZinc interfaces while building a public benchmark library. The same paper cites deployed and applied MiniZinc use in ship scheduling, optimization consulting, mission planning, automated configuration, cloud deployment, mobile robot planning, building automation, data acquisition, and preference elicitation. In Homebrew, the formula brings in solver-related dependencies such as Gecode and COIN-OR components, reflecting the package's role as a modeling frontend plus compiler rather than a single solver.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
minizinc | cli | 全局可执行文件 | |
mzn2doc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/MiniZinc/libminizinc
安装元数据
| 软件包键 | brew:minizinc |
|---|---|
| 版本 | 2.10.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/minizinc |
| 主页 | https://www.minizinc.org/ |
| 仓库 | https://github.com/MiniZinc/libminizinc |
| 上游文档 | https://docs.minizinc.dev/en/stable |
| 许可证 | MPL-2.0 |
| 源码归档 | https://github.com/MiniZinc/libminizinc/archive/refs/tags/2.10.0.tar.gz |
| 最后更新 | 2026-07-23T09:38:26Z |
| Pulse | updated |
| 依赖 | cbc, cgl, clp, coinutils, gecode, osi |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | minizinc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
minizinc 2.9.2+dfsg1-1
constraint modelling language and tool chain
sudo apt install minizincminizinc
nix profile install nixpkgs#minizincminizinc 2.8.2+dfsg1-1build2
constraint modelling language and tool chain
sudo apt install minizincminizinc 2.8.7-1.4
A high-level constraint modelling language
sudo zypper install minizincminizinc
sudo port install minizinc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.