Skip to main content

Problem in Formulating Subtour Elimination in Split Delivery VRP

Answered

Comments

1 comment

  • Jaromił Najman
    Gurobi Staff 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

Please sign in to leave a comment.