this repo has no description
at develop 366 B view raw
1%-----------------------------------------------------------------------------% 2% Requires at most 'n' variables in 'x' to take the value 'v'. 3%-----------------------------------------------------------------------------% 4 5predicate fzn_at_most_set(int: n, array[int] of var set of int: x, set of int: v) = 6 sum(i in index_set(x)) ( bool2int(x[i] == v) ) <= n; 7