Why does cost optimized tour look expensive?

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
User avatar
Bernd Welter
Site Admin
Posts: 2703
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Why does cost optimized tour look expensive?

Post by Bernd Welter »

I recently played around with the new v2.27 experimental feature "enableMonetaryCostMinimization" and faced some results I wasn't able to explain at first - once I talked to DEV it was easy to solve and it is not a bug. In fact it is a future feature ;-)

As you might have seen the new cost optimized routing offers three monetary factors that are used int the target function:
  • fixedCost
  • distanceCOst
  • travelTimeCost
The following chart displays the old and the new output:
Both bars are based on the same monetary settings<br />Left: old planning approach<br />right: new costOptimized appoach - looks more expensive if you don't know the whole story
Both bars are based on the same monetary settings
Left: old planning approach
right: new costOptimized appoach - looks more expensive if you don't know the whole story
What you can't see here is another "invisible" cost factor:
:idea: Each unscheduled order contributes with some value hidden under the roof.

I added some virtual "cost per unscheduled order" to the chart (e.g. 200) and with these additional costs you can easily recognize that the new approach returns an improved cost output.
The dark blue contribution is smaller for the new approach. This is because the new solution manages to schedule 3 previously unscheduled orders which overcompensates the effect
The dark blue contribution is smaller for the new approach. This is because the new solution manages to schedule 3 previously unscheduled orders which overcompensates the effect
I am quite optimistic that the costs per unscheduled order will be available per API in a future version. So far we simply apply a very high value.

Bernd
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