1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
on-restart-benchmarks/software/mza/share/minizinc/std/fzn_strictly_increasing_int.mzn

7 lines
361 B
MiniZinc

%-----------------------------------------------------------------------------%
% Requires that the array 'x' is in strict increasing order
%-----------------------------------------------------------------------------%
predicate fzn_strictly_increasing_int(array[int] of var int: x) =
forall(i in index_set(x) diff { min(index_set(x)) }) (x[i-1] < x[i]);