Originally posted by: jarchit52
I want to implement subtour elimination in Vehicle Routing Problem(constraints of capacity and distance).
I have written this constraint but still subtours appear in the solution.
forall(i in 1..N) forall(j in 1..N) forall(k in VEHICLE)
subtour[i,j,k] : U[i,k] - U[j,k] + cap*X[i,j,k] + (cap - d[i] - d[j])*X[j,i,k] <= cap - d[j];
cap = capacity of vehicle
d[i] = demand of customer 1
Please help
#DecisionOptimization#MathematicalProgramming-General