3.2 Extension 1: Vehicle Costs
Download Workbook: pdp_extension_1.xlsx.
In our first example, there were no costs associated with the vehicles. Because of this, when the optimiser was searching for better solutions, it did not account for the number of vehicles used, distance driven or time taken.
We will now add three kinds of cost, shown in Table x10-13001r33, to each vehicle.
| Cost Per Use | Cost Per Km | Cost Per Hour |
| $100 | $0.10 | $25 |
These costs have been added to the Fleet sheet of the accompanying workbook. Having a cost per use will encourage the optimiser to use as few vehicles as possible. Having a cost per km will encourage the optimiser to minimise travel distance. Having a cost per hour will encourage the optimiser to minimise work time.
| KPI | Value |
| Total Cost | 228 |
| Total Distance | 201.50 |
| Work Time | 04:18 |
| Transit Time | 04:18 |
| Assigned Orders | 20 / 20 |
| Fleet Usage | 1 / 5 |
Table x10-13002r44 shows the solution KPIs that result after we add the above vehicle costs. We have used one less vehicle, driven 225.14 km less and worked for five fewer hours.
Here, the choice of vehicle is arbitrary because all of them have identical costs, and begin and finish their routes at the depot. In a situation where the vehicles have different costs, the optimiser will assign orders to vehicles in such a way as to minimise the total cost.

