← Latest papers
💻 computer science

A Metaheuristic Solution for the Capacitated Vehicle Routing Problem: Empirical Evaluation of Flexible Capacity Constraints via Ant Colony Optimisation

This study demonstrates that an Ant Colony Optimisation approach incorporating flexible capacity constraints significantly outperforms a geographic clustering baseline in a real-world Colombian inbound logistics network, achieving substantial reductions in fleet size, travel distance, and operating costs while maximizing vehicle utilization.

Original authors: Joseph Javier Sánchez Acuña

Published 2026-06-29
📖 5 min read🧠 Deep dive

Original authors: Joseph Javier Sánchez Acuña

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are the manager of a delivery company in Colombia. You have a central warehouse in a town called Guadalajara de Buga, and you need to pick up packages from 30 different locations scattered all over the country—from coastal ports to mountain towns. You have a fleet of 10 identical trucks, and each truck is officially rated to carry 150 packages.

However, your company has a smart rule: if the math works out perfectly, a truck can carry a little extra—up to 5% more (about 157 packages)—without breaking the law or the truck. This is your "flexible capacity."

The problem is that your current system for planning routes, called "Rout Now," is a bit rigid. It works like a teacher assigning students to groups based on who sits closest to each other in the classroom (using a straight-line map). Once the groups are formed, it sends a truck to pick them up. Because it groups people by "straight lines" rather than "actual roads," it often ends up with some trucks half-empty and others overloaded, forcing you to use all 10 trucks even when you might only need 8.

The New Solution: The "Ant Colony" Approach

The author, Joseph Javier Sánchez Acuña, tested a new, smarter way to plan these routes using a computer program inspired by how ants find food. This is called Ant Colony Optimisation (ACO).

Here is how the paper explains the difference using simple concepts:

1. The "Straight Line" vs. The "Real Road"

  • The Old Way (Rout Now): Imagine trying to plan a road trip by drawing straight lines on a piece of paper. You might think two towns are close because they are next to each other on the map. But in reality, to get between them, you might have to drive over a huge mountain or take a long detour. The old system ignores the actual roads and just groups stops by their location on a flat map.
  • The New Way (Ants): The new system looks at the actual road network (using a digital map called OpenStreetMap). It knows that sometimes the "closest" town on a map is actually the hardest to reach by road.

2. The "Packing" Analogy

  • The Old Way: The old system tries to fill the trucks by grabbing the nearest neighbors first. It's like trying to pack a suitcase by throwing in the closest items without looking at the shape of the bag. You end up with gaps and wasted space, so you need to open a second suitcase (a second truck) even though you have room in the first one.
  • The New Way: The ant algorithm is like a master packer. It doesn't just grab the nearest item; it looks at the whole suitcase. It asks, "If I put this heavy box here, can I still fit that lighter box there?" It uses the "flexible capacity" (the extra 5% room) very carefully. It builds the route one stop at a time, checking constantly if the truck is getting too full. If a truck is almost full but has just enough room for one more stop, the ant takes it. If not, it closes that truck and starts a new one.

3. The Results: Packing More Efficiently

The author ran this new system against the old one using real data from 10 different busy days. Here is what happened, especially on the busiest day (Scenario S-3):

  • Fewer Trucks: The old system used all 10 trucks. The new ant system only needed 8 trucks. That's a 20% reduction in the fleet needed.
  • Less Driving: The trucks drove 20% less distance (saving about 2,232 kilometers).
  • Money Saved: Because they drove less and used fewer trucks, the fuel cost dropped by 16%.
  • Fuller Trucks: The old system left trucks running at about 79% capacity (lots of empty space). The new system filled them up to 99.5%, meaning almost every inch of the truck was used.

4. Why It Worked (The "Secret Sauce")

The paper argues that the magic wasn't just that the new system was "smarter" in a general sense. The magic was that it was allowed to use the flexible capacity (the 5% extra room) in a coordinated way.

The old system couldn't do this because it locked the trucks into specific geographic groups before it even started planning the route. It was like trying to rearrange furniture in a room after you've already painted the walls; the groups were fixed. The ant system, however, built the route and the group at the same time. It could say, "This truck is full, but if I squeeze in this one extra stop and use the 5% extra space, I can save an entire truck."

The Bottom Line

The study proves that for a logistics company in a place with tricky roads (like Colombia's mountains), using a bio-inspired computer program (Ant Colony Optimisation) that respects real road distances and uses flexible loading rules is significantly better than the old method of grouping by straight-line distance.

The author concludes that this isn't just a lucky guess; the results were tested 20 times for each scenario and proved statistically significant. The new method saves money, saves fuel, and reduces the number of trucks needed, all by packing the "suitcases" (trucks) more intelligently.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →