Pyconstruct is a Python library for declarative, constrained, structured-output prediction. When using Pyconstruct, the problem specification can be encoded in MiniZinc, a high-level constraint programming language. This means that domain knowledge can be declaratively included in the inference procedure as constraints over the optimization variables.
Check out the Quick Start guide to learn how to solve your first problem with Pyconstruct.
Pyconstruct can be installed through
pip install pyconstruct
Or by downloading the code from Github and running the following from the downloaded directory:
python setup.py install
Before using Pyconstruct you will need to install MiniZinc as well. Download the latest release of MiniZincIDE and follow the instructions.
Check out the Installation guide for more details.
This project is developed at the SML research group at the University of Trento (Italy). Main developers and maintainers: