opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.19k stars 1.03k forks source link

Support of Multiple Diverse Alternatives in Drive Only Mode #2500

Closed irakitin closed 2 years ago

irakitin commented 7 years ago

Sorry if I repeat some ticket already, but I believe previously (around 1.0-SNAPSHOT) it was possible by using combination of Pareto dominance, non-trivial heuristic, long_distance=false and numItineraries>1 get more than 1 diverse route alternatives for CAR mode. Now (e.g. v1.1.0) it doesn't seem to be possible anymore. Is this true, or should I use another approach to configure path builder?

gioppoluca commented 7 years ago

I would also be interested in this. Thanks

abyrd commented 7 years ago

OTP currently defaults to what used to be called "long distance mode", and finds alternative routes by repeatedly performing single-criterion optimization. All the classes and concepts should still be there to recreate multi-criteria routing but it will certainly involve hacking on the source code. Though this could certainly work for public transit routes, I'm not sure we ever provided quality alternative routes on roads though. I don't recall there being multiple simultaneous optimization variables that would have led to significantly different car routes.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days