TL;DR
This paper tackles the challenge of personalized route planning with many criteria (e.g., travel time, gas, scenicness) by introducing a novel LP-based preprocessing technique for contraction hierarchies, enabling efficient handling of high-dimensional costs. They also present a data structure for approximate queries that allows users to dynamically trade solution quality for query speed, achieving significant speedups even for complex scenarios.
What Problem Does This Paper Address?
Traditional route planning typically optimizes for a single criterion, like shortest distance or fastest time. However, real-world travel decisions often involve multiple, sometimes conflicting, factors. Personalized route planning aims to address this by allowing users to define their own "optimal" route based on a weighted combination of various criteria. While existing methods using techniques like contraction hierarchies offer speedups over basic algorithms like Dijkstra, they struggle when the number of criteria (dimensions) increases beyond a handful. Preprocessing becomes computationally prohibitive, or query times remain too slow. This paper addresses this scalability issue, aiming to provide efficient personalized route planning for a high number of criteria while also offering flexibility for users to accept slightly suboptimal routes for faster results.
Methods
The core contributions lie in two main areas:
- LP-based Contraction Hierarchy (LP-CH): The authors propose a new preprocessing technique for contraction hierarchies (CH). Instead of relying on complex convex hull computations (as in prior work), they leverage linear programming (LP) to decide which "shortcut" edges are necessary to preserve optimality for personalized queries. This LP-based approach is conceptually simpler and more robust, allowing for preprocessing with a higher number of criteria (dimensions) than previously feasible.
- Adaptive Approximation Guarantees: To further accelerate query answering, the paper introduces a data structure that supports approximate queries. This structure allows users to specify an approximation factor ($\delta \ge 1$) at query time. For each shortcut edge, they devise a greedy strategy to order its associated cost vectors. This ordering ensures that considering only the first few vectors provides a route with costs no more than $\delta$ times the optimal cost. This enables a dynamic trade-off between solution quality and query speed.
Datasets
The authors use the street network of Germany, extracted from OpenStreetMap (OSM), as their benchmark. This graph is augmented with ten meaningful metrics, including distance, travel time, elevation differences, road type (large/medium/small), gas price, energy consumption for electric vehicles, route curvature, and quietness. They make this dataset available for future comparisons.
Key Insights and Ideas
- LP as a powerful tool for CH shortcuts: Using linear programming to decide the necessity of shortcuts in contraction hierarchies is a more scalable and robust approach than geometric methods, especially for higher dimensions.
- The power of approximation in route planning: Users often don't need absolute optimality. Allowing for a small, user-defined approximation factor can lead to dramatic speedups, especially in complex, multi-criteria scenarios.
- Dynamic trade-off is key: The ability to adjust the approximation factor per query is crucial. This empowers users to decide on the fly whether speed or precision is more important for a given trip.
- Greedy ordering of cost vectors: A simple greedy strategy can effectively order multi-dimensional cost vectors associated with shortcuts, ensuring that a small subset provides a good approximation of the entire set.
Key Results
- The LP-CH preprocessing technique successfully handles up to 10 dimensions, a significant improvement over previous methods limited to 2 or 3 dimensions.
- For 10 dimensions, their LP-CH approach achieves a speedup of over 100x compared to bidirectional Dijkstra, while accepting only a 0.01% increase in route cost (an approximation factor of 1.001).
- The adaptive approximation framework, particularly the "worstNext" greedy strategy, significantly reduces query times. For instance, considering only the first 32 vectors from a set of 130 for a 10-dimensional problem can yield an approximation ratio of around 2.75.
- The real-world instances from the LP-CH construction show that a very small number of vectors are often sufficient to guarantee a high approximation factor, outperforming random ordering significantly.
Limitations and Future Work
- Preprocessing time: While LP-CH is more scalable than previous methods, preprocessing for high dimensions can still be time-consuming (e.g., around 2 hours for 10 dimensions on their benchmark).
- Superfluous vectors: The LP-CH might still contain some superfluous vectors due to practical limitations (e.g., limiting the number of LPs solved per shortcut).
- Future Work: The authors suggest investigating if the reordering strategy could be integrated into the preprocessing phase itself to potentially accelerate it and allow for earlier stopping of the contraction process, leading to even better query times. They also note that their approach could be useful in other scenarios with complex edge costs or functions, such as time-dependent route planning.
Summary updated