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.

14 lines
386 B
MiniZinc

% RUNS ON mzn20_fd
% RUNS ON mzn-fzn_fd
% RUNS ON mzn20_fd_linear
% RUNS ON mzn20_mip
% RUNS ON mzn_mer_lp
% bug #1: the overloading was being handled wrongly, giving the wrong output
% "b = true".
predicate foo(set of int: x) = true;
predicate foo(int: x) = false;
var bool: b1 = foo(3);
var bool: b2 = foo({42});
solve satisfy;
output ["b1 = ", show(b1), "; b2 = ", show(b2), "\n"];