in Education by
Travelling Salesman Problem (TSP) is a classic algorithmic problem in the field of computer science, where a set of cities and distance between every pair of cities are given and it is required to find the shortest possible route that visits every city exactly once and returns to the starting point. In terms of optimal solution, greedy algorithms are used for solving TSPs, but it becomes more complex and takes exponential time when numbers of vertices (i.e. cities) are very large. Being an algorithm analyst what do you think, “If TSP problem is solved by using dynamic programming approach, will it provide feasible solution better than greedy approach? Justify your answer with very well defined and sound reasoning in either case. Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Greedy and dynamic techniques are optimization techniques. Although Dynamic approach is much faster and reduced time complexity but it proves impractical for any large n and still exponential. Therefore a greedy algorithm tries to find an optimal solution by making a sequence of greedy choices.Greedy algorithm makes the choice that looks best at that time, ʙᴇ sᴍᴀʀᴛ……………^_^

Related questions

0 votes
    Which Degree is needed to become computer science teacher ?? Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    which application software in the computer system did you find useful while studying science and how? Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    The Short forms that are usually asked in Computer Science. Class 8 Best answer will get brainliest answer. At least 5 short Forms Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    a. Prove that (A+C)( A’+B+C) = ( A+C)(B+C) in computer science Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    What are the qualifications required to study computer science? Select the correct answer from above options...
asked Dec 6, 2021 in Education by JackTerrance
0 votes
    What are the qualifications required to study computer science? Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    pls help me some one today is my computer science exam class 7 b Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    What are the qualifications required to study computer science? Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    a query to display all the employee details of salesman and manager Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    In the TSP problem of n cities, the time taken for traversing all cities, without having prior knowledge of the length of the minimum tour will be_______. O(n) O(n2) O(n!) O(n/2)...
asked Mar 8, 2021 in Technology by JackTerrance
0 votes
    Computer are widely used in education field by teacher and student true ya false Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    Discuss the definition of Political science. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    The main characteristics of the traditional approach of political science? Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Critically analyse and asses the contention that politics is a science. Identify and clearly explain any one of the ... is a science Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    on which ground can be considered as an emerging of the 21st century? Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
...