Debian Codegraph @

tests/spec/unit/general/test_set_lt_3.mzn

raw
1 /***
2 --- !Test
3 solvers: [chuffed, cbc, highs]
4 expected: !Result
5 solution: !Solution
6 y: !!set {1, 4}
7 ***/
8
9 % Comparison of sets with holes
10
11 set of int: x = {1, 2};
12 var set of {1, 4}: y;
13
14 constraint card(y) = 2;
15 constraint x < y;