Ingka Group acquires Locus! Built for the real world, backed for the long run. Read here>Read the full story>
Ingka Group acquires Locus! Built for the real world, backed for the long run. Read the full story
locus-logo-dark
Schedule a demo
Locus Logo Locus Logo
  • Platform
    • Transportation Management System
    • Last Mile Delivery Solution
  • Products
    • Fulfillment Automation
      • Order Management
      • Delivery Linked Checkout
    • Dispatch Planning
      • Hub Operations
      • Capacity Management
      • Route Planning
    • Delivery Orchestration
      • Transporter Management
      • ShipFlex
    • Track and Trace
      • Driver Companion App
      • Control Tower
      • Tracking Page
    • Analytics and Insights
      • Business Insights
      • Location Analytics
  • Industries
    • Retail
    • FMCG/CPG
    • 3PL & CEP
    • Big & Bulky
    • Other Industries
      • E-commerce
      • E-grocery
      • Industrial Services
      • Manufacturing
      • Home Services
  • Resources
    • Guides
      • Reducing Cart Abandonment
      • Reducing WISMO Calls
      • Logistics Trends 2024
      • Unit Economics in All-mile
      • Last Mile Delivery Logistics
      • Last Mile Delivery Trends
      • Time Under the Roof
      • Peak Shipping Season
      • Electronic Products
      • Fleet Management
      • Healthcare Logistics
      • Transport Management System
      • E-commerce Logistics
      • Direct Store Delivery
      • Logistics Route Planner Guide
    • Product Demos
    • Whitepaper
    • Case Studies
    • Infographics
    • E-books
    • Blogs
    • Events & Webinars
    • Videos
    • API Reference Docs
    • Glossary
  • Company
    • About Us
    • Global Presence
      • Locus in Americas
      • Locus in Asia Pacific
      • Locus in the Middle East
    • Analyst Recognition
    • Careers
    • News & Press
    • Trust & Security
    • Contact Us
  • Customers
en  
en - English
id - Bahasa
Schedule a demo
  1. Home
  2. Blog
  3. Travelling Salesman Problem Is Not A Problem, It’s A Herculean Task.

Route Optimization

Travelling Salesman Problem Is Not A Problem, It’s A Herculean Task.

Avatar photo

Team Locus

Apr 22, 2018

5 mins read

Travelling Salesman Problem

There is one problem that never goes out of fashion even though people in mathematics have tried to optimize solutions for it over decades. Yes, decades! To nobody’s surprise, the Travelling Salesman Problem (read: TSP) remains to be one of the most fascinating and complicated algorithms to innovate upon. The solutions to this problem only have a chance of remaining straightforward if the problem stops evolving, but this is not the case.

What is the objective of TSP?

The problem statement has remained the same over the years: “Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city and returns to the origin city?” In 1930, right in the very beginning, this was one of the most well-formulated optimizations which is still a powerful solution for logistics-related problems. It was only later that variations in the TSP problems made a disruptive difference in many other areas (one of them even being DNA sequencing).

TSP is no longer problem of the salesman of a company travelling to multiple cities in the least amount of time, using the least amount of money, while somehow travelling the shortest distance. It is about the world gearing towards Industry 4.0.

While we begin to figure out how to integrate the most cutting edge technology in manufacturing, TSP already gave us access to a wide variety of operations. Do you want to design an efficient micro-chip? A TSP variation could do that. Do you want to optimize the set-up cost of a paint manufacturing plant by rearranging the vicinity of colours? An asymmetric version of TSP can do that.

Is the travelling salesman problem solvable?

But let’s consider the basic problem itself. If we were to optimize the logistics of a travelling salesman, the present day application of it has the most monetary pressure on it than ever in history.

Even if you kept the problem within city limits, it would be a problem big enough to become news.

Please note, this is a real problem at a time when we prefer convenience over everything. A country’s GDP rests on its e-commerce purchases, something that TSP enthusiasts didn’t see coming five decades ago.

Fun fact, India’s e-commerce industry would have contributed $300bn by 2030, and no matter how many digital payments fly around and sale-season orders are recorded, the entire brunt of it rests on the backseat of a delivery bike/transport. There are tremendous costs associated with this, especially with return logistics being a pain-point.

What complicates the TSP logic further is the ground reality where the whole market is dependent upon cash-on-delivery, making it impossible to tell if a delivery will earn its cost back sometimes.

Another place where this problem manifests is in ride-sharing. Someone who carpools to work heavily depends on affordable and comfortable transportation, and this twice-a-day practice that happens during rush hour is not easy on anyone. There is added time and pressure for picking up each passenger, the constant deviation from the ‘main route’ to drop off the others, and the stress associated with it cannot be optimized.

Using the Hungarian method

If you want to feel the intensity of the problem closely, try solving it using the Hungarian method. Let’s assume that one delivery executive makes 15 stops in a day, it would still be too large to optimize by hand. And now let us consider the ride-sharing example where the car has to make four stops: picking up three passengers, and returning to the point of origin. Assume and allocate costs between rides, do not repeat the same route twice and solve the TSP to arrive at the minimum cost.

The calculation seems quite simple (for now), but try scaling the execution of such ‘optimised’ routes to handle deliveries worth $300 bn. It would not only blow your mind but quite possibly the RAM of your computer too.

It seems a bit unfair that such a big computational problem which, in all fairness, has taken decades to solve has suddenly grown cancerously large. And the life of this rests in the hands of a few.

Bottom Line:

The good news, however, is that there is immense scope of optimizing such routes with the help of technology. It’s just a matter of asking the right questions?—?which, what, how and why. Which entrepreneurs discover what problem first and how/why they solve it.

The e-commerce brands may not know it yet, but a solution to this problem exists. A solution where you won’t have to make any of the calculations to find the most effective, efficient, productive way of getting your products to your customers on time, thereby earning lifetime loyalty for your brand. Don’t believe it? Try LOCUS.

Want to solve real-life TSP and VRP? Check out the Locus

Schedule Demo with Locus

This post was authored by: Sreshtha Das

MEET THE AUTHOR
Avatar photo
Team Locus

Written by the Locus Solutions Team—logistics technology experts helping enterprise fleets scale with confidence and precision.

Related Tags:

Previous Post Next Post
Importance of supply chain design post GST

Supply Chain Optimization

5 Changes You Need In Your Supply Chain Design Post-GST

Avatar photo

Team Locus

Feb 26, 2018

Key Takeaways With the introduction of Goods & Service Tax (GST) initiatives, it has become critical for businesses to embrace the inevitable change and redesign their logistics flow to optimise and increase efficiency in supply chain. Supply chain now involves more than just ‘buying and selling’ of goods. Designing a seamless logistics network determines the […]

Read more
On-Time and In-Full Delivery in Supply Chain

Blog

On-Time and In-Full Delivery: Why Balancing Both is Important for You

Avatar photo

Team Locus

Jun 25, 2018

Key Takeaways On-Time and In-Full Deliveries are the benchmarks of an optimal supply chain. With logistics costs rising, increasing Full Truck Loads (trucks which are almost completely filled) has always been an area of emphasis for logistics managers, often to the point of compromising on the other half?—?On-Time. Being there on-time is as important as […]

Read more

Travelling Salesman Problem Is Not A Problem, It’s A Herculean Task.

  • Share iconShare
    • facebook iconFacebook
    • Twitter iconTwitter
    • Linkedin iconLinkedIn
    • Email iconEmail
  • Print iconPrint
  • Download iconDownload
  • Schedule a Demo
glossary sidebar image

Is your team spending more time on fixing logistics plan than running the operation?

  • Agentic transportation management from order intake to freight settlement
  • Route optimization built on 250+ real-world constraints
  • AI-driven dispatch with automatic execution handling
20% Cost Reduction
66% Faster Planning Cycles
Schedule a demo

Insights Worth Your Time

Blog

Packages That Chase You! Welcome to the Age of ‘Follow Me’ Delivery

Avatar photo

Mrinalini Khattar

Mar 25, 2025

AI in Action at Locus

Exploring Bias in AI Image Generation

Avatar photo

Team Locus

Mar 6, 2025

General

Checkout on the Spot! Riding Retail’s Fast Track in the Mobile Era

Avatar photo

Nishith Rastogi, Founder & CEO, Locus

Dec 13, 2024

Transportation Management System

Reimagining TMS in SouthEast Asia

Avatar photo

Lakshmi D

Jul 9, 2024

Retail & CPG

Out for Delivery: How To Guarantee Timely Retail Deliveries

Avatar photo

Prateek Shetty

Mar 13, 2024

SUBSCRIBE TO OUR NEWSLETTER

Stay up to date with the latest marketing, sales, and service tips and news

Locus Logo
Subscribe to our newsletter
Platform
  • Transportation Management System
  • Last Mile Delivery Solution
  • Fulfillment Automation
  • Dispatch Planning
  • Delivery Orchestration
  • Track and Trace
  • Analytics and Insights
Industries
  • Retail
  • FMCG/CPG
  • 3PL & CEP
  • Big & Bulky
  • E-commerce
  • E-grocery
  • Industrial Services
  • Manufacturing
  • Home Services
Resources
  • Use Cases
  • Whitepapers
  • Case Studies
  • E-books
  • Blogs
  • Reports
  • Events & Webinars
  • Videos
  • API Reference Docs
  • Glossary
Company
  • About Us
  • Customers
  • Analyst Recognition
  • Careers
  • News & Press
  • Trust & Security
  • Contact Us
  • Hey AI, Learn About Us
  • LLM Text
ISO certificates image
youtube linkedin twitter-x instagram

© 2026 Mara Labs Inc. All rights reserved. Privacy and Terms

locus-logo

Cut last mile delivery costs by 20% with AI-Powered route optimization

1.5B+Deliveries optimized

99.5%SLA Adherences

30+countries

Trusted by 360+ enterprises worldwide

Get a Complimentary Tailored Route Simulation

locus-logo

Reduce dispatch planning time by 75% with Locus DispatchIQ

1.5B+Deliveries optimized

320M+Savings in logistics cost

30+countries served

Trusted by 360+ enterprises worldwide

Get a Complimentary Tailored Route Simulation

locus-logo

Locus offers Enterprise TMS for high-volume, complex operations

1.5B+Deliveries optimized

320M+Savings in logistics cost

30+countries served

Trusted by 360+ enterprises worldwide

Get a Complimentary Network Impact Assessment

locus-logo

Trusted by 360+ enterprises to slash costs and scale operations

1.5B+Deliveries optimized

320M+Savings in logistics cost

30+countries served

Trusted by 360+ enterprises worldwide

Get a Complimentary Enterprise Logistics Assessment