Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unexpected result using float variables #159
I'm getting an unexpected result for the following example:
Why am I getting that result since
By the way, I'm using the MiniZinc IDE for the execution and the solver is set on "Gecode (bundled)".
Thanks in advance.
I tried to uncover some rounding problems and modified the example:
The output is:
This bug seems to be caused by a faulty internal transformation. The resulting FlatZinc for this model is:
added a commit
Oct 6, 2017
Although Guido managed to fix the flattening bug, the fix has only been implemented on the development branch. (We haven't released any new versions since the bug was fixed). This is also the reason that the issue is still open.
If you are still experiencing problems and you can't wait until the next release, then you might want to try to compile the