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.

14 lines
247 B
MiniZinc

/***
!Test
expected: !Result
status: SATISFIED
***/
include "globals.mzn";
function array[int] of $T: mrow(array[int, int] of $T: x, int: r) =
[x[r,i] | i in index_set_2of2(x)];
constraint all_different(mrow([|1,2|2,3|],1));
solve satisfy;