Does JSprit support many to one delivery?
Say one has 10 warehouses with bananas and they all need to be picked up and dropped off to one of two other warehouses. How can this be done?
If there is a service with 10 pickups (smaller loads) and 2 deliveries (with a larger load) can this work? I found that the trucks do pickups but never deliveries
Is it possible to do this without shipments, so that jsprit decides which of the two delivery depots to allocate the shipment to?
As explained in the following post, in jsprit, Pickup jobs are assumed to be loaded at the job location and dropped off at the end the route, while Delivery jobs are loaded at the very beginning of the route and unloading happens at the job location. So it might not work as you intend.
If we use only Service class, then if we set vehicle capacity, suppose for dimIndex=0 and dimValue=100. then vehicle starts with loaded volume of 100 and then it goes to various service points to deliver.
If we use only Pickup class, then if we set vehicle capacity, suppose for dimIndex=0 and dimValue=100. then vehicle has no loaded volume but it can pick max 100.
What if we have Service and Pickup classes in VehicleRoutingProblem. Will vehicle start with empty box to fill it on pickup locatio…