Question: QUESTION 2 : ( Travelling Salesman Problem - Simulated Annealing Local Search ) [ 5 POINTS ] Use Simulated Annealing ( SA ) algorithm for
QUESTION : Travelling Salesman ProblemSimulated Annealing Local Search
POINTS
Use Simulated Annealing SA algorithm for solving the Travelling SalesmanProblem TSP The salesman has to travel all cities only once and return back to thestarting city. The cities and the distances between them are shown in the figure below.
Consider the following points:
Randomly select starting city eg ABCD
Allow search to occasionally go on an ascending direction. By allowing occasional
ascent in the search process, we might be able to escape the trap of local minima.
Assume the performance change in the search direction is AE
Always accept a descending step, ie AE
Accept ascending step only if it passes a random test,
T random
T the annealing temperature, is the parameter that control the frequency of
acceptance of ascending steps, and k is the iterationtime value
We gradually reduce temperature k
At each temperature, search is allowed to proceed for a certain number of steps.
Lk
The choice of parameters Tk Lk is called the cooling scheduleTwo route are neighbors iff two neighboring cities in one design are in the opposite
order in another design.
Neighbors are processed by the order of lower to higher indices
Simulated Annealing Algorithm:
k
Search i j performance difference A:
If A then accept. else
if expATk random then accept: Repeat and for Lk steps:
kk:
Repeat until stopping criterion is met
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
