Groups Orders

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Post Reply
IAH
Posts: 11
Joined: Thu Nov 30, 2023 4:05 pm

Groups Orders

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

Re: Groups Orders

Post 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
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:
IAH
Posts: 11
Joined: Thu Nov 30, 2023 4:05 pm

Re: Groups Orders

Post by IAH »

Hi Bernd,

Perfect! thank you for your quick support!
Ignacio Alecha
IAH
Posts: 11
Joined: Thu Nov 30, 2023 4:05 pm

Re: Groups Orders

Post 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!
Attachments
Lead_Orders_Mixed_cat_prohib_Response.txt
(6.36 KiB) Downloaded 1 time
Lead_Orders_Mixed_cat_prohib_Request.txt
(290.68 KiB) Downloaded 1 time
Ignacio Alecha
User avatar
Bernd Welter
Site Admin
Posts: 2583
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Groups Orders

Post 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.
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:
IAH
Posts: 11
Joined: Thu Nov 30, 2023 4:05 pm

Re: Groups Orders

Post 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!
Ignacio Alecha
Post Reply