git-subtree-dir: software/mza git-subtree-split: f970a59b177c13ca3dd8aaef8cc6681d83b7e813
13 lines
518 B
MiniZinc
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);
|