Part 1: Core Routing Algorithms — A* & Dijkstra Visualized

When building a high-scale logistics or delivery system, generic algorithm tutorials often lead developers astray. They tell you that A* is universally better than Dijkstra. However, in the real world of Routing Engines and Distance Matrices, the truth is much more complex. In this first part of our masterclass, we will move beyond academic theory. We will visualize the exact lifecycle of a routing request—from snapping a GPS coordinate to the road, to bypassing traffic, and finally calculating routes in milliseconds using Contraction Hierarchies. ...

June 14, 2026 · 6 min · Lê Tuấn Anh

Order Fulfillment Algorithm: Warehouse to Last-Mile

Answer-first: High-throughput e-commerce requires routing order fulfillment using a multi-criteria optimization model. By calculating stock availability, warehouse proximity, and split-shipment constraints via a Vehicle Routing Problem (VRP) solver, we minimize shipping costs and shipping times. What You’ll Learn That AI Won’t Tell You VRP solver performance tuning for dynamic split-shipment constraints. Calculating optimal warehouse dispatch routes using Amazon CONDOR principles. When you place an order on Amazon at 11:47 PM and it arrives at your door the next morning, every step of that delivery was orchestrated by a set of algorithms making real-time decisions across a network of hundreds of warehouses, thousands of drivers, and millions of items in inventory. None of it happens by chance, and none of it is primarily a human decision. ...

June 1, 2026 · 12 min · Lê Tuấn Anh