Changing order of constraints produces an error

20 views
Skip to first unread message

Nevena Gincheva

unread,
May 12, 2024, 7:23:12 AMMay 12
to MiniZinc
Hello,

I have a small extract of a program where when I move one constraint at the top and then to the bottom I obtain different results in one case it outputs a solution and in the other, the following error:

MiniZinc-error-2.png
I have attached the model (I am using MiniZinc 2.3.8) and Gecode 6.3.0. The current version does not work, but moving the last constraint as first, gecode finds solution.

Thank you,
Nevena 

ChosenRoute-opt-var.mzn
Reply all
Reply to author
Forward
0 new messages