Localisation and Circularity in Apple Supply Chains: An Algorithmic Exploration

This paper presents a weighted-sum mixed-integer linear programming model to optimize the UK apple supply chain by balancing economic and sustainability objectives—specifically price, quantity, freshness, and distance—to enhance localisation and circularity while reducing waste and emissions.

Baraa Alabdulwahab, Ruzanna Chitchyan

Published 2026-03-05
📖 5 min read🧠 Deep dive

Imagine the UK apple supply chain as a massive, chaotic potluck dinner happening every day. You have hundreds of farmers (the hosts) bringing baskets of apples, and hundreds of shops, juice makers, and restaurants (the guests) with empty plates waiting to be filled.

The problem? Apples are perishable. If they sit too long, they rot. If they travel too far, they get bruised and cost more to ship. And if the host brings 500 apples but the guest only wants 5, or if the host wants $2 a pound and the guest only has $1, the apples go to waste.

This paper by Baraa Alabdulwahab and Ruzanna Chitchyan is essentially a smart recipe book (an algorithm) designed to help the potluck run smoothly, save money, and ensure no apples are thrown away.

Here is the breakdown of their solution in simple terms:

1. The Core Problem: The "Wasteful Potluck"

In the real world, apples often get wasted because the matching process is messy.

  • Too far: An apple from Scotland travels to London, burning fuel and getting old.
  • Wrong price: A farmer wants a high price, but the buyer can't afford it, so the apple rots in the field.
  • Wrong timing: A buyer needs fresh apples for tomorrow, but the only available ones are expiring next week (or vice versa).

The authors wanted to build a digital "matchmaker" that doesn't just look at price, but also cares about local sourcing (keeping food local) and freshness (using the oldest apples first).

2. The Solution: The "Weighted Scorecard"

The authors created a computer program that acts like a judge for every possible match between a farmer and a buyer.

Instead of just picking the cheapest deal, the program gives every potential trade a score based on four things:

  1. Price: Do the buyer and seller agree on the cost?
  2. Quantity: Does the basket size match the plate size? (No one wants to buy 500 apples if they only need 5).
  3. Freshness: Is the apple fresh enough for the buyer's needs? (Prioritizing apples that are about to expire).
  4. Distance: How far does the truck have to drive? (Shorter is better for the planet).

The Magic Knob:
The most important part of their system is that the "judge" has a knob (or weights) that can be turned.

  • If you turn the knob toward "Save the Planet," the computer prioritizes short distances and fresh apples, even if it costs a bit more.
  • If you turn the knob toward "Save Money," it prioritizes the best price, even if the truck has to drive further.
  • If you turn it toward "Feed Everyone," it tries to fill as many plates as possible, even if the apples are split up into tiny portions.

3. The "Leftover" Strategy: The Second Chance

In a normal potluck, if you can't find a match for a basket of apples, you throw them away.
In this paper's system, nothing is thrown away immediately.

If an apple basket doesn't get matched in the first round, the system puts it in a "holding pen" and tries to match it again in the next round.

  • If the apples are still fresh, they get another chance to find a home.
  • If they are getting too old, the system suggests a Plan B: Maybe they can't be sold as fresh dessert apples, but they can be sent to a juice factory or animal feed. This is the "Circular Economy" part—using the apple for something rather than the trash.

4. What They Found (The Results)

The authors tested this system with real data from UK apple farmers and buyers. Here is what they discovered:

  • There is no "Perfect" Setting: You can't just set the knob to "Best" and be done. If you prioritize distance (local food), you might end up with fewer apples sold because local buyers can't buy enough to clear the farmer's whole basket. If you prioritize quantity, you might have to ship apples very far.
  • The Network Matters: The results depend heavily on where the farmers and buyers live. If everyone is clustered in one area (like Kent), "local" matching works great. If they are spread out, it's harder.
  • "Good Enough" is Okay: The computer can't find the perfect mathematical solution for millions of apples in a split second. But it found "good enough" solutions very quickly. It's better to have a 95% match that happens instantly than a 100% match that takes too long.
  • Transparency is Key: Because the system shows why a match failed (e.g., "Price was too low" or "Too far away"), farmers and buyers can fix their own problems. They can say, "Oh, I see I'm too expensive; I'll lower my price for the next round."

The Big Takeaway

This paper proves that we don't need magic to stop food waste; we need smart, flexible rules.

By using a simple computer algorithm that can be tuned to care about the environment, the economy, or fairness, we can turn a chaotic food market into a well-organized potluck where:

  1. Apples stay fresher.
  2. Trucks drive less.
  3. Farmers get paid.
  4. And almost nothing ends up in the trash.

It's about building a digital system that understands that an apple is not just a commodity; it's a resource that needs to be used wisely.