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
planVisits: avoid field worker location
planVisits: avoid field worker location
Prakash Kumar
Developer
Webdirekt India Pvt. Ltd.
Developer
Webdirekt India Pvt. Ltd.
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: planVisits: avoid field worker location
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
Bernd
PS: I wanted to add a screenshot here but unfortunately my own GUROBI license is expired at the moment
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
Bernd
PS: I wanted to add a screenshot here but unfortunately my own GUROBI license is expired at the moment
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...
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...