Blame view

Debug/src/utils/flatzinc/tests/int_mod_2.fzn 255 Bytes
4d26a735   Pedro Roque   Increased recogni...
1
2
3
4
5
6
7
8
9
10
11
12
13
% RUNS ON flatzinc
% RUNS ON fzn_fd_canon
% RUNS ON fzn_fdlp_canon

var 0..10: a :: output_var;
var 0..10: b :: output_var;

% This tests what happens when the domain of the divisor starts or
% ends at zero.
%
constraint int_mod(a, b, 3);

solve satisfy;