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

How to eliminate subtours in a multi-depot capacitated vehicle routing problem?

ユーザーの入力を待っています。

コメント

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.
  • Mario Ruthmair
    • Gurobi Staff

    Hi Luca!

    If you are not experienced with callbacks, I would suggest to start with an easier modeling approach to eliminate subtours without need for callbacks, e.g., by using Big-M constraints with position (or load) variables associated to each customer. In the case of load variables you can also handle the capacity constraints at the same time. Then, if you have a running model you might switch to callbacks.
    The Big-M constraints do not provide very good LP bounds but are a good base line for further developments.

    If you need to implement the subtour elimination constraints you mentioned, then you should start with lazy constraints, since for integer solutions it is trivial to identify subtours. Just check the solution you get for customer cycles using a simple depth-first search on the graph defined by the arcs selected in the solution.

    For fractional solutions (MIPNODE callback), the separation of those inequalities involves solving max-flow problems and is much more advanced. But for feasibility you do not need them, only to strengthen the LP bounds.

    Best regards,
    Mario

    0

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