1 min readfrom Machine Learning

What actually breaks when you try to scale vehicle routing to ~1M stops? [R]

Our take

Scaling vehicle routing to approximately one million stops presents unique challenges that extend beyond the routing algorithm itself. My recent experiments revealed that system structure plays a crucial role in performance. Key factors impacting scalability include clustering that considers constraints, limiting route optimization costs, managing inconsistencies at cluster boundaries, and minimizing redundant distance calculations. Surprisingly, I observed nearly linear scaling under these conditions, a departure from typical expectations.

I’ve been experimenting with scaling last-mile routing problems beyond typical sizes (tens of thousands of stops).

Something interesting I ran into:

At some point, the bottleneck stops being the routing algorithm itself and becomes how the system is structured around it.

A few things that seemed to matter more than expected:

- clustering that accounts for constraints, not just geometry

- limiting route optimization cost as a bounded step

- handling inconsistencies at cluster boundaries

- avoiding recomputing distances repeatedly

What surprised me is that the system started showing close to linear scaling in practice, which is not what I expected given how these problems usually behave.

Curious if others have seen similar behavior when pushing VRP-type problems to larger scales, or if there are known approaches that deal with this differently.

submitted by /u/Tight_Cow_5438
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Tagged with

#financial modeling with spreadsheets#rows.com#natural language processing for spreadsheets#generative AI for data analysis#Excel alternatives for data analysis#vehicle routing#last-mile routing#VRP#scaling#clustering#route optimization#linear scaling#routing algorithm#constraints#recomputing distances#bottleneck#cost#inconsistencies#cluster boundaries#geometry