Debian Codegraph @

tests/spec/unit/regression/github_685.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected:
5 - !Result
6 solution: !Solution
7 x: [false, true]
8 y: [true, false]
9 - !Result
10 solution: !Solution
11 x: [true, false]
12 y: [false, true]
13 ***/
14 include "lex_lesseq.mzn";
15
16 int: N = 2;
17
18 array [1..N] of var bool: x;
19 array [1..N] of var bool: y;
20
21 constraint lex_less(x, y) \/ lex_less(y, x);
22 constraint count(x) = 1;
23 constraint count(y) = 1;