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.

5 lines
214 B
MiniZinc

predicate fzn_count_geq(array[int] of var int: x, var int: y, var int: c) =
c >= sum(i in index_set(x)) ( bool2int(x[i] == y) );
%-----------------------------------------------------------------------------%