a).
A polynomial-time reduction which given any graph and integer any produces an instance of the TSP such that:
1)If has a Rudrata path, then the number of vertices in .
2)If has no Rudrata path, then
This means that even an approximate solution to TSP would enable us to solve RUDRATA PATH.
An approximation algorithm for TSP and let denote its approximation ratio. From any instanceof RUDRATA PATH, we will create an instance of TSP using the specific
In case
(i), it must output a tour of length at most whereas in case
(ii) it must output a tour of length at least .
Thus we can figure out whetherhas a Rudrata path! Here is the resulting procedure:
Given any graph:
Compute and run algorithm on it ,
If the resulting tour has
Conclude that has a Rudrata path ;
Else: conclude that has no Rudrata path;
This tells us whether or not has a Rudrata path;
By calling the procedure a polynomial number of times, if TSP has a polynomial-time approximation algorithm, then there is a polynomial algorithm for the NP-complete RUDRATA PATH problem.
So, unless , there cannot exist an efficient approximation algorithm for the TSP.