Traveling Salesman Problem
Wai Kit Cheah
Technologist | Cybersecurity Leader | CISO | Trusted Advisor | Enterprise Architect | Digital Transformation Evangelist | Business Leader | Product Management | Strategist, Mentor & Coach
When I was little, my father used to sell pest control products and he would sometimes bring me along on his sales trips. We would visit towns across the west coast of Malaysia. Sometimes, if I'm lucky, I get a lollipop from one of the shop owners my father sells his products to. Nostalgic just resminiscing about those old days.
Fast forward years later, while at NUS, we learned about the Traveling Salesman Problem (TSP) which is a classic conundrum in mathematics and computer science. The problem statement was that given a set of cities and the distance between every pair of cities, we are to find the shortest possible route that a salesman can take to visit every city and returns to his starting point. While this may seem like a simple task at first glance, the number of possible routes increases exponentially with the number of cities, making it a complex computational challenge.
Solving the TSP
Assuming there are N cities to visit and the distances between these cities to each other are the costs of traveling between them. We would usually solve TSP by first generating all permutations of ways to traverse through the N cities from the first origin / ending city. By calculating the cost of every permutation, we could identify the permutation with the minimum cost and that would be our TSP route.
If S is the set of cities, and Cost(S, i) is the cost of of the path visiting each city in set S exactly once, starting with 1 and ending with i, then it would be something like this:
If size of S is 2, then S must be {1, i},
Cost(S, i) = dist(1, i)
Else if size of S is greater than 2.
Cost(S, i) = min { Cost(S-{i}, j) + dis(j, i)} where j belongs to S, j != i and j != 1.
But the implications of this TSP problem go beyond the world of mathematics and computer science. In a world where time is of the essence and resources are limited, the ability to solve complex logistical challenges like the TSP is crucial for businesses, governments, and individuals alike. From supply chain management to urban planning, the principles behind this problem can be applied to a wide range of real-world scenarios.
The business environment has been rapidly changing since the pandemic, as companies have been perpetually uprooted from what they deemed to be the status quo. COVID-19, Russia-Ukraine war, and now the Israel-Gaza conflict have disrupted the equilibrium of supply chain, resulted in a more polarised world, and sending shock waves across the world. Disruptions or inefficiencies in supply chains can lead to increased costs, limited supply, and imbalances in the market, all of which can contribute to inflationary pressures. With these inflationary pressures, governments are stepping in to apply corrective measures such as contractionary monetory policies or reducing interest rates. These business problems increases the chances of a recession or stagflation by impacting demand, supply, and investment decisions.
In today's world, where efficiency and optimization are key components of success, the TSP serves as a reminder of the importance of creativity and innovation in finding solutions to complex problems. Just as mathematicians and computer scientists continue to develop new algorithms and approaches to tackle this problem, we too must constantly adapt and innovate in order to thrive in an ever-changing world.
“It is not the strongest of the species that survives, nor the most intelligent that survives. It is the one that is the most adaptable to change.” - Charles Darwin
In the fast-paced world of technology, staying ahead is not just a competitive advantage but a necessity for businesses to remain relevant and successful. Embracing cutting-edge innovations ensures that your business is equipped to meet the ever-changing demands of consumers and adapt to emerging trends. By continuously updating your technology stack and staying informed about industry developments, you can position your business as a leader in innovation and stay ahead of the curve. Let's delve into specific strategies for staying ahead in your business's growth and ahead of your competition.
领英推荐
Artificial Intelligence and Machine Learning
Artificial intelligence (AI) and machine learning (ML) algorithms has indeed revolutionized the way businesses operate, with its unparalleled efficiency and insights transforming various industries. AI/ML can be employed to solve complex optimization problems like the TSP. By analyzing historical data, these algorithms can identify patterns and optimize routes based on various factors such as traffic conditions, customer preferences, and delivery deadlines. This enables businesses to adapt to changing circumstances and make data-driven decisions for route planning.
Some other examples includes streamlining customer service with the use of chatbots to utilizing predictive analytics for informed decision-making, AI's impact is undeniably far-reaching.
With AI's predictive analytics, we can analyze historical customer demand data, seasonal trends, and other variables to forecast future demand patterns. By incorporating this information into route optimization algorithms, businesses can allocate resources more effectively, ensuring that the right amount of inventory or service capacity is available at the right locations, reducing unnecessary travel and optimizing delivery routes. Imagine the scenario where we continuously analyze real-time data, such as traffic updates, weather conditions, and customer requests, to dynamically adjust routes in real-time, allowing businesses to respond to changing circumstances promptly, optimizing routes based on the most up-to-date information and ensuring efficient resource allocation.
Another use case is around customer behavior analytics. Analyzing customer behavior data, such as purchase history, preferences, and location data, we can predict future customer needs and behaviors. Businesses can personalize their services, elevating customer experiences, improving delivery routes or service visits based on individual customer preferences, improving customer satisfaction and loyalty.
The transformative power of AI is increasingly being recognized in different sectors, and staying ahead of the curve by leveraging this cutting-edge innovation can propel businesses towards future success.
Autonomous Operations
While autonomous vehicles and drone technology continue to advance, one potential area which could be explored is extending autonomous capabilities to day-to-day operations. Imagine businesses can leverage these innovations to optimize their operations by automating the entire quote-to-cash process. Quoting a service or product to the buying experience to the autonomous provisioning of the service, which allow autonomous operations to dynamically adapt to changing conditions, optimize inventory in real-time, reduce human error, and ultimately future-proofing the business's adaptability.
Conclusion
The Traveling Salesman Problem (TSP) not only challenges us to think critically and solve complex problems, but also serves as a symbol of the challenges and opportunities that lie ahead in our future. By embracing the spirit of exploration and innovation embodied by this problem, we can navigate the complexities of the modern world and create a more efficient and interconnected society.