How can I make this code in Minizinc?
I tried it this way:
constraint forall(i in nurse, j in patient where j != 1)(start[i] == min(arrive[i,j] + ((1-y[i,1,j])*H) - sum(u in patient)(dist[1,j]*y[i,1,u]), 0));
But is returning the following error:
"cannot determine bounds"
What exactly does this mathematical expression represent? I confess that I reread it several times and could not see sense in it.
– Woss
represents that the part of the left receives the lowest possible value, calculated by the part of the right
– Julia Campos