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

Problem with current time

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Jaromił Najman
    • Gurobi Staff

    Hi Bardja,

    Your question is one of the "open for suggestions" type so I will just give it a try.

    I assume you want to track the time spend for a specific delivery route, is this correct? You then could introduce time costs for each edge instead of each vertex to track the time spent by a specific route up to a given vertex. The time cost computation could be integrated into the distance function you already defined.

    In order to compute the time spent up to a given vertex, you would just have to sum up over the edges of the sub-route up to the particular vertex of interest.

    I hope this helps.

    Best regards,
    Jaromił

     

    0

投稿コメントは受け付けていません。