answersLogoWhite

0


Best Answer

Yes,there is an obvious algorithm to test each possible trip and find the best one. The trouble is the exponential run-time.

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve

Add your answer:

Earn +20 pts
Q: Is there an algorithm for the Travelling Salesman problem?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is an intractable problem in computer limitations and can give the example?

An intractable problem is one for which there is an algorithm that produces a solution - but the algorithm does not produce results in a reasonable amount of time. Intractable problems have a large time complexity. The Travelling Salesman Problem is an example of an intractable problem.


What are some effective heuristics for solving the traveling salesman problem efficiently?

Some effective heuristics for solving the traveling salesman problem efficiently include the nearest neighbor algorithm, the genetic algorithm, and the simulated annealing algorithm. These methods help to find approximate solutions by making educated guesses and refining them iteratively.


What are the differences between Chinese postman problem and travelling salesman problem?

Imagine an island with a road network joining several towns. You want to visit each town before returning to your start point. Finding the best solution to this is the travelling salesman problem. now imagine you want to resurface every road on the network. To do this in the shortest distance is the Chinese postman problem. Essentially for the travelling salesman problem you have to visit every vertex. For the Chinese postman problem every edge must be visited.


What is the 2-approximation algorithm for solving the Traveling Salesman Problem?

The 2-approximation algorithm for the Traveling Salesman Problem is a method that provides a solution that is at most twice the optimal solution. This algorithm works by finding a minimum spanning tree of the given graph and then traversing the tree to form a tour that visits each vertex exactly once.


What are the two applications of dynamic programming?

1)Multistage graph 2)Travelling salesman problem


What is a packman?

A packman is a person who travels with a pack, especially a travelling salesman.


What has the author Harry A Thompson written?

Harry A. Thompson has written: 'The travelling salesman'


What distinguishes a problem from an algorithm and how do they differ in the context of problem-solving?

A problem is a situation that needs to be solved, while an algorithm is a step-by-step procedure for solving a problem. In problem-solving, the problem is the challenge to be addressed, while the algorithm is the specific method used to find a solution to the problem.


What are the release dates for Travelling Salesman - 2012?

Travelling Salesman - 2012 was released on: USA: 16 June 2012 (Philadelphia, Pennsylvania) (premiere) USA: 13 August 2012 (New York City International Film Festival)


Is the traveling salesman problem an example of a co-NP-complete problem?

Yes, the traveling salesman problem is an example of a co-NP-complete problem.


What does the word algorithm mean today?

An algorithm is the process by which you solve a problem


Why algorithm needs to solve programming problem?

This is the definition of an algorithm - a list of orders of how to solve a given programming problem.