Problem in Formulating Subtour Elimination in Split Delivery VRP
AnsweredI want to model the Split Delivery VRP in this paper. How to implement in the subtour elimination constraint (number 4) in gurobipy from the picture below.
Thanks.
0
-
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.
Comments
1 comment