Hi everyone, I’ve got a problem when using TimeWindows on a Service.
I’m using the
Service.addTimeWindow(double earliest, double latest) method to configure a TimeWindow on a service, providing time information in second unit.
I’ve also got Vehicles with earliest departure and latest arrival (always in seconds).
If I do put a TimeWindow that cannot be satisfied considering Vehicle working hours, that is skipped as expected and categorized as unassigned job.
Eg: Service has TW between 8am and 9am, Vehicles starts at 10am -> TW = ignored (correct)
If the TimeWindow in instead inside the Vehicle working hours, the result I get is random, sometimes it is respected, some others not, some others it shifts all the other Services of that day just after the
Eg: Service has TW between 8am and 9am, Vehicles starts at 7am -> TW = random behavior
Why this happens?
Do I need to set some other specific property?