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.

20 lines
395 B
MiniZinc

% RUNS ON mzn20_fd
% RUNS ON mzn-fzn_fd
% RUNS ON mzn20_fd_linear
% RUNS ON mzn20_mip
% Regression test for a problem in mzn2fzn where failure of the
% where clause was incorrectly being treated as equivalent to
% model unsatisfiability.
var bool: b = true;
constraint
forall(c in 1..5 where forall([c mod 2 = 0])) (
c >= 0
);
solve satisfy;
output ["b = ", show(b), "\n"];