Hello,
I have doubts related to violations. When I receive a RouteViolation in LegReport (so, the leg is violated):
1) What is the reason of this violation? What is the meaning?
2) I would expect that in TourEvent-TourViolations a violation reason appear for the leg reported in the Leg but it is not like this
I attach response of this case above.
Besides I have other doubt related to input plan:
3) Can an input plan be set from scratch? I mean without taking it from a response of a TourResponse.
Thank you so much in advance!
Route Violated in LegReport and other doubts
Route Violated in LegReport and other doubts
- Attachments
-
- ResponseWithLegsViolated.txt
- ResponseWithLegsViolated
- (21.06 KiB) Downloaded 195 times
Ignacio Alecha
Re: Route Violated in LegReport and other doubts
A route violation means that the route is not possible to be driven by the vehicle. The dima can't hold route violation details and therefor they are not available for xTour to give back. If you want to know the details you need to recalculate the violated leg with xRoute. Hint: route violation often happen nearby locations.
About the input plan, yes you can build it up from scratch. You can use this for letting a planner make some manually planning in advance for the big bulk. That being said: always verify a manually build input plan by doing an optimization with CalculationMode set to EVALUATE . If there are TourViolations in the input plan it will mean that each tour with violations will remain as is and that might not be what the planner is intending.
About the input plan, yes you can build it up from scratch. You can use this for letting a planner make some manually planning in advance for the big bulk. That being said: always verify a manually build input plan by doing an optimization with CalculationMode set to EVALUATE . If there are TourViolations in the input plan it will mean that each tour with violations will remain as is and that might not be what the planner is intending.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
Re: Route Violated in LegReport and other doubts
Thank you for your quick answer.
You said "route cannot be given to the vehicle", but then how the times of the legs are calculated if the leg is violated (in the example also the flag of direct distance is false)?
Does it mean that there is an area where driver has to walk?
Thank you in advance
You said "route cannot be given to the vehicle", but then how the times of the legs are calculated if the leg is violated (in the example also the flag of direct distance is false)?
Does it mean that there is an area where driver has to walk?
Thank you in advance
Ignacio Alecha
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Route Violated in LegReport and other doubts
Hi Ignacio,
a distance matrix can be seen as a storage of some KPIs of undeerlying AB-routes with equal routing options:
a distance matrix can be seen as a storage of some KPIs of undeerlying AB-routes with equal routing options:
- The primary key of the storage is the combination of the route locations of start and destination.
- The stored data contains
- traveltime
- distance
- violation state
- direct distance state
- toll (optional)
- It does NOT contain details such as
- Cause of a violation
- Event lists
- Toll details
- What is the complete time scheme? Does it violate opening times or operating times?
- What distances apply? Does a vehicle's tour exceed maximum values?
- With the routing there's also the option to define some "flexibility" when it comes to "are violations allowed"?
- ignoreRouteViolations
- ignoreReachabilityViolations
violated | estimatedByDirectDistance | description, possible? |
---|---|---|
false | false | best routing based "condition" |
true | false | routing based but kind of "suspicious" |
false | true | successful routing wasn't possible (e.g. because violations have been disabled), therefore workaround based on airline applies |
true | true | impossible |
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...
Re: Route Violated in LegReport and other doubts
Hi Bernd,
Thank you so much for your continuous support. You really brought light on all those doubts.
I'll keep bothering you in other posts
Thank you!
Thank you so much for your continuous support. You really brought light on all those doubts.
I'll keep bothering you in other posts
Thank you!
Ignacio Alecha