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
345 B
MiniZinc

/***
!Test
expected:
- !Result
solution: !Solution
y: [2, 1, 1]
- !Result
solution: !Solution
y: [10, 10, 10]
***/
% DISABLED ON mzn_cd_fd
% A regression test for G12 bug #69.
%
array [1..3] of var int: y;
predicate p(array [int] of var 1..10: x) = (x[1] mod 2 = 0);
constraint p(y);
solve satisfy;
output ["y = ", show(y), ";\n"];