Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 : 2 5 points Travelling salesman ( TSP ) is a famous problem in computer science due to its hardness to solve. The

Question 4 : 25 points
Travelling salesman (TSP) is a famous problem in computer science due to its hardness to
solve. The problem is stated as follows: Given a list of cities along with pairwise distances
between them, what is the shortest possible route that visits each city exactly once and returns
to the origin city?
Note: DO NOT copy/paste answers to this problem from ChatGPT. The purpose of this
problem is to introduce you to NP-completeness. So, please spend some time to read and think
about the topic and answer the problems with your understanding of the topic.
(a)[5 points] Practically, what does it mean for a problem to be NP-hard or NP-complete,
from the point of view of runtime of a possible algorithm to solve the problem? (Hint:
does it mean that the problem is unsolvable? Or else, what does it mean?)
(b)[10 points] NP-hard problems are generally tackled by approximation algorithms. Answer
the following questions:
Briefly explain what is an approximation algorithms?
What is an approximation guarantee?
Considering the example of TSP, what would it mean to have a 2-approximation
algorithm for the problem?
(c)[10 points] Suggest a 2-approximation algorithm for TSP in bullet points and prove its
approximation ratio to be 2.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

4. Give partial credit for partially correct answers.

Answered: 1 week ago