11 lines
226 B
MiniZinc
11 lines
226 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
% Test for MiniZinc/FlatZinc 1.1 semantics for division.
|
|
|
|
constraint 7 div 4 = 1;
|
|
constraint -7 div 4 = -1;
|
|
constraint 7 div -4 = -1;
|
|
constraint -7 div -4 = 1;
|
|
|
|
solve satisfy;
|