Optimization without vehicle start locations?

Hi,

this is our case:

  • we want to optimize for instance 100 shipments.
  • we have a given amount of vehicles with different types
  • the location where the vehicles start is not known

When we now want to optimize this scenario, we always have to specify a start_location for each vehicle.

The problem is, that we only get a real optimized solution, when every vehicle type is available everywhere on the map.

We could spawn more vehicles all over the map to optimize their utilization, but then we could get a result which uses more vehicle of type as we have.

Or we spawn the vehicles randomly in the map, but then the utilization is not really optimized anymore.

Question:
Is there a way to optimize a number of shipments, without telling where the vehicles are located? Or is there workaround for this?

Thanks in advance!

I hope I did not misunderstand your usecase … I think @stefan made it possible :slight_smile:

1 Like

cool! We’ll try that.

But you should have a look at your documentation, the starting point is still marked as required:
https://docs.graphhopper.com/#operation/solveVRP

1 Like

Thanks! @stefan can / should we update the docs?

1 Like

The doc is updated. Thanks @LarsLehmann and @karussell.

1 Like