Question: Let G be a complete undirected graph in which all edge lengths are either 2 or 3 ( clearly , G satisfies the triangle inequality
Let be a complete undirected graph in which all edge lengths are either or clearly satisfies the triangle inequality Give a approximation algorithm for TSP in this special class of graphs.
Hint: Start by finding a minimum matching in A matching is a subset of edges so that every vertex has exactly edges of incident at it You can assume that finding such a minimum matching can be done in polynomial time.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
