planVisits: avoid field worker location

Deals with clustering based on locations but also on time regularity.
Post Reply
Prakash
Posts: 22
Joined: Mon Sep 14, 2015 5:21 am

planVisits: avoid field worker location

Post by Prakash »

Hi,

I would like to ask you about <fieldworker> of planVisits service of xCluster2. This is a required field, but I don’t want to start/end a day from/to employee’s home location, each day could start from any account’s location.
Is it possible by using any attribute, I want field worker’s location free calculation?

Regards,
Prakash
Prakash Kumar
Developer
Webdirekt India Pvt. Ltd.
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: planVisits: avoid field worker location

Post by Bernd Welter »

Hello Prakash,

As you see from the API: The generic position of the story starts at a required (x,y) - so the user has to decice which location to pick.

What you could evaluate is the following trick (requires GUROBI):

Look at the parameter “HOTELS”. These are potential positions where the ADM could spend “inner”nights (not start and end of the weeks).
Now here’s the trick – though this is not 100% what you want:
If you send the positions of the customers as “hotels” and activate the consideration of OvernightStayOptions! This enables us to create tours such as
  • Start at home address on monday
  • visit some customers on monday
  • check in at optimal hotel (customer position) on monday evening - away from home
  • perform visits on tuesday
  • check in at another optimal hotel (customer position) on tuesday evening - away from home..
  • and so on
  • visit some customers on friday
  • get back home on friday evening
Best regards,
Bernd

PS: I wanted to add a screenshot here but unfortunately my own GUROBI license is expired at the moment :lol:
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