12 lines
255 B
MiniZinc
12 lines
255 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
% RUNS ON mzn20_fd_linear
|
|
% RUNS ON mzn20_mip
|
|
% A regression test for G12 bug #69.
|
|
%
|
|
var set of 1..10: y;
|
|
predicate p(var set of 1..3: x) = (2 in x);
|
|
constraint p(y);
|
|
solve satisfy;
|
|
output ["y = ", show(y), ";\n"];
|