Page 1 of 1

Groups Orders

Posted: Thu Apr 25, 2024 9:27 am
by IAH
Hi Experts!

Recently we have this requirement from our customer: We have Lead Orders and Suborders that we can consider a group of orders for the same location, but that must be executed by different technicians at the same time.

Situation is for example, we must plan 2 Orders with opening intervals from Monday to Friday from 8:00 to 11:00 am and both must be planned at the same time to different technicians, so they work at the same time at the same location.

Only Idea from my side is to plan first the Lead orders, and later add the suborders to second iteration with the time when the lead order was planned (with fix time in opening intervals).

Is there any way to plan different orders to different technicians (till here the mixedLoadingProhibitions could work) but at the same time?

Thank you in advance!

Re: Groups Orders

Posted: Thu Apr 25, 2024 9:52 am
by Bernd Welter
Hello Ignacio,

you already gathered the proper, iteration based approach for this story:
  • Plan the lead order first
  • Use it's ouput time window for the dependent orders.
Unfortunately there's no matching feature in the xTour2 API that links two resources (drivers/vehicles) to the same order in the way you need it.

Bernd

Re: Groups Orders

Posted: Thu Apr 25, 2024 11:33 am
by IAH
Hi Bernd,

Perfect! thank you for your quick support!

Re: Groups Orders

Posted: Thu May 23, 2024 11:41 am
by IAH
Hi Bernd, coming back to this topic.
I changed the approach a bit I this is how I think to plan this requirement:
- we have 2 (simplest case) demands under the same location.
- those 2 demands must be executed in the same date and time (in opening window time StartTime=EndTime) and by 2 different technicians.

I am trying to do it with the Mixed_Loading_Prohibitions in order to avoid them to get planned in under the same trip but there is always 1 order not planned and I send several technicians to cover them.

What am I doing wrong?

I attach request and response.

Thank you!

Re: Groups Orders

Posted: Thu May 23, 2024 3:03 pm
by Bernd Welter
That was a tricky one...

For some reason all but one driver have break rules.
Drivers.png
In this case the services (each last 3 hours) are not possible within the given constraints (opening times of the location, driving time from/to depot...)

So this is why one order is scheduled and the other one has no option to be attached.

By duplicating the "driver without breaks" I managed to schedule the order.

Re: Groups Orders

Posted: Thu May 23, 2024 3:45 pm
by IAH
That was a good one... I did not pay attention to the service times so for me did not make sense.

Thank you so much again Bernd!

Re: Groups Orders

Posted: Fri May 24, 2024 7:09 am
by Bernd Welter
I made further tests:
The attached Gantt shows
  • The two tours I created successfully with a first run and TWO vehicles without break intervals.
  • Then I evaluated the output plan but also applied the break rules for one of the vehicles
  • This led to an invalid input plan as expected.

Re: Groups Orders

Posted: Fri May 24, 2024 11:56 am
by IAH
Cool! Thank you Bernd!