Ta'am طعام

Surplus food from Riyadh's weddings, rescued before it stops being safe.

On a Thursday night, hundreds of halls, hotels and restaurants have food left over at unpredictable times, with only hours before it is unsafe. Ta'am plans every volunteer's route in real time with a solver written from scratch, and shares the food fairly between charities. Below, the same night runs twice: once dispatched the way a group chat does it, once by Ta'am. Or run a pilot night with real venue, volunteer and charity apps.

+22%more meals rescued than greedy dispatch, same volunteers
−18%driving, and 47% more meals per driving hour
0deliveries after the food-safety deadline, across every night tested
Loading Riyadh's roads and the planner (Go → WebAssembly)…
21:00THURSDAY · WEDDING SEASON
hot surplus (ring = time left)chilled surplus volunteer to pickupcarrying food charity (bar = filled)

Controls

Same night, two dispatchers

The browser runs a lighter search (12 iterations, re-planning at most once a minute); the results below use the full planner.

Custody log

    Every handover is hash-chained to the one before it, so a donor can prove where their food went and nobody can quietly rewrite the record.

    Results · 10 simulated Thursday nights in wedding season

    How it works

    A digital twin of Riyadh

    12,878 intersections and 19,840 one-way-aware road segments from OpenStreetMap, 567 sites, and evening traffic that peaks with wedding hours. Venues have persistent habits a forecast can learn; each night adds chance.

    A solver written from scratch

    Adaptive large neighbourhood search (Ropke & Pisinger): three ways to tear the plan apart, two ways to rebuild it (greedy and regret), simulated annealing, adaptive weights. It re-plans every volunteer in about 90 ms whenever anything changes.

    Food safety is a hard rule

    Every batch carries a clock: 2 hours for hot food, 4 hours for chilled food in a fridge vehicle to a charity with a fridge. The solver can never plan a late delivery, and the custody log proves it afterwards.

    Fair, not just fast

    Charities are valued with proportional fairness: the next portion is worth more to a charity that has little than to one that is nearly full. The nearest charity no longer gets everything.