Parallel Tour calculation

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
peter.detzner
Posts: 12
Joined: Fri Feb 10, 2017 6:57 am

Parallel Tour calculation

Post by peter.detzner »

Am I right, to enable a parallel tour calculation, just to set the xTour property of the poolsize from 1 to 2?


The number of module instances to be started as background processes.
#
poolSize=2


Thanks as alsways for your fast support!
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Parallel Tour calculation

Post by Bernd Welter »

Hello Peter,

to give you a more generic response (based on xServer 1):
  • Increasing the poolsize will ensure that a server starts several processes of same kind, e.g. xTourModule.exe
  • each process can take care of a single transaction at the time
  • you still have to ensure to avoid conflicts, e.g. by tho transactions trying to access the same distance matrix at the same time (refers to xCluster, xTour, xDima, xTerritory)
So maybe the answer is just "yes" but be aware of conflicts, e.g. by defining individual DIMA IDs for the parallel transactions.
And you might need more memory and cores.

Regards Bernd

PS: further info is available here:
http://xserver.ptvgroup.com/fileadmin/f ... s%7C_____3
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