Assuming you have a compact trading area and you like to plan day trips for your vehicles you can benefit of the symbiosis of PTV xTerritory and PTV xTour Server. Use PTV xTerritory Server to plan territories based on customer addresses and optimize the trips with PTV xTour Server.
In our sample there is one depot located in Karlsruhe and the orders located in a compact trading area around. At the depot there are 5 vehicles available for one day.
First use PTV xTerritory Server to plan 5 territories, one territory for each vehicle. Input data is the amount of territories to plan and the locations of all customers or orders for one day.
To keep the sample simple, all locations have an activity value of 1 and the position of the depot is not taken into account. PTV xTerritory Server plans contiguous territories which are balanced on the amount of locations and their activities.
id | total activity | relative activity | number of locations |
territory-0 | 16 | 88,90% | 16 |
territory-1 | 18 | 100,00% | 18 |
territory-2 | 20 | 111,10% | 20 |
territory-3 | 16 | 88,90% | 16 |
territory-4 | 20 | 111,10% | 20 |
Second step is the trip planning to get a day trip for each of the 5 vehicles with PTV xTour Server.
We use PTV xTour Server to optimize the sequence of customer or order locations. Input data is the vehicles and the customer or order locations assigned to the particular territory of the vehicle. As a result we get the optimized day trip and an impression of the tour duration for these trips.
To keep the sample simple the tours are planned as open trips without taking the depot into account. Optimization goal for trip planning is the optimal sequence.
id | distance | tour period | max. period relation (4 hours) | transport point count |
territory-0 | 89,64 km | 02:03:36 | 51,50% | 16 |
territory-1 | 137,26 km | 03:02:43 | 76,13% | 18 |
territory-2 | 141,03 km | 03:09:11 | 78,83% | 20 |
territory-3 | 120,05 km | 02:40:03 | 66,69% | 16 |
territory-4 | 104,78 km | 02:25:43 | 60,72% | 20 |
This simple use case shows how easily compact and perfectly sequenced day trips can be planned. If you need more information visit the use case section of PTV xTerritory or PTV xTour in the PTV xServer Manual.
If you like to have the xml-requests for this sample just comment on this post with your email address. We will sent you the requests as soon as possible.