Hi, I noticed that based on my current pickup/delivery implementation does not take in the time/distance travelled of each item in the vehicle.
The case study is
Item 1: A -> B
Item 2: C -> B
And on the map it is
A -----50km-------> B <--------------200km----------> C
A ----------------------------240km ------------------------> C
Currently the optimization returns A->C->B because of the shortest distance, which is 440km.
However, the item is heavy thus the cost of fuel also increases based on the distance travelled.
May I know whether it is possible to add additional cost to the objective so that we include the distance travel with N coefficient, thus
Case 1: A->B->C->B
Distance: 450km
Total distance travelled for each item: 250km (A->B +C->B)
Case 2: A->C->B
Distance: 440km
Total distance travelled for each item: 640km (A->C +2*(B->B))
Is it possible to calculate the total distance travelled for each item in dimension?
Thank you.