/py-minizinc

Wrapper to invoke MiniZinc from Python.

Primary LanguagePython

# py-minizinc

A Python wrapper to invoke MiniZinc on a model and return results as
Python objects.

This allows you to do additional post-processing on the solutions and
output formatting in Python.


For usage examples see:

"Enigma 421: Simple arithmetic"

https://enigmaticcode.wordpress.com/2017/11/03/enigma-421-simple-arithmetic/#comment-6067


"Enigma 361: How many furlongs to the mile?"

https://enigmaticcode.wordpress.com/2016/09/09/enigma-361-how-many-furlongs-to-the-mile/#comment-5099


"Enigma 207: Read all about it!"

https://enigmaticcode.wordpress.com/2014/07/17/enigma-207-read-all-about-it/#comment-5163


"Enigma 1137: On, off, on, off"

https://enigmaticcode.wordpress.com/2016/12/09/enigma-1137-on-off-on-off/#comment-5261


"Tantalizer 496: Anky panky"

https://enigmaticcode.wordpress.com/2016/12/14/tantalizer-496-anky-panky/#comment-5265


"Enigma 381: Island airlines"

https://enigmaticcode.wordpress.com/2017/01/27/enigma-381-island-airlines/#comment-5338


"Enigma 1125: The same sum"

https://enigmaticcode.wordpress.com/2017/03/06/enigma-1125-the-same-sum/#comment-5432


"Enigma 1120: Assorted numbers"

https://enigmaticcode.wordpress.com/2017/04/10/enigma-1120-assorted-numbers/#comment-5490


"Tantalizer 483: Thought for food"

https://enigmaticcode.wordpress.com/2017/05/04/tantalizer-483-thought-for-food/#comment-5529


"Enigma 1084: 1-2-3 triangles"

https://enigmaticcode.wordpress.com/2017/12/08/enigma-1084-1-2-3-triangles/#comment-6159


"Enigma 427: Settle some new scores"

https://enigmaticcode.wordpress.com/2017/12/15/enigma-427-settle-some-new-scores/#comment-6175


"Tantalizer 464: Pentathlon"

https://enigmaticcode.wordpress.com/2018/01/03/tantalizer-464-pentathlon/#comment-6211


"Enigma 431: Error in the code"

https://enigmaticcode.wordpress.com/2018/01/12/enigma-431-error-in-the-code/#comment-6229


"Puzzle 45: Football"

https://enigmaticcode.wordpress.com/2018/07/04/puzzle-45-football/#comment-6752


"Tantalizer 449: Gnomes and gardens"

https://enigmaticcode.wordpress.com/2018/07/11/tantalizer-449-gnomes-and-gardens/#comment-6767


"Enigma 1046: Albion yet again"

https://enigmaticcode.wordpress.com/2018/09/03/enigma-1046-albion-yet-again/#comment-6854


"Enigma 1045: Prime tournament"

https://enigmaticcode.wordpress.com/2018/09/10/enigma-1045-prime-tournament/#comment-6868


"Enigma 1042: Days of the year"

https://enigmaticcode.wordpress.com/2018/10/05/enigma-1042-days-of-the-year/#comment-6949