Closed Alexander-Schiendorfer closed 8 years ago
I added support for NAry as well, as evidenced in the file https://github.com/isse-augsburg/constraint-relationships/blob/master/source-code/minizinc/tests/costfunctions/nary-cost-function.mzn .
Looks great, thanks @Alexander-Schiendorfer! :)
These are the suggested changes for easy cost function support in MiniZinc via Numberjack (and a little test case for the evaluate method of Decomp).
Documentation about the usage can be found at : https://github.com/isse-augsburg/constraint-relationships/blob/gh-pages/images/cost-functions.pdf