Debian Codegraph @

tests/spec/unit/regression/github_766.mzn

raw
1 /***
2 !Test
3 expected: !Result
4 status: ALL_SOLUTIONS
5 solution: !SolutionSet
6 - !Solution
7 a: -2
8 b: -2
9 - !Solution
10 a: -2
11 b: 2
12 - !Solution
13 a: 2
14 b: -2
15 - !Solution
16 a: 2
17 b: 2
18 options:
19 all_solutions: true
20 solvers: [gecode]
21 ***/
22 var {-2,2}: a;
23 var {-2,2}: b;
24 constraint ((((b - a) ^ -1)::mzn_break_here * 3) = 3) <-> false;