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