About
## Challenges we ran into
Greedy planning wasted truck space. Low-value tomatoes filled routes that mangoes could have used. I replaced it with an optimizer that plans all batches and cities together, and kept the greedy version as a comparison tier. No spoilage to show. Both the baseline and the planner spoiled almost nothing. I defined a proper FIFO baseline, added a spoilage model, and added stress scenarios where the plans separate. Discounts needed an assumption. With no data on how buyers respond, I made the demand response an explicit, disclosed assumption, and the app shows results with and without discounts. A CSV that wouldn’t load. Re-saving the routes file added hidden formatting that crashed pandas. I rebuilt the loader to handle it and to name any missing columns.
## The problem it solves
Distributors lose a lot of fresh produce to spoilage because they juggle shelf lives, city demand, prices, travel time and truck capacity by hand.
FreshRoute is a decision-support tool that tells them:
What to dispatch first: the most perishable batches ship first, with a priority label. Where to send it: an optimizer picks the most profitable plan within stock, demand, capacity and shelf-life limits. When to discount: batches at risk of going unsold get clearance discounts.
Every recommendation comes with a plain-language reason. Each plan is checked against all hard limits and compared with a FIFO baseline on spoilage, demand met and net revenue. What-if sliders and stress tests show how plans hold up under delays and demand or price shocks.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.











