Hello,
I am quite new to PTV-xServer and neither the samples or documentation could help me, so I am asking here.
Our problem is, that we have to calculate the "smartest" route: The start and target points are fix (both are the same actually), the other waypoints should be in the fastest order.
I have to work with the Java classes of PTV and need a function which calculates the best order.
My current conclusion:
- XTour is a bit too much for this, we have no detailed tour data, just the waypoints.
- XDima calculates a big a matrix, but we don't need all this information.
- XRoute has calculateExtendedRoute, calculateRoute, polygons, toll etc. and it's working fine, but we need the best order of the waypoints which is no feature of those functions.
There is a calculateTour function, but it doesn't calculate the smartest order, does it? Sadly it doesn't work for me: "conflict tour calculation - both start and destination waypoints need to be tour points" Currently I use it exactly like calculateExtendedRoute/calculateRoute, but I can't find a proper documentation or example and I am not even sure if it is able to calculate the best order.
Can you give me a hint what to do?
Thanks in advance!
Best Regards,
Fabian
Calc smartest route
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Calc smartest route
Hello Fabian,
sounds like the following functional constraints are relevant for you:
I recommend to get in touch 1:1 with your local technical consultant to discuss your usecase in detail. (Probably me or Lars).
Best regards,
Bernd Welter
sounds like the following functional constraints are relevant for you:
- A single vehicle should be optimized
- Start and destination are fixed
- Various other waypoints shall be added between start and destination
- The desired output is the proper sequence of the stops
I recommend to get in touch 1:1 with your local technical consultant to discuss your usecase in detail. (Probably me or Lars).
Best regards,
Bernd Welter
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...
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...