Question: 3 In this exercise, we explore the use of local search methods to solve TSPs. a. Implement and test a hill-climbing method to solve TSPs.
3 In this exercise, we explore the use of local search methods to solve TSPs.
a. Implement and test a hill-climbing method to solve TSPs. Compare the results with optimal solutions obtained from the A∗ algorithm with the MST heuristic.
b. Repeat part
(a) using a genetic algorithm instead of hill climbing. You may want to consult Larra˜naga et al. (1999) for some suggestions for representations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
