Question about Break Rules in xTour1 and Optiflow Developer

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
User avatar
Bernd Welter
Site Admin
Posts: 2780
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Question about Break Rules in xTour1 and Optiflow Developer

Post by Bernd Welter »

ONe of our partners just looked into the handling of certain break- and rest rules in xTour1 and wants to compare them with the PTV Developer Optiflow API:
We have a huge prospect that has a strong focus on break rules triggered by German Laws / Workers Councils who demand them to fullfil the legal requirements of German / European laws, especially they want to consider a 30min break after a 6 hours working period.
How can we tackle this with the existing xTour1 API which is used in the current application? How would PTV Developer RouteOptimizatiopn Optiflow handle this? Here's an example / expected result:

• Start of work: 08:00
o 1st driving leg
o 1st customer visit
o 2nd driving leg
o 2nd customer visit
o 3rd driving leg ends somewhere 14:00
BREAK of 30 minutes: 14:00 - 14:30
o 3rd customer visit
o ...
• End of work : somewhere 16:30
This works both with xTour1 and Optiflow:
  • xTour1: Please check the com.ptvag.xserver.xtour.WorkingRule.
  • Route Optimization Optiflow: offers a solution on Vehicle.Breaks level (doc):
    • maximumWorkingDuration - required - integer : Describes how long [seconds] the driver may work without taking a break of at least the specified duration.
    • minimumBreakDuration - required - integer : Specifies the duration [seconds] of a break a driver must take if they exceed the maximum working duration.
Here's some visual feedback:
xTour1 WorkingRule
xTour1 WorkingRule
Example built with xTour1
Example built with xTour1
Example built with Developer Route Optimization OPTIFLOW: input vehicle definition
Example built with Developer Route Optimization OPTIFLOW: input vehicle definition
Example built with Developer Route Optimization OPTIFLOW: Result
Example built with Developer Route Optimization OPTIFLOW: Result
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