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.

7 lines
219 B
MiniZinc

include "all_disjoint.mzn";
predicate fzn_partition_set(array[int] of var set of int: S,
set of int: universe) =
all_disjoint(S) /\ universe == array_union(i in index_set(S)) ( S[i] );