this repo has no description
at develop 738 B view raw
1include "fzn_lex_lesseq_bool.mzn"; 2include "fzn_lex_lesseq_bool_reif.mzn"; 3 4%-----------------------------------------------------------------------------% 5% Requires that the array 'x' is lexicographically less than or equal to 6% array 'y'. Compares them from first to last element, regardless of indices 7%-----------------------------------------------------------------------------% 8 9predicate lex_lesseq_bool(array[int] of var bool: x, 10 array[int] of var bool: y) = 11 fzn_lex_lesseq_bool(x, y); 12 13predicate lex_leq_bool(array[int] of var bool: x, 14 array[int] of var bool: y) = 15 lex_lesseq_bool(x, y); 16 17%-----------------------------------------------------------------------------%