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.

12 lines
391 B
MiniZinc

include "fzn_all_disjoint.mzn";
include "fzn_all_disjoint_reif.mzn";
/** @group globals.alldifferent
Constrain the array of sets of integers \a S to be pairwise disjoint.
*/
predicate all_disjoint(array[$X] of var set of int: S) =
fzn_all_disjoint(array1d(S));
predicate all_disjoint_reif(array[$X] of var set of int: S, var bool: b) =
fzn_all_disjoint_reif(array1d(S), b);