By reviewing release notes (Version 1.24) I realized that there are additional restrictions for vehicle available, dealing with the maximum allowed distances between stops.
Seems that these working quite similar to the well known TourRestrictions which enhance PlanningParams.
Is there any experience with the new VehicleRestrictions? How is the logic behind the scenes, does VehicleRestriction dominate TourRestriction?
Planning Restrictions (MaxDistanceBetween . . .)
Planning Restrictions (MaxDistanceBetween . . .)
Mr. X
________________________________________________
Optimism is only a lack of data!
- Integration PTV <> SAP
- Senior Consultant
________________________________________________
Optimism is only a lack of data!
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Planning Restrictions (MaxDistanceBetween . . .)
Hello Mr X,
you are right, we invented some more parameters / properties: since xTour 1.20.0.0 there are VehicleRestrictions which are related 1:1 to a concrete Vehicle instance, so each Vehicle can set his own values for those properties: On the other hand there are the transaction-wide TourRestrictions that are applied with the same values for all Vehicles The only overlap in these parameters is the VehicleRestrictions.maxDistancePerTour versus TourRestrictions.maxDistance.
Whether one of these restrictions dominates the other depends on your perspective:
Both values have to be considered. So if you apply both for Vehicle #666 the minimum of the two values is relevant.
Best regards Bernd
you are right, we invented some more parameters / properties: since xTour 1.20.0.0 there are VehicleRestrictions which are related 1:1 to a concrete Vehicle instance, so each Vehicle can set his own values for those properties: On the other hand there are the transaction-wide TourRestrictions that are applied with the same values for all Vehicles The only overlap in these parameters is the VehicleRestrictions.maxDistancePerTour versus TourRestrictions.maxDistance.
Whether one of these restrictions dominates the other depends on your perspective:
Both values have to be considered. So if you apply both for Vehicle #666 the minimum of the two values is relevant.
Best regards 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...
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...