Solution Found!
Solved: Suppose that in solving a TSP you use the nearest-neighbor algorithm and find a
Chapter 6, Problem 47(choose chapter or problem)
Suppose that in solving a TSP you use the nearest-neighbor algorithm and find a nearest-neighbor tour with a total cost of $13,500. Suppose that you later find out that the cost of an optimal tour is $12,000. What was the relative error of your nearest-neighbor tour? Express your answer as a percentage, rounded to the nearest tenth of a percent.
Questions & Answers
QUESTION:
Suppose that in solving a TSP you use the nearest-neighbor algorithm and find a nearest-neighbor tour with a total cost of $13,500. Suppose that you later find out that the cost of an optimal tour is $12,000. What was the relative error of your nearest-neighbor tour? Express your answer as a percentage, rounded to the nearest tenth of a percent.
ANSWER:Step 1 of 3
The relative error of a tour is calculated as , where is the cost of the tour obtained and is the cost of the optimal tour.