| 1 |
/*** |
| 2 |
!Test |
| 3 |
expected: !Result |
| 4 |
status: SATISFIED |
| 5 |
***/ |
| 6 |
|
| 7 |
include "globals.mzn"; |
| 8 |
|
| 9 |
function array[int] of $T: mrow(array[int, int] of $T: x, int: r) = |
| 10 |
[x[r,i] | i in index_set_2of2(x)]; |
| 11 |
|
| 12 |
constraint all_different(mrow([|1,2|2,3|],1)); |
| 13 |
|
| 14 |
solve satisfy; |