Home / Supply chain, technology and AI / Module 4
AI helps you organize the delivery problem, group deliveries and compare cost scenarios. Distances come from a map, and you check the capacity, the time windows and the final decision.
Goal: Check a delivery plan proposed by AI by adding up the load per vehicle, and compare the cost of two plans using kilometers and fixed costs.
Deciding routes and distribution means answering three questions: which customers each vehicle serves, in what order and along which path. Specialists call it the vehicle routing problem: minimizing cost or time while respecting limits such as vehicle capacity, time windows (the hours when the customer receives goods) and the driver's working day. With few stops, you can solve it by hand. With dozens, it gets hard.
Without coding, AI helps you in four ways: organizing the problem (listing data and constraints you forgot), grouping deliveries by zone, proposing a first plan and comparing cost scenarios. Its plans are usually a heuristic: a rule of thumb that gives a reasonable solution quickly, but with no guarantee of being the best. For dozens of stops with real traffic, use a route optimization app. AI is useful for preparing the data and analyzing the results.
There are clear limits. A chat assistant does not know today's traffic or the real distances, and it may make them up. Take distances and times from a map service and paste them into your spreadsheet. Also check that the plan meets the constraints: add up each vehicle's load, check the time windows and make sure each customer appears only once. And ask the drivers: they know about closed streets, difficult access and unloading times that are not in any data.
Measure the result with a few indicators: kilometers per delivery, cost per delivery, vehicle utilization (load ÷ capacity) and compliance with time windows. The plan with the fewest kilometers is not always the best: it may leave the load at 100% with no margin, or arrive late to the most important customer. Also think about contingencies, such as a breakdown or a last-minute cancellation.
The same logic applies to international routes. When the Panama Canal changes the number of transits or the allowed draft, or when a crisis diverts ships to another route, cost and time change. AI does not know which notice is current: check it in the authority's official source and with your freight forwarder, and only then compare scenarios. Also, your customers' addresses may be personal data (Law 29733): use codes or zones when you consult the AI.
| Decision | How AI helps | What you check |
|---|---|---|
| Assign customers to vehicles | Groups by zone and proposes a first plan | That each vehicle's load does not exceed its capacity |
| Order the stops | Suggests a sequence using a rule of thumb | Real distances from a map and time windows |
| Compare scenarios | Calculates costs with the assumptions you give it | That the assumptions are yours and reasonable |
| Plan for contingencies | Proposes protocols for breakdowns or cancellations | That they can be applied in practice |
| Choose an international route | Summarizes alternatives and their impact | Current notices from the authority and the freight forwarder |
Result: The checked plan costs S/ 532.00 per day versus S/ 637.60 for the current plan: S/ 105.60 less per day, about S/ 2,745.60 a month with 26 delivery days. The AI first proposed a plan that exceeded capacity by 300 kg, and adding up the load caught it.
2015
UPS's sustainability page explains that ORION, its route optimization system, calculates the most fuel-efficient route using data from 250 million addresses. By the end of 2015 it was on 70% of the initial U.S. routes, and full rollout was expected by the end of 2016. With all routes in that country, the company projects a reduction of 100 million miles a year and 100,000 metric tons of CO2. These are company projections, not results measured by a third party.
Optimizing routes with data cuts kilometers, but treat announced savings as projections and measure your own.
16/04/2024
On 16/04/2024, the Panama Canal Authority announced new measures: up to 32 daily transits in total, with 24 through the Panamax locks starting May 16 and 8 through the Neopanamax locks starting June 1. It also raised the maximum draft in the Neopanamax locks to 13.71 m (45 feet) from June 15, compared with 13.41 m (44 feet). The note links draft to water availability and the projections for Gatún Lake. It matters because each change affects the times and costs of those who use that route.
Before choosing an international route, confirm the authority's current notices: AI does not know them.
Practise with the calculators, the COMEX Simulator and the review questions on the main page.
Open this topic in the calculator →