top of page

When a Store Turns Away a Truckload of Food, a Purdue Algorithm Picks the Food Bank, and It Has Kept More Than 50 Tons Out of Landfills

Writer: GreenThumbHobbies
GreenThumbHobbies
5 minutes ago
5 min read

The day after Thanksgiving is a good time to think about the food that never made it to the table. Not the leftovers in the fridge, but the loads that were turned away at a loading dock before anyone could buy them.

Picture a truck that shows up with pumpkins on Nov. 1, after the store no longer needs them. Or a load of canned soup that arrives after the only forklift operator has gone home. Or a trailer of 12 pallets of lettuce in which one pallet has spilled, and cleaning it up would cost more than the other 11 are worth to the buyer. Those are the examples Purdue University used in a Nov. 9 news release about Alex Psomas, an assistant professor of computer science, and a program called Food Drop.

Food Drop takes the guesswork out of what a driver does next. According to Purdue, the system checks in real time which food banks are open, how much space they have and what food they need, then weighs that against where the truck is to find the closest place where the food can do the most good. So far, Purdue says, Psomas has worked with two nonprofits in two Midwestern states and helped keep more than 50 tons of food out of landfills.

“This is one of the ways that AI can help society,” Psomas said in the release. “We can code and automate a system that optimizes distribution of food that’s otherwise just getting thrown away.”

A problem drivers know well

Food Drop did not begin as a computer science project. It is a program of Indy Hunger Network, an Indianapolis nonprofit, and it started as a pilot in 2017. Transport Topics, a trucking industry news outlet, reported in 2019 that the five-month pilot salvaged 87,000 pounds of food before the program expanded statewide.

Loads get rejected for ordinary reasons. Food Drop’s FAQ lists refrigerated containers that got too cold or too warm, equipment failures that cause delays, damaged products and ordering errors, and notes that much of the food in a rejected load may still be edible. In the 2019 Transport Topics story, Indy Hunger Network spokeswoman Alex Sindorf described a store refusing an entire truckload of bananas because the fruit was slightly too ripe, and estimated that 2% to 5% of food loads are rejected at stores.

When that happens, the driver or the shipping company is often left to decide what to do. Psomas told Purdue that new drivers on online message boards sometimes ask what to do with a trailer of frozen chicken, and that while some people suggest a food bank, many replies say, “Just drop it off at a landfill. Just get it over with.”

“Of course no one wants to waste the food,” he said. “We want to make it easy to do the right thing.”

From a staff member’s phone to an algorithm

Before Purdue got involved, matching was done by hand. A research paper by Psomas and Purdue Ph.D. students Marios Mertzanidis and Paritosh Verma, posted to the arXiv preprint server, explains that the program’s Food Assistance Programs Manager made each decision, checked whether a food bank was available and willing to take the load, and passed contact information between the two sides. The paper reports that Food Drop matched an average of 10,447 pounds of food a month, with some months reaching 62,000 pounds.

It also found a fairness problem. The researchers wrote that human-made allocations were often skewed, with a small share of possible recipients getting most of the donations. That matters because food banks serve different counties, and a load that always goes to the same warehouse does not reach people elsewhere.

The automated platform went live in April 2024, according to the paper. A driver fills out a form with their location, destination, departure time, the weight and type of food, the reason it was rejected and a photo. The system picks a food bank and sends its representative a text message with a link to review the load and accept or decline. If the food bank declines, the system tries another; after the fifth refusal, the paper says, a person takes over. Once a match is made, the driver gets a text with the food bank’s contact information.

The matching rule is simple. The system finds the food bank closest to where the driver is starting and the one closest to where the driver is headed, then sends the load to whichever of the two has received less food so far, measured against the food-insecure population it serves. Psomas calls it an application of “the power of two choices,” a well-known idea in computer science. In simulations using Feeding America’s Map the Meal Gap data for Indiana, the paper reports, drivers were asked to travel only about 12% farther on average than their shortest route through a food bank, while the distribution between food banks stayed close to even.

Food Drop’s FAQ credits the matching system to Psomas, Mertzanidis and Verma and says the work was supported by the National Science Foundation and a Google AI for Social Good award.

What it asks of drivers and food banks

For a driver, the program is meant to be quick. Food Drop’s website says donors fill out a short form and get instructions by text, and drivers who cannot text can call 1-855-FOODROP. The FAQ says there is no cost, no membership and no app to download. Donors receive a tax receipt and help unloading, and the FAQ points to the 1996 Bill Emerson Good Samaritan Food Donation Act, which protects good-faith food donations to nonprofits from liability.

There are limits. Food Drop asks drivers not to donate loads that are more than 25% spoiled, so nonprofits do not end up paying to dispose of them. Participating food banks must be able to receive at least four pallets at a time.

For food banks, the selling point is that the system runs without adding staff work. “Food banks are overstretched and overworked,” Psomas told Purdue. “They set it up, using our system, and it just runs on its own.”

Spreading beyond Indiana

The second partner is in Ohio. A Nov. 23 report by Bedford, Indiana, radio station WBIW identified it as Last Mile Food Rescue in Cincinnati. On its website, Last Mile says it picks up large and rejected loads from drivers traveling through Ohio, Northern Kentucky and Eastern Indiana, using two refrigerated trucks and three refrigerated vans, and that it has rescued more than 17 million pounds of excess food since 2020.

Psomas and doctoral candidate Athina Terzoglou have made the algorithms open source, according to Purdue and WBIW. “My goal is to have somewhere to put them all, so that anyone who needs it can grab the program and use it, plug and play,” Psomas said.

That is the part with reach beyond the Midwest. Rejected loads are not unique to Indiana or Ohio, and many regions already have food banks with docks and forklifts. What has often been missing is a fast, fair way to connect the two while a driver is still on the road.

For a trailer full of good lettuce and a driver with a schedule to keep, a text message pointing to the right dock can be the difference between a food bank and a landfill.

Sources: Purdue University News, “Purdue computer science researcher reroutes truckloads of excess food from landfills to food pantries,” by Brittany Steff, Nov. 9, 2026. WBIW, “Purdue researcher uses computer science to redirect excess food to pantries,” Nov. 23, 2026. Food Drop (Indy Hunger Network), home page and Frequently Asked Questions. Mertzanidis, Psomas and Verma, “Automating Food Drop: The Power of Two Choices for Dynamic and Fair Food Allocation,” arXiv:2406.06363. Transport Topics, “Truckers Help Fight Hunger in Indiana With Food Drop Program,” by Eleanor Lamb, March 7, 2019. Last Mile Food Rescue, “Large Load and Rejected Load Rescue.”

Cover photo: Pallets and a forklift inside a food bank warehouse, U.S. Department of Agriculture photo, public domain, via Wikimedia Commons. The photo was taken at the Central Pennsylvania Food Bank, which is not part of Food Drop.

Comments


© 2025 by Adam Raymond

  • Grey Facebook Icon
  • Grey Instagram Icon
  • Grey Pinterest Icon
  • Grey Twitter Icon
bottom of page