Skip to content
FreshRoute

FreshRoute

Where freshness meets routes

Created on 13th October 2026

•

FreshRoute

FreshRoute

Where freshness meets routes

The problem FreshRoute solves

In India, an estimated 3–8% of fresh produce spoils after leaving the farm, during storage, transit, and distribution. Warehouse managers wake up every morning facing a high-stakes puzzle: dozens of perishable fruit and vegetable batches, limited trucks, varying transit temperatures, and destination markets with different prices and demand caps.

Most distributors rely on simple intuition or basic rules like FIFO (First-In, First-Out), which often send aging produce on long routes where it rots before it can be sold.

FreshRoute is an intelligent daily dispatch planner that solves this:

• Shelf-Life Aware Allocation : Matches each batch's remaining hours of shelf life against real transit times, temperatures, and destination market requirements so produce
arrives fresh and sellable.
• Maximum Profit & Minimum Waste: Uses mathematical optimization (Mixed-Integer Linear Programming) to find the best allocation of trucks and inventory in seconds, beating standard FIFO/FEFO baselines by cutting spoilage while maximizing net revenue.
• Proactive Markdowns: Automatically spots batches at risk of expiring unsold and recommends optimal discounts before spoilage occurs.
• Actionable for Real Warehouses: Turns complex solver outputs into clear truck-loading sheets and plain-English WhatsApp messages for drivers.
• Sub-3-Second Re-planning: When roads flood, trucks break down, or demand spikes unexpectedly, FreshRoute freezes shipments already on the road and re-optimizes the rest in seconds.

Challenges we ran into

1. Combinatorial Explosion vs. Solve Time:
When scaling to hundreds of batches, destinations, and vehicles, the optimization problem can take minutes or hours to solve. Warehouse managers only have minutes to make dispatch decisions. We overcame this by writing an upfront feasibility pre-filter and fleet-pooling layer that prunes impossible journeys (e.g where transit time exceeds shelf life) before hitting the solver, bringing solve times down to seconds with a guaranteed greedy fallback so operations never stall.

2. Making Optimization Explainable to Floor Managers:
A mathematical solver outputs a table of IDs and numbers, which warehouse operators won't trust blindly. We designed "Reason Cards" for every shipment that evaluate the next-best alternative destination and explain why FreshRoute made its choice in plain English (e.g., "Sent to Pune instead of Delhi: Delhi leaves only 9 hours of shelf life, missing the required 24-hour retail sales window").

3. Mid-Day Re-planning with In-Flight Trucks:
When unexpected delays occur midway through the day, trucks that have already departed cannot be recalled. We designed a residual re-solver that freezes past trips as immutably "in-flight" and recalculates dispatch plans only for remaining unassigned inventory and idle fleet within a strict 2-second time limit.

4. Independent Audit & Trust:
To ensure the optimizer never cheats on constraints, we decoupled our mathematical engine from an independent validator that re-implements the physics and constraints from scratch to verify zero hard violations on every generated plan.

Discussion

Builders also viewed

See more projects on Devfolio