Page 1 of 1

TourOpt.INI: AccumulateStopsBySiteID

Posted: Thu May 04, 2017 12:18 pm
by MISTERX
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)!

Re: TourOpt.INI: AccumulateStopsBySiteID

Posted: Thu May 04, 2017 12:24 pm
by Bernd Welter
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.

Re: TourOpt.INI: AccumulateStopsBySiteID

Posted: Fri Jul 05, 2019 7:19 am
by Bernd Welter
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