xTour 1 - Dima with airlinedistance / airlinespeed

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
Lauterfeld
Posts: 26
Joined: Tue Apr 14, 2015 1:19 pm

xTour 1 - Dima with airlinedistance / airlinespeed

Post by Lauterfeld »

Hi Bernd,

is it possible to instruct xTour 1 not to generate the dima with roadbased routing but to calculate the dima with airlinedistance and airlinespeed? I think the good old eTour was able to do that?

Regards,
Volker
Volker Lauterfeld
Software-Entwicklung und Projekte
COS GmbH
Gesellschaft für Computersysteme,
Organisation und Softwareentwicklung mbH
Raiffeisenstraße 21
D-77704 Oberkirch
http://www.cosonline.de/
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xTour 1 - Dima with airlinedistance / airlinespeed

Post by Bernd Welter »

thats pretty easy: just don't provide a DIMA ID at the vehicle ;-)

BaseVehicle says:
dimaId Integer
The unique key to identify the distance matrix used with this vehicle (see DistanceMatrixCalculation). If the direct velocity is used, this parameter can be left empty.
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:
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: xTour 1 - Dima with airlinedistance / airlinespeed

Post by Joost »

You do actually have to set the directVelocity or else xTour will complain that you are not providing dima information. You can find the parameter on the PlanningParams . Common value we use is 64.
Joost Claessen
Senior Technical Consultant
PTV Benelux
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xTour 1 - Dima with airlinedistance / airlinespeed

Post by Bernd Welter »

Hello Volker,

Taken from the planning params...
  • Integer directVelocity : Assumed this speed ([km/h], > 0) for calculating the distances as the crow flies. If this parameter is set, the array of distance matrices will be ignored.
  • Double directDistanceFactor : This factor is used if directVelocity is set (optional, >= 0). If set to 0.0, the default value from conf/TourOpt.ini is taken.
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:
Lauterfeld
Posts: 26
Joined: Tue Apr 14, 2015 1:19 pm

Re: xTour 1 - Dima with airlinedistance / airlinespeed

Post by Lauterfeld »

Thanks alot!!!!
Volker Lauterfeld
Software-Entwicklung und Projekte
COS GmbH
Gesellschaft für Computersysteme,
Organisation und Softwareentwicklung mbH
Raiffeisenstraße 21
D-77704 Oberkirch
http://www.cosonline.de/
Post Reply