[Paper Review] Solving High Volume Capacitated Vehicle Routing Problem with Time Windows using Recursive-DBSCAN clustering algorithm
This paper proposes Recursive-DBSCAN, a recursive clustering method that partitions high-volume Capacitated Vehicle Routing Problem with Time Windows (CVRPTW) instances into smaller, manageable clusters to drastically reduce solver runtime. By limiting the OR-tools solver to optimize within each cluster instead of the full node set, the method achieves a 61% reduction in runtime while increasing total distance by only 3.6% and maintaining feasible vehicle counts, enabling solutions for up to 5000 nodes—beyond the 2000-node limit of OR-tools.
This paper introduces a new approach to improve the performance of the Capacitated Vehicle Routing Problem with Time Windows (CVRPTW) solvers for a high number of nodes. It proposes to cluster nodes together using Recursive-DBSCAN - an algorithm that recursively applies DBSCAN until clusters below the preset maximum number of nodes are obtained. That approach leads to 61% decrease in runtimes of the CVRPTW solver as benchmarked against Google Optimization Tools, while the difference of total distance and number of vehicles used by found solutions is below 7%. The improvement of runtimes with the Recursive-DBSCAN method is because of splitting the node-set into constituent clusters, which limits the number of solutions checked by the solver, consequently reducing the runtime. The proposed method consumes less memory and is able to find solutions for problems up to 5000 nodes, while the baseline Google Optimisation Tools solves problems up to 2000 nodes.
Motivation & Objective
- To address the scalability limitations of existing CVRPTW solvers, such as Google Optimization Tools, which struggle with high node counts (>2000) due to excessive runtime and memory usage.
- To improve solver performance for large-scale on-demand logistics by reducing the search space through intelligent clustering of delivery nodes.
- To develop a clustering approach that maintains solution quality while significantly decreasing computational time and memory consumption.
- To enable practical deployment of CVRPTW solvers in real-time, high-volume logistics applications where low latency is critical.
Proposed method
- Recursive-DBSCAN recursively applies DBSCAN clustering until all clusters contain no more than a predefined maximum number of nodes (max_cluster_size), ensuring manageable problem sizes for the solver.
- The algorithm partitions the full set of delivery waypoints into spatially coherent clusters based on geographic proximity and density, reducing the number of inter-cluster assignments considered.
- Each cluster is then independently solved using the OR-tools routing library, significantly reducing the number of possible route combinations and assignments to explore.
- The method leverages the fact that solving smaller subproblems in isolation reduces the combinatorial explosion inherent in large CVRPTW instances.
- The final solution is constructed by concatenating the optimized routes from each cluster, with no inter-cluster optimization performed.
- The approach is designed to be memory-efficient, allowing it to scale to 5000-node instances where OR-tools fails due to memory exhaustion.
Experimental results
Research questions
- RQ1Can recursive clustering of delivery nodes reduce the runtime of CVRPTW solvers without significantly degrading solution quality?
- RQ2How does the performance of Recursive-DBSCAN compare to OR-tools and standard DBSCAN in terms of runtime, total distance, and number of vehicles used?
- RQ3To what extent can clustering enable CVRPTW solvers to scale beyond the 2000-node limit of existing tools like OR-tools?
- RQ4Does reducing the number of clusters through recursive refinement lead to better solution quality than single-pass DBSCAN?
- RQ5Can the method be practically deployed in real-world on-demand logistics systems requiring low-latency route computation?
Key findings
- Recursive-DBSCAN reduced the average runtime of the OR-tools CVRPTW solver by 61% compared to direct optimization on the full node set.
- The total distance of solutions generated by Recursive-DBSCAN was only 3.6% higher than those from OR-tools, indicating strong solution quality preservation.
- The number of vehicles used in Recursive-DBSCAN solutions was 6.4% higher than OR-tools, remaining within a practical and acceptable range.
- Recursive-DBSCAN successfully computed solutions for instances with up to 5000 nodes, whereas OR-tools crashed at 2000 nodes due to memory constraints.
- DBSCAN, in contrast, required significantly more distance (+120%) and vehicles (+150%) than OR-tools, indicating that single-pass clustering is less effective than recursive refinement.
- The recursive clustering approach reduced the number of possible route assignments by partitioning the problem into smaller, independent subproblems, thereby accelerating convergence.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.