Cheers,
as you might have seenthe xTour2 API offers a specific planning case which is base on the order types
com.ptvgroup.xserver.xtour.OrderWithAlternativeDeliveryDepots and com.ptvgroup.xserver.xtour.OrderWithAlternativePickupDepots. Just want to show you the potential of these approaches based on a client I wrote for a potential project. The locations (depots and orders) are ficticious.
The most important feature in this example is that the engine decides about the assignment of vehicles (depots) to the orders.
Here's the setup:
The story takes place on a single day planning horizon. I also deal with quantities and some constraints such as maximum driving time but there are no explizit time windows given. Skills/equipment aren't used in this example but they are available through the API.
And here are some results - depending on some settings that are parametrized through the test client:
Long story short: from scratch each order can be handeled by each vehicle and from each depot.
In both of the samples above the tours ended at the last customer (determined by the engine). The user story is also based on "at the end of the day a vehicle should join the nearest depot whih is not necessarily it's start depot". I simply determined the "closest final destination" based on airline. Attention: this is business logic and not part of the optimum!
Now the next screenshots deal with closed tours (rountrips):
The next two scenarios compare the pre-assignment of each orders closest depot which reduces the optimization potential and increases the overall distance.
Best regards,
Bernd
PS: the distance calculation was based on airline - of course we can also handle this via routing / distance matrix.
Sample usecase: Multi Depot Planning
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Sample usecase: Multi Depot Planning
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Sample usecase: Multi Depot Planning
Update : here's also a sample where the number of vehicles per depot varies:
Most orders are handeled by the large depot in the centerBernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...