Page 1 of 1
planVisits: avoid field worker location
Posted: Mon Oct 03, 2022 5:06 am
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
Re: planVisits: avoid field worker location
Posted: Tue Oct 04, 2022 9:29 am
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