this repo has no description
at develop 726 B view raw
1include "fzn_lex_lesseq_int.mzn"; 2include "fzn_lex_lesseq_int_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_int(array[int] of var int: x, 10 array[int] of var int: y) = 11 fzn_lex_lesseq_int(x, y); 12 13predicate lex_leq_int(array[int] of var int: x, 14 array[int] of var int: y) = 15 lex_lesseq_int(x, y); 16 17%-----------------------------------------------------------------------------%