this repo has no description
1include "count_fn.mzn";
2
3%-----------------------------------------------------------------------------%
4% Requires at least 'n' variables in 'x' to take the value 'v'.
5%-----------------------------------------------------------------------------%
6
7predicate fzn_at_least_int_reif(int: n, array[int] of var int: x, int: v, var bool: b) =
8 b <-> count(x, n) >= n;