this repo has no description
at develop 739 B view raw
1include "lex_less.mzn"; 2include "fzn_lex_less_bool.mzn"; 3include "fzn_lex_less_bool_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_bool(array[int] of var bool: x, 11 array[int] of var bool: y) = 12 fzn_lex_less_bool(x, y); 13 14predicate lex_lt_bool(array[int] of var bool: x, 15 array[int] of var bool: y) = 16 lex_less(x, y); 17 18%-----------------------------------------------------------------------------%