I’ve played with minizinc in the past though we use scipopt now instead.
The minizinc code looks pretty reasonable to me though. Specify your variables as ranges. Specify your constraints as math equations. Tell it what you’re looking to maximise / minimise.
The minizinc code looks pretty reasonable to me though. Specify your variables as ranges. Specify your constraints as math equations. Tell it what you’re looking to maximise / minimise.
https://www.minizinc.org/doc-2.7.6/en/modelling.html#ex-cake...