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.
dekker-phd-thesis/assets/listing/half_reif_check.mzn

15 lines
184 B
MiniZinc

predicate int_eq_imp_check(
var int: x,
var int: y,
var bool: b
) =
if is_fixed(b) then
if fix(b) then
int_eq(x, y)
else
true
endif
else
int_eq_imp(x, y, b)
endif;