PM Portfolio

RouteOptima AI

"AI-Powered Last-Mile Delivery Optimization"

A Routific-inspired route optimization dashboard that uses AI orchestration to coordinate spatial clustering and vehicle routing solvers for last-mile logistics.

48K+
Orders / Month
4
Dashboard Views
2-Wave
Batch System
Live
Map Visualization

Last-Mile Logistics Is Broken

Manual route planning can't keep up with 1,600 daily orders across two hubs, tight time windows, and complex capacity constraints.

🕐

Time Window Violations

Without automated constraint checking, drivers frequently arrive outside customer time windows, leading to failed deliveries and customer complaints.

📍

No CrossDock Support

Existing tools don't model cross-dock operations where inbound shipments are sorted and directly loaded onto outbound vehicles — forcing manual workarounds.

No AI-Assisted Decisions

Route planners rely on gut feel and spreadsheets instead of AI-powered reasoning that considers time windows, capacity, and geographic clustering simultaneously.

Who We're Building For

Primary User

Alex, Logistics Ops Manager

Manages daily delivery schedules for a food distribution company in Montreal. Juggles 1,600 orders/day across multiple drivers and waves.

  • Minimize total route distance and driver overtime
  • Ensure all deliveries hit customer time windows
  • Get optimized schedules in minutes, not hours
Secondary User

Maria, Dispatch Coordinator

Handles real-time adjustments — reassigning orders when drivers are delayed or loads change. Needs to quickly visualize routes and resequence stops.

  • Drag-and-drop stop reordering without full re-optimization
  • See driver load distribution at a glance
  • Filter and track orders by wave, driver, or status
Extended User

James, Fleet Owner

Oversees multiple depots and wants data-driven decisions on fleet sizing and route efficiency. Evaluates AI tools to reduce last-mile costs.

  • Compare AI-optimized vs. rule-based planning
  • Track capacity utilization across routes
  • Justify ROI of AI-powered logistics tools

From CSV to Optimized Routes

1

Upload Orders

Manager uploads a CSV of 1,600 daily orders across two hubs with addresses, time windows, and quantities.

⚠ CSV format varies across systems
2

Configure Constraints

Set wave cutoffs, depot location, max pallets per route, batch sizes, and route count.

⚠ Wrong constraints cascade into bad results
3

Run AI Optimization

Geographic clustering groups nearby stops, then constraint-based routing solvers sequence and assign drivers.

⚠ Speed vs. quality tradeoff at 300 orders
4

Review & Adjust

Inspect routes on the map, review driver stats, drag-and-drop to resequence stops manually.

⚠ AI may miss local knowledge

What Users Need to Accomplish

As a logistics manager
I want to upload a CSV and get AI-optimized routes in minutes
So that I don't spend hours manually planning delivery schedules.
As a dispatch coordinator
I want to visualize all routes on an interactive map with color-coded drivers
So that I can spot geographic overlaps and rebalance assignments.
As a fleet owner
I want to compare AI-optimized vs. rule-based route plans
So that I can measure efficiency gains and justify the technology investment.
As a logistics manager
I want the system to respect time windows, capacity, and wave cutoffs automatically
So that I don't have to manually check every constraint.
As a dispatch coordinator
I want to drag-and-drop stops to reorder a route after optimization
So that I can apply local knowledge without re-running the entire engine.

AI Meets Operations Research

AI
🚀

AI-Orchestrated Optimization

An LLM reasoning engine orchestrates spatial clustering and vehicle routing solvers — combining machine learning with operations research.

✓ 1,600 orders/day in a single pass
CORE
🗺

Interactive Route Map

Leaflet-based map with color-coded routes, depot marker, stop popups, and real road geometry via OSRM routing.

✓ Real-time polyline rendering
CORE
📊

Driver Stats Dashboard

Recharts analytics showing stops per driver, quantity load distribution, and wave breakdown with tabular summaries.

✓ Instant visual load balancing
UX
📋

Drag-and-Drop Reordering

Manually resequence stops after optimization with grip handles, automatic recalculation, and distance updates.

✓ Zero re-optimization for adjustments
CORE

Configurable Constraints

Full control over wave cutoffs, batch sizes, pallet limits, route count, depot coordinates, and logging levels.

✓ 12 operational parameters

System Design & Data Flow

User Layer
React 19 SPA
4-View Dashboard
Leaflet Map
Route Visualization
Recharts
Driver Analytics

User Actions & CSV Upload
Application Layer
Vite
Build & Dev Server
TypeScript
Type-Safe Models
CSV Parser
Client-Side Upload

Order Data & Constraints
AI Orchestration Layer
LLM Engine
Orchestrator
Spatial Clustering
Geographic Grouping
Routing Solver
Constraint Optimization

Optimized Assignments & Reasoning
Data Layer
Client State
React useState
Env Config
.env.local
Haversine Calc
Distance Metrics
React 19 TypeScript Vite Leaflet React-Leaflet Recharts Lucide React LLM API OSRM

🚀 AI + OR Hybrid

LLM orchestrates traditional operations research solvers, combining reasoning with mathematical optimization for superior results.

📊 Real-Time Feedback

Driver stats and route maps update instantly after optimization, giving planners immediate visibility into load balance and coverage.

⚙ Fully Configurable

12 operational parameters let planners tune the system to their specific fleet, capacity, and scheduling constraints without code changes.