Debian Codegraph @

tests/spec/unit/regression/array_of_empty_sets.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 options:
5 all_solutions: true
6 expected: !Result
7 solution: !SolutionSet
8 - !Solution
9 i: 1
10 - !Solution
11 i: 2
12 ***/
13
14 include "nosets.mzn";
15
16 array [int] of set of int: a = [{}, {}];
17 var 1..2: i;
18 constraint not (i in a[i]);