I have the variable u(i) specifiying the remaining cargo on arrival at vertex i.
I want to write the following constraint into AIMMS:
0 <= u(j) <= u(i) - q(i)x(i,j) + C(1-x(i,j))
Then I always get the message “The number of arguments in the variable u is not correct”
because of u(j) <= u(i).
Can you please help me to solve this problem.