I just found this tool and I'm getting enthusiast.
I've a logistics supplier situation, with multi depots. In general you can say these are separated operational environments. Goods are shipped from depot 1 with depot1 vehicles to their own customers and other goods are collected to return to depot 1. The same counts for depot 2, etc. I want to use this tool for simulations (e.g. what are the consequences if you don't serve this region).
I read the demand cannot be negative, so I hope the collection issue can be tackled via the pickup and delivery option.
I also want to calculate the advantages of partly driving for the other organisation(s). Eg the depot1 vehicle delivers the depot1 orders and during the trip he collects goods for depot2 and drops them at depot2 on his way back and may deliver some depot2 orders as well. And this is basically really multi-depot.
I've examined the cscvrptw examples of C++ and C# but I can't see if you can set from which depot the demand should be supplied. Is this doable or has someone a nice trick in house?
--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Vincent,
Thanks for you quick answer.
Regarding the negative demand: if I follow your suggestion then a trip with only deliveries is not allowed.
And if you flip the sign, a full truck load collection will only exists in a trip with also a delivery.
Multiple visits limitation is not a real problem as a truck can have multiple trips, like you wrote and is common to use so.
Regarding the pickup and delivery is not quite clear to me (and it is unfortunately not documented yet, at least I can't find it). Suppose an optimal trip is (collection = pickup at node and unload at depot): depot - delivery node 1 - collection node 2 - delivery node 3 - collection node 4 - depot. Can this be constructed by your solver if I give a demand for nodes 1 and 3, and the pickups like shown in pdptw.cc (=tsptw.cc???)?
And how about when node 2 and 3 refer to the same address?
Demand-depot constraint: if I use a vehicle limitation to a demand, that node will only be serviced by a vehicle of that depot. Another vehicle (attached to another depot or a charter) will not pickup and deliver it at that depot if its on route. Maybe I can force this by creating AddPickupAndDelivery from depots to the delivery nodes.
Currently this working for another depot is not taking place (so the demand-vehicle trick will do the job). Deliveries by another
depot does take place a lot, but that is first transported by a night shuttle and I won't feed that into the solver.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/ac9f1896-5af9-4462-9663-d2d6daa4dadfn%40googlegroups.com.