メインコンテンツへスキップ

Time indexed based vehicle routing problem under given time budget

回答済み

コメント

1件のコメント

  • Mario Ruthmair
    Gurobi Staff Gurobi Staff

    Hi Runqiu,

    Since you do not know the time interval when the vehicle returns to the depot, you need to leave it open. This means that you model the start of the vehicle and all intermediate stops with flow conservation constraints. Then, the only chance for the vehicle to end the tour is by going back to the depot in some time interval before T. The following constraints can be a starting point:

    $$\sum_{j \neq 0} x[0,j,0] = 1$$

    $$\sum_{i} x[i,j,t] = \sum_{k} x[j,k,t+1], \qquad \forall j \neq 0, \forall t = 1,\ldots,T-1$$

    Instead of using index t+1 in the last set of constraints, you could of course use the actual travel time from j to k.

    Best regards,
    Mario

    0

サインインしてコメントを残してください。