Originally posted by: reru90
Hi everyone,
I need urgent help from you, please.
I impementize VRP model. Although I have done the constr and objective (minimize distance+waiting+delay) correctly, but the correct Startservicetimes at the nodes cannot generate. Startservicetime entered as dvar. I share here the constraints associated with start service time. here is x[k][i][j] binary.
forall (k in Machine, i in OrdersandDepots)
(Startservicetime[k][j] >= Distance[i][j] + waitingtime[k][j] + delay[k][j] + Startservicetime[k][i] - bigM*(1 - x[k][i][j]));
forall(i, j in
OrdersandDepots, k in
Machine)
waitingtime[k][j] >= earliestStime[j]* x[k][i][j] - Startservicetime[k][j];
forall(j in
OrdersandDepots, k in
Machine)
delay[k][j] >= Startservicetime[k][j] - latestStime[j];
. . .
I already get the results, but they are not correct. As an example, if machine k starts from Order 3 going to Order 1, the start service time of 1 must be greater than 3. but unfortunately in my results this is not the case.
thanks in advance.
best regards
Renato
#CPLEXOptimizers#DecisionOptimization