Skip to content

Commit 5a72bd9

Browse files
committed
project
1 parent 70ffa25 commit 5a72bd9

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

_projects/python_minizinc_maker_project.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@ importance: 1
77
category: work
88
related_publications: false
99
---
10-
* GitHub Repository: [https://github.com/Arthod/python-minizinc-maker]()
11-
* PyPI Package: [https://pypi.org/project/pymzm/]()
10+
* GitHub Repository: [https://github.com/Arthod/python-minizinc-maker](https://github.com/Arthod/python-minizinc-maker)
11+
* PyPI Package: [https://pypi.org/project/pymzm/](https://pypi.org/project/pymzm/)
1212

13-
Python MiniZinc Maker is an open-source library that allows developers to build pure [MiniZinc](https://www.minizinc.org/) models directly from Python code. Instead of manually writing `.mzn` files, users can define variables, constraints, objectives, and global constraints using a Python API and automatically generate valid MiniZinc models. The project bridges the gap between Python applications and constraint programming workflows powered by MiniZinc.
13+
Python MiniZinc Maker is an open-source library that allows developers to build pure [MiniZinc](https://www.minizinc.org/) models directly from Python code. Instead of manually writing `.mzn` files, users can define variables, constraints, objectives, and global constraints using a Python API and automatically generate valid MiniZinc models that can be solved using any MiniZinc-compatible solver.
1414

1515
The library was designed to make optimization and constraint modeling more accessible for Python developers while preserving the flexibility and solver-independence offered by MiniZinc. MiniZinc itself is a high-level constraint modeling language that supports a wide range of optimization and satisfaction problems across multiple solver backends.
1616

1717
## Example Usage
1818

19-
A model can be created entirely from Python by defining variables, constraints, and optimization goals. The generated output is a standard MiniZinc model that can be solved using any MiniZinc-compatible solver.
20-
21-
We give below a
19+
We give below an example of defining the classic [8-queens problem](https://en.wikipedia.org/wiki/Eight_queens_puzzle), writing it to MiniZinc and solving it using [Gecode](https://www.gecode.dev/).
2220

2321
```python
2422
import pymzm

0 commit comments

Comments
 (0)