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.

8 lines
192 B
MiniZinc

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;