7 lines
283 B
MiniZinc
7 lines
283 B
MiniZinc
%-----------------------------------------------------------------------------%
|
|
% Requires that 'y' occurs in the array or set 'x'.
|
|
%-----------------------------------------------------------------------------%
|
|
|
|
predicate fzn_set_member(var set of int: x, var int: y) =
|
|
y in x;
|