Page 1 of 1

Planning visits for locations with varying visits per week

Posted: Thu Apr 30, 2020 5:48 pm
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?

Re: Planning visits for locations with varying visits per we

Posted: Mon May 04, 2020 7:28 am
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