Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pseudo - code for the Simulated - Annealing algorithm is given below; note that in the version of the algorithm given, we wish to maximize
Pseudocode for the SimulatedAnnealing algorithm is given below; note that in the version
of the algorithm given, we wish to maximize the objective function ie walk uphill
function SIMULATEDANNEALING problem, schedule returns a solution state
inputs: problem, a problem
schedule, a mapping from time to "temperature"
local variables: a "temperature" controlling the probability of downward steps
current larr MAKENODE problemINITIALSTATE
for to do
Tlarr schedule
if then return current
next larr a randomly selected successor of current
VALUE current. VALUE
if then current larr next
else current larr next only with probability
i Describe the idea behind the SimulatedAnnealing algorithm. Be sure to briefly explain the role
of each component in the algorithm.
ii Indicate how you could change the SimulatedAnnealing algorithm so that it implements a
"strict" version of hillclimbing.
iii With regards to SimulatedAnnealing, what is the probability of accepting the following moves?
Assume the problem is trying to maximize the objective function. If you don't have a calculator,
you can leave your answers in the form of mathematical expressions
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