Hello everybody,
in our current project we would like to model the following behavior: Depending on a critical distance to the home location, the driver should return to his home depot or make a overnight stay. Is such a thing possible?
Regards
Frank Essenberger
How to Make a overnight stay depending on distance to home
-
- Posts: 12
- Joined: Mon Feb 29, 2016 2:26 pm
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to Make a overnight stay depending on distance to ho
Hello Frank,
I just saw that your requirement has already been described in an older posting:
http://xserver.ptvgroup.com/forum/viewt ... =108&p=274
There is no direct distance related parameter but of course the relation between the vehicles costs (per distance, per time) and the overnight stay (costs per hotel night) are balanced and we return the cheapest solution that matches the constraints such as
Best regards Bernd
I just saw that your requirement has already been described in an older posting:
http://xserver.ptvgroup.com/forum/viewt ... =108&p=274
There is no direct distance related parameter but of course the relation between the vehicles costs (per distance, per time) and the overnight stay (costs per hotel night) are balanced and we return the cheapest solution that matches the constraints such as
- maximum number of overnight stays
- overnight patterns
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...
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...
-
- Posts: 12
- Joined: Mon Feb 29, 2016 2:26 pm
Re: How to Make a overnight stay depending on distance to ho
Yes this answers the question. Just to put this also in the Java API context I am using. We have on the one site the car object:
Vehicle-> VehicleCosts->costsPerKm, fixedCosts...
and on the other site the planning parameters object passed to planOvernightTour method:
OvernightParams->costPerUnplannedCustomer, costPerOvernightStay
Internally, the optimal (cheapest) solution is found be comparing the costs for driving home each night or taking a hotel.
Vehicle-> VehicleCosts->costsPerKm, fixedCosts...
and on the other site the planning parameters object passed to planOvernightTour method:
OvernightParams->costPerUnplannedCustomer, costPerOvernightStay
Internally, the optimal (cheapest) solution is found be comparing the costs for driving home each night or taking a hotel.
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: How to Make a overnight stay depending on distance to ho
Yes - we consider the various cost relevant properties of the vehicle plus the overnight params.
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...