Route Analysis

When an algorithm (VRP solver) finishes its calculation, its result (VRP solution) will be displayed in Results Panel with the name of the algorithm. The first finished algorithm computation is displayed and selected first.

If the result is valid, then its result is shown with green and a thick will appear near the algorithm result in Results Panel. In the Results Panel, the following columns exist:

  1. Algorithm: The name of the algorithm or your VRP solution (i.e. User Suggestion)
  2. Distance: The total distance of all the routes the vehicles should travel
  3. Cost: The total cost of the VRP solution (algorithm result or user suggestion)
  4. Travel Time: The total travel time of the VRP solution, from minimum start time of the routes to maximum arrival time of the routes
  5. Vehicle Count: Total vehicle count used in the result.

When an algorithm result or your VRP solution (i.e. User Suggestion) is selected in Results Summary List, then the routes of that VRP solution will appear in Result Routes Panel under the Results Summary List. Each route has a title with "Routes, Distance, Expenses, Load", Under the title of each route, a summary of the route is given with the following columns:

  1. Routes: Number of stations visited excluding vehicle starting and stopping positions.
  2. Distance: The total distance the vehicle should travel for this route.
  3. Expenses: The total cost the route with that vehicle.
  4. Load: The load, delivery amount shown by "D" and pick-up amount shown by "P".

If the algorithm result contains unserved orders, i.e. orders that can not be processed, Unserved Orders Button will appear on the Results Summary List, and the number of unserved orders will be shown. Clicking Unserved Orders Button will open the Orders Tab and the unserved orders will be listed.


To view the routes as polylines on the map, click the summary row of each route. This will highlight the route as polylines in different colors on the map. In default, the routes are direct polylines on the map. If you want to view the routes as real roads, that is polylines passing through the geographic road network,

  1. Open the Result Map View Menu on the Results Tab.
  2. Click "Show Results As Roads" menu item.
  3. Then a road calculation progress bar will appear. This will get the roads from the underlying GIS from real geographic road network data.
  4. Then the routes will be displayed on map as real roads, i.e. the real road network data.
  5. The road polylines will be highlighted on the map.
  6. To change the route polyline view into directed polylines, click "Show Results As Directed Arrows" menu item in the Result Map View Menu.
  7. If you want to hide the route polylines on the map, then click "Hide Results" menu item in the Result Map View Menu.

Each route in the Result Routes Panel can be expanded by clicking the title of the route. In expanded form of the route, the route segments appear. The route segments are a vehicle’s step by step jobs to accomplish deliveries and/or pick-ups.
In Result Routes Panel, the following columns are shown for each route of the algorithm result or your VRP solution (i.e. User Suggestion):

  1. Routes: The route segment showing from which station to which station the vehicle should travel.
  2. Distance: The route segment in between the route segment stations.
  3. Expenses: The cost of the route segment.
  4. Load: The load of the vehicle on that route segment while traveling in between the stations of the route segment.

To view a route segment as an arrowed polyline on the map, select a route segment in the Result Routes Panel. This will highlight the route segment as an arrowed polyline in different colors on the map. As you select a route segment in the Result Routes Panel the route segment polylines will be highlighted in a different color either as arrowed direct polylines or real road polylines.

You can analyze the complete result (VRP solution) by inspecting the route summaries and the route segments in Results Summary List, Result Routes Panel and the map. This is an informative analysis. In order to deepen the analysis with all of its details, it is important to inspect the results with all of its aspects. How to perform a detailed analysis is as follows:

  1. Select the algorithm result or your solution in Results Summary List in Results Tab for which the detailed analysis will be done.
  2. Click Show Detail View Button in the Results Tab.
  3. Then the logvrp GUI will change its view.
    1. The Result Details Panel will appear on the bottom of logvrp.
    2. The Results Tab will be closed and the Orders Tab will be opened. Now, in this view, the Orders List of Orders Tab will only show the served orders in the VRP solution. This is useful for detailed analysis of the results.
  4. The Result Details Panel on the bottom of logvrp is an important GUI component for detailed analysis.
  5. The Result Details Panel on the bottom of logvrp shows the details of the VRP solution of the selected algorithm result or your solution.
  6. The routes of the VRP solution are listed on Result Details Panel.
  7. Each route has a title with route number and vehicle summary; "Route n: (Vehicle – k, …)". Under the title of each route, a summary of the route is given with the following columns:
    1. Routes: Number of stations visited excluding vehicle starting and stopping positions.
    2. Distance: The total distance the vehicle should travel for this route.
    3. Expenses: The total cost the route with that vehicle.
    4. Load: The load, delivery amount shown by "D" and pick-up amount shown by "P".
    5. Delivery: Not available for route summary, it is available for route segment details when the route is expanded.
    6. Pick-up: Not available for route summary, it is available for route segment details when the route is expanded.
    7. Capacity Usage: The average vehicle capacity usage while traveling on the route.
    8. Departure Time: The start time of the vehicle to the route for serving the orders.
    9. Arrival Time: The stopping time of the vehicle to the route for serving the orders.
    10. Travel Duration: The traveling duration of the vehicle for completing its delivery and/or pick-up jobs on that route. "d" is for days, "h" is for hours, "m" is for minutes, "s" is for seconds.
  8. To view the routes as polylines on the map, click the summary row of each route. This will highlight the route as polylines in different colors on the map. In default, the routes are direct polylines on the map. If you want to view the routes as real roads, that is polylines passing through the geographic road network,
    1. Open the Result Map View Menu on the Results Tab.
    2. Click "Show Results As Roads" menu item.
    3. Then a road calculation progress bar will appear. This will get the roads from the underlying GIS from real geographic road network data.
    4. Then the routes will be displayed on map as real roads, i.e. the real road network data.
    5. The road polylines will be highlighted on the map.
    6. To change the route polyline view into directed polylines, click "Show Results As Directed Arrows" menu item in the Result Map View Menu.
    7. If you want to hide the route polylines on the map, then click "Hide Results" menu item in the Result Map View Menu.
  9. Each route in the Result Details Panel can be expanded by clicking the title of the route. In expanded form of the route, the route segments appear. The route segments are a vehicle’s step by step jobs to accomplish deliveries and/or pick-ups.
  10. In Result Details Panel, the following columns are shown for each route of the algorithm result or your VRP solution (i.e. User Suggestion):
    1. Routes: The route segment showing from which station to which station the vehicle should travel.
    2. Distance: The route segment in between the route segment stations.
    3. Expenses: The cost of the route segment.
    4. Load: The load of the vehicle on that route segment while traveling in between the stations of the route segment.
    5. Delivery: The amount to be delivered to the destination station (i.e. the second station of the route segment).
    6. Pick-up: The amount to be picked up from the destination station (i.e. the second station of the route segment).
    7. Capacity Usage: The vehicle capacity usage while traveling on the route segment.
    8. Departure Time: The start time of the vehicle from the first station (source station) of the route segment for serving the orders.
    9. Arrival Time: The arrival time of the vehicle to the second station (destination station) of the route segment for serving the orders.
    10. Travel Duration: The traveling duration of the vehicle on that route segment. "d" is for days, "h" is for hours, "m" is for minutes, "s" is for seconds.
  11. An important feature which allows a better view for the VRP solutions is that the orders which are served on a route and on a route segment is displayed on the Order List of Orders Tab.
  12. In order to view the served orders in the route, select the route summary row in the Result Details Panel. This will
    1. Show only the orders which are served in this route in the Order List of Orders Tab.
    2. And also show the complete route on the map highlighted with a different color and thicker polyline.
    3. To deselect the route, press CTRL key and while pressed click on the selected route summary.
  13. To view a route segment as an arrowed polyline on the map, select a route segment in the Result Details Panel. This will highlight the route segment as an arrowed polyline in different colors on the map. As you select a route segment in the Result Details Panel the route segment polylines will be highlighted in a different color either as arrowed direct polylines or real road polylines.
  14. Moreover, you can see and inspect the delivery and/or pick-up job (i.e. the route step) in which an order has been served. How to do this:
    1. Result Details Panel should be open
    2. From Orders Tab, adjust the order filter as "No Filter"
    3. Select an order on Orders Tab
    4. You will see the Show Pick-up Step Button and Show Delivery Step Button will appear on Orders Tab
    5. Click Show Pick-up Step Button, if you want to see the route step in which the pick-up is processed for the selected order
    6. Click Show Delivery Step Button, if you want to see the route step in which the delivery is processed for the selected order
    7. In this way, the pick-up or delivery step for the order will be shown on the Result Details Panel and also those steps willbe highlighted on map.

This detailed analysis tool, namely the Result Details Panel together with Order List of Orders Tab, allows you to inspect the VRP solutions of algorithm results or your solution. Now, by using this tool, you can analyze the algorithm results or your solution from a better perspective.