How do I make this code in Minizinc?

Asked

Viewed 18 times

1

How can I make this code in Minizinc?

o codigo está na figura

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.

  • represents that the part of the left receives the lowest possible value, calculated by the part of the right

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.