Hello everyone,
I am currently working on a traveling salesperson problem. My problem has 1 node/depot and 13 delivery destinations. I have most of it completed but need to add a constraint in solver that after 6 deliveries the truck returns to the node/depot. attached is my .xls file. How do I set this up? My first thought is to simply add a Line in T11 and V11 with the constraint that T11=0 in solver but then solver will not run the alldifferent for the rest of the cities. I'm not looking for someone to do it for me just some help on setting up the constraints. I'm not sure how to set up a sub-tour for the problem. Hopefully I post this in the correct area. Thank you for your help.
Bookmarks