this repo has no description
1% RUNS ON mzn20_fd
2% RUNS ON mzn-fzn_fd
3% RUNS ON mzn20_fd_linear
4% RUNS ON mzn20_mip
5
6% Simplified regression test for bug #290: this model caused a self-assignment
7% to be created for one of the introduced variables.
8
9% Dummy variable, for output only.
10var bool: b = true;
11
12array[1..2,1..2] of int: a = array2d(1..2, 1..2, [1, 2, 3, 4]);
13array[1..2,1..2] of var 0..1: x;
14array[1..2] of var int: z = [ sum([a[s,t] * x[s,t] | t in 1..2]) | s in 1..2 ];
15constraint z[1] = sum([a[1,t] * x[1,t] | t in 1..2]);
16
17solve satisfy;
18
19output ["b = ", show(b), "\n"];