this repo has no description
at develop 540 B view raw
1include "fzn_at_most_set.mzn"; 2include "fzn_at_most_set_reif.mzn"; 3 4%-----------------------------------------------------------------------------% 5% Requires at most 'n' variables in 'x' to take the value 'v'. 6%-----------------------------------------------------------------------------% 7 8predicate at_most_set(int: n, array[int] of var set of int: x, set of int: v) = 9 fzn_at_most_set(n, x, v); 10 11predicate at_most_set_reif(int: n, array[int] of var set of int: x, set of int: v, var bool: b) = 12 fzn_at_most_set_reif(n, x, v, b); 13