HVRP Example Costs Calculation

Hi all,

I have a question about the output of HVRPExample.java.

  1. I have added the method .setCostPerDistance, so apparently the output “Costs” = endTime*CostPerDistance.
    Could you explain please why the calculation is going like this? (i mean, why multiplying time, and not distance).
    Also,is it possible to print out not only pick-up & delivery time for every vehicle for every job, but the distance covered as well?

  2. When the simulation is built as a GraphStream, the total costs showed there for all the vehicles are much bigger than the sum of the cost output for each vehicle in the output table.
    So could you please clarify the meaning of “Costs” output at GraphStream simulation picture?

Thank you all in advance! :slight_smile: