InsertCost in findToursForUnscheduledOrder

This forum deals with any kind of trip optimization based on xTour1, xTour2 and the Developer APIs "RouteOptimization" and "SequenceOptimization". No matter whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Attention: this does not refer to PTV Optiflow SaaS and PTV Developer RouteOptimization Optiflow.
Post Reply
Clement.Sorriaux

InsertCost in findToursForUnscheduledOrder

Post by Clement.Sorriaux »

Hello,

We would like to know how the insertCost is calculated.

The insertion will always generate more kilometer and time which will also generate a cost.
But how is this cost (insertCost) calculated ? Are the kilometer and time the only parameters which can impact the insertCost ?
Can we get a detailed explanation please ?

thanks in advance,
Best regards
Clément
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: InsertCost in findToursForUnscheduledOrder

Post by Bernd Welter »

Hello Clement,

look at the attached screenshot.It is based on 10 exsting input tours.
By inserting the new order at this position in this tour we have to drive 3 km more than before. <br />Based on the cost properties of a vehicle 3km means 3km * ([cost/km])
By inserting the new order at this position in this tour we have to drive 3 km more than before.
Based on the cost properties of a vehicle 3km means 3km * ([cost/km])
Here are the cost properties of the vehicle
Here are the cost properties of the vehicle
So each line in this grid represents a potential vehicle accepting the insertion, specifying the insertion position, the additional distance and period and the costs.
So each line in this grid represents a potential vehicle accepting the insertion, specifying the insertion position, the additional distance and period and the costs.
Does this answer your question?

Best regards
Bernd

PS: the first proposal is based on creating a new tour.

https://youtu.be/3NNjhxSiS_w
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply