1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

17 lines
368 B
MiniZinc

/***
!Test
expected: !Result
solution: !Solution
arr2d: [[A,B],[C,D]]
arr3d: [[[E,F],[G,H]],[[I,J],[K,L]]]
***/
include "strictly_increasing.mzn";
enum FOUR = {A,B,C,D};
array[1..2,1..2] of var FOUR: arr2d;
constraint strictly_increasing(arr2d);
enum EIGHT = {E,F,G,H,I,J,K,L};
array[1..2,1..2,1..2] of var EIGHT: arr3d;
constraint strictly_increasing(arr3d);