Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortest path ignoring waypoint order #611

Closed
sedir opened this issue Apr 10, 2013 · 11 comments
Closed

Shortest path ignoring waypoint order #611

sedir opened this issue Apr 10, 2013 · 11 comments
Milestone

Comments

@sedir
Copy link

sedir commented Apr 10, 2013

Hi guys, I looked everywhere and I didn't find a way to get this to work.
Let's suppose I want to know the shortest path from node A to D, but I have to pass through B and C in the way.
I dont care if I put the params (lat/lng) is this order A -> B -> C -> D or that A -> C -> B -> D because I should get the same result, the shortest path.

This feature is similar to Google Maps option optimizeWaypoints="true"

Is that possible with OSRM?

@emiltin
Copy link
Contributor

emiltin commented Apr 10, 2013

it's not possible at the moment. what you're describing is essentially the travelling salesman problem - find the shortest way to visit a given list of points.

@emiltin emiltin closed this as completed Apr 10, 2013
@DennisOSRM DennisOSRM reopened this Apr 15, 2013
@DennisOSRM
Copy link
Collaborator

It is not yet possible. But it is on the list of upcoming features.

@ZupoLlask
Copy link

Hi DennisOSRM,

Any news update regarding that feature? :-)

@emiltin
Copy link
Contributor

emiltin commented Jun 4, 2014

hi dennis, do you have an idea about when this feature will arrive?

@emiltin
Copy link
Contributor

emiltin commented Jun 10, 2014

The distance matrix forms the basis for fast optimization of waypoint order?

@DennisOSRM
Copy link
Collaborator

@emiltin yessir.

@emiltin
Copy link
Contributor

emiltin commented Jul 9, 2014

Hi Dennis, is there any ETA on this feature?

@dymo
Copy link

dymo commented Jul 9, 2014

I think it would make more sense to use a travel time matrix since the route calculation is based on fastest and not shortest path. Is a travel time matrix in the plan?

@DennisOSRM
Copy link
Collaborator

Is a travel time matrix in the plan?

@dymo Already implemented.

is there any ETA on this feature?

@emiltin not yet

@TheMarex
Copy link
Member

Work on this by @chaupow is tracked in this branch https://github.com/Project-OSRM/osrm-backend/tree/feature/round_trip

@TheMarex TheMarex modified the milestones: 4.8.0, 5.0 Jun 10, 2015
@TheMarex
Copy link
Member

TheMarex commented Sep 4, 2015

This is now merged into develop.

@TheMarex TheMarex closed this as completed Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants