this repo has no description
at develop 750 B view raw
1include "fzn_lex_lesseq_float.mzn"; 2include "fzn_lex_lesseq_float_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_float(array[int] of var float: x, 10 array[int] of var float: y) = 11 fzn_lex_lesseq_float(x, y); 12 13predicate lex_leq_float(array[int] of var float: x, 14 array[int] of var float: y) = 15 lex_lesseq_float(x, y); 16 17%-----------------------------------------------------------------------------%