GraphHopper.com | Forum | GitHub | Maps | Blog

Calculate Tour without start_address


#1

I am trying to do route optimzation calculation with a number of service points. I do need the tour to start at one of the service points and not at a specified depot. (Our customer expects some of his employees to start their work at the first service point, not at their home location)

So far it seems that I need to specify a start_address in the vehicle section. Is it possible to somehow leave this out, so that the tour starts at whichever service point happens to be first?


#2

If I’m not wrong (please @stefan correct me here), we currently do not optimize the start location (nor time) and so we require this as input. Not sure if this workaround works: you can try to create multiple vehicles with all the different start points and it would pick the best, but this will be a credit-intense operation.