Debian Codegraph @

tests/spec/unit/regression/github_803.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 BV0: false
7 IV0: 0
8 ***/
9
10 var bool: BV0;
11 var 0..10: IV0;
12 constraint (BV0) == (IV0);
13 constraint (sum([1*(BV0),-1*(IV0)])) == 0;
14 constraint not BV0;
15 constraint (IV0) == 0;
16 solve satisfy;