Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started