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

Problem in Formulating Subtour Elimination in Split Delivery VRP

回答済み

コメント

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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    In the tsp.py example sub-tour elimination constraints are implemented in a callback. You can use the same idea and even parts of the example code to implement constraint (4). Please note that usually implementing all sub-tour elimination constraints is not practicable due to their exponential amount. Thus, you should also consider adding them as lazy constraints in an analogous way to the tsp.py example.

    Best regards, 
    Jaromił

    0

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