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.

13 lines
518 B
MiniZinc

include "fzn_at_least_int.mzn";
include "fzn_at_least_int_reif.mzn";
%-----------------------------------------------------------------------------%
% Requires at least 'n' variables in 'x' to take the value 'v'.
%-----------------------------------------------------------------------------%
predicate at_least_int(int: n, array[int] of var int: x, int: v) =
fzn_at_least_int(n, x, v);
predicate at_least_int_reif(int: n, array[int] of var int: x, int: v, var bool: b) =
fzn_at_least_int_reif(n, x, v, b);