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.

6 lines
204 B
MiniZinc

predicate fzn_inverse_in_range(array[int] of var int: f,
array[int] of var int: invf) =
forall(i in index_set(f), j in index_set(invf)) (
(j == f[i] <-> i == invf[j])
);