this repo has no description
at develop 671 B view raw
1include "at_least_int.mzn"; 2include "at_least_set.mzn"; 3 4/** @group globals.counting 5 Requires at least \a n variables in \a x to take the value \a v. 6*/ 7predicate at_least(int: n, array[int] of var int: x, int: v) = 8 at_least_int(n, x, v); 9 10/** @group globals.counting 11 Requires at least \a n variables in \a x to take the value \a v. 12*/ 13predicate at_least(int: n, array[int] of var set of int: x, set of int: v) = 14 at_least_set(n, x, v); 15 16% Synonyms for the above. 17 18predicate atleast(int: n, array[int] of var int: x, int: v) = 19 at_least_int(n, x, v); 20 21predicate atleast(int: n, array[int] of var set of int: x, set of int: v) = 22 at_least_set(n, x, v);