Closed
Description
Illustration:
$ cat foo.mzn
var 0..1: A;
var 0..1: B;
constraint
xorall(p in [A=1])(p) <-> B=1;
$ minizinc -c foo.mzn
$ minizinc -a foo.mzn
A = 1;
B = 1;
----------
==========
$ cat foo.fzn
var 1..1: A;
var 1..1: B;
solve satisfy;
There should be a second solution: A=0, B=0
. The flattener does some invalid transformation, it seems. The bug surfaces for lists of length greater than one as well.
Metadata
Metadata
Assignees
Labels
No labels