Planning visits for locations with varying visits per week

Deals with clustering based on locations but also on time regularity.
Post Reply
jakubkurchan
Posts: 5
Joined: Tue Mar 17, 2020 9:00 am

Planning visits for locations with varying visits per week

Post by jakubkurchan »

Hello,

I have a question regarding using the planVisits method to plan visits for locations that have different amount of visits every week. Case in point: I have locations that have to be visited 3, 6, 10 and 22 times in 4 weeks. Looking at the locations with 6 visits, it should probably look something like this:
  • Week 1 - 2 visits
  • Week 2 - 1 visit
  • Week 3 - 2 visits
  • Week 4 - 1 visit
That makes a total of 6 visits in 4 weeks. How can I model that in the request?
User avatar
Bernd Welter
Site Admin
Posts: 2721
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Planning visits for locations with varying visits per we

Post by Bernd Welter »

Hello Jakub,

though there's no direct parameter setting which approaches this requirement straight away I discussed the scenario with Nitin and her suggested the following work around:
This is based on the input requirement that you'd like to plan a number of 6 visits for a period of 4 weeks and 4 is not a divisor of 6.

In this specific case you could create two splitted orders
- one order with 4 visits in 4 weeks (rhythm=1 , weekly visits=1)
- one order with 2 visits in 4 weeks (rhythm=2 , weekly visits=1)

With these settings the number of visits of order1 and order2 in the scope of 4 weeks will be 6.

But: what I would like to add is that you should handle the visiting days carefully because it doesn't make sense to open both visits all day: this would probably assign the orders of the "two orders per week" on the same day (perfect! - but not what you want). Try to assign order1 to MON/TUE/WED and order2 to THU/FRI.

Best regards,
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:
Post Reply