About
## The problem it solves
Turning Perishable Waste into Recoverable Value
The Problem
Every day, perishable goods lose value as their shelf life decreases. For distributors handling fruits and vegetables, the challenge extends beyond selling produce. They must coordinate inventory, fluctuating demand, transportation constraints, and delivery deadlines before stock becomes unsellable.
Traditional distribution often relies on fixed destinations, manual planning, and last-minute discounts. When produce becomes unsuitable for premium retail, alternative buyers may still be available, but identifying them and delivering the inventory in time is a complex coordination problem.
The result is a costly imbalance: produce that could still be sold or processed becomes waste because the supply chain cannot respond quickly enough.
Our Solution
CASCADE SALVAGE is an AI-powered decision-support system that transforms perishable distribution into an intelligent, multi-destination recovery network.
Instead of treating approaching expiry as the end of a product's commercial value, Cascade Salvage evaluates where each batch can be sent, how it can get there in time, and which feasible option offers the best economic outcome.
The Three-Tier Cascade
Tier 1 — Premium Retail
Fresh produce is allocated to supermarkets and premium retailers where its quality, remaining shelf life, and market demand justify higher prices.
Tier 2 — Rapid Distribution
Time-sensitive inventory is redirected to local markets, mandis, and quick-commerce suppliers. The system can recommend discounts to accelerate sales before the remaining shelf life runs out.
Tier 3 — Processing and Recovery
Produce that is unsuitable for conventional retail may be redirected to food processors for products such as pulp, purees, and sauces, provided it meets the buyer's acceptance criteria and applicable food-safety requirements.
Intelligence Beyond Allocation
Cascade Salvage combines optimization with AI-assisted decision-making to address four interconnected challenges.
Smart Allocation: Match inventory to destination demand, capacity, prices, and remaining shelf life.
Route Optimization: Evaluate travel time, transportation costs, vehicle capacity, and delivery feasibility before dispatch.
Dynamic Replanning: Recommend revised allocations and routes when delays occur or destinations become unavailable.
Explainable Decisions: Provide understandable reasons for allocation choices, discount recommendations, and identified risks.
The optimization engine evaluates constraints and economic trade-offs, while the AI layer translates its decisions into actionable insights.
Who Benefits?
Produce Distributors: Make faster allocation decisions, reduce avoidable spoilage, and recover value from time-sensitive inventory.
Wholesale Markets: Improve distribution using demand, freshness, and capacity rather than relying solely on conventional allocation methods.
Cold Storage Operators: Prioritize dispatch according to remaining shelf life, destination feasibility, and expected economic value.
Food Processors: Improve visibility into potentially suitable processing-grade produce and coordinate procurement with distributors.
What Makes Cascade Salvage Different?
Conventional discounting attempts to sell produce before it spoils. Cascade Salvage goes further by considering alternative destinations, transportation feasibility, and economic recovery within a single decision-making process.
A batch is not assigned simply because a buyer offers a price. The system evaluates whether the destination can accept the produce, whether delivery is feasible within its usable shelf life, and whether the expected recovery justifies the associated costs.
It also compares its proposed distribution plan against a baseline, using metrics such as expected spoilage, demand fulfillment, transportation costs, and net economic value.
This makes the system's decisions measurable and provides a foundation for evaluating whether optimization delivers meaningful improvements.
Our Vision
Cascade Salvage aims to replace reactive waste management with proactive resource recovery.
By connecting perishable inventory to the most valuable feasible destination before its usable shelf life expires, we seek to reduce avoidable food waste, improve distributor profitability, and make supply chains more responsive to changing conditions.
Our principle is simple: when one market can no longer use a product, the supply chain should intelligently search for the next viable opportunity rather than defaulting to waste.
## Challenges we ran into
Challenges We Ran Into
- Frontend–Backend Integration
Initially, the frontend couldn't communicate with the backend because it was opened directly using `file://`. We resolved this by serving it over HTTP, enabling API communication.
- Multi-Constraint Optimization
Balancing shelf life, transportation time, destination capacity, and profitability was challenging. We implemented feasibility checks before optimizing allocations to prevent unrealistic or loss-making decisions.
- Data Contract and Validation
Ensuring API responses matched the required JSON schema was critical. We established consistent data contracts and validation tests to catch integration errors early.
- Discount and Economic Optimization
Excessive discounts reduced profits, while conservative pricing increased spoilage risk. We introduced urgency-based discount recommendations and economic filters to evaluate whether an allocation was worthwhile.
- Testing and Performance
Creating realistic test data, establishing a fair baseline, and handling edge cases such as unavailable destinations required careful validation. We used a nearest-feasible-destination baseline and explicit failure states to improve evaluation and reliability.
- Time and Team Coordination
With limited development time, ambitious features competed with core functionality. We prioritized the essential optimization engine, defined modular interfaces, and used mock data to enable parallel development.
## Key Takeaways
- Validate constraints and data contracts early.
- Balance economic value with feasibility and spoilage reduction.
- Use realistic baselines and edge-case testing.
- Prioritize a functional MVP and coordinate development through clear interfaces.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.







