TourOpt.INI: AccumulateStopsBySiteID

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.

TourOpt.INI: AccumulateStopsBySiteID

Postby MISTERX » Thu May 04, 2017 12:18 pm

During a drill down into TourOpt.INI I found the parameter AccumulateStopsBySiteID.

I'm really curious to know what it means (aka what is it for)!
Mr. X
  • Integration PTV <> SAP
  • Senior Consultant
________________________________________________

Optimism is only a lack of data!
User avatar
MISTERX
 
Posts: 37
Joined: Mon Jun 02, 2014 11:50 am

Re: TourOpt.INI: AccumulateStopsBySiteID

Postby Bernd Welter » Thu May 04, 2017 12:24 pm

Hello Mr. X,

this configuration parameter is used for the check of maximum number of stops per tour:
Sampletour #1 DEPOT-Site1a-Site1b-Site2-DEPOT
Sampletour #2 DEPOT-Site1a-Site2-Site1b-DEPOT
  • If the parameter is enabled consecutive stops with same SiteID will be counted as 1 single stop within the check: the sampletour1 has 4 stops, sampletour2 has 5 stops.
  • Otherwise they will be counted as separate stops: the sampletour1 has 5 stops, sampletour2 also has 5 stops.

Best regards Bernd

PS:
Site1a and SIte1b are located at same logical site, not necessarily at the same coordinate.
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1412
Joined: Mon Apr 14, 2014 10:28 am

Re: TourOpt.INI: AccumulateStopsBySiteID

Postby Bernd Welter » Fri Jul 05, 2019 7:19 am

Hello Mister X.,

meanwhile the parameter is also available in the xTour 1 API as a property of the restrictions class:

mergeTransportPointCountPerSite : boolean

Decides if transport points with the same siteID (> 0) are counted as 1 with respect to the maxTransportPointCountPerTour restriction. By default, this parameter is set to false which means that each transport point is counted, without considering its siteID. Transport points at depots are not counted in this case.

If it is set to true, transport points at the same site are counted as single transport point. Furthermore, transport points at depots are also counted as single transport point.

This parameter affects all maxTransportPointCountPerTour restrictions in the request regardless if it is set as global restriction or as a vehicle specific restriction at the fleet (VehicleRestrictions or Train).


Best regards,
Bernd
Bernd Welter
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1412
Joined: Mon Apr 14, 2014 10:28 am


Return to PTV xTourServer