SlideShare a Scribd company logo
1
MAIN PROBLEM -> OPTIMIZATION
Local
Global
Optimization
search
techniques
2
TABU SEARCH , GREEDY
APPROACH , ETC
SIMMULATED ANNEALING,
PARTICLE SWARM OPTIMIZATION
(PSO),GRADIENT DESCENT ETC
Difficulty in Searching Global Optima3
starting
point
descend
direction
local minima
global minima
barrier to local search
Background: Annealing
 Simulated annealing is so named because of its analogy to
the process of physical annealing with solids,.
 A crystalline solid is heated and then allowed to cool very
slowly
until it achieves its most regular possible crystal lattice
configuration (i.e., its minimum lattice energy state), and
thus is free of crystal defects.
 If the cooling schedule is sufficiently slow, the final
configuration results in a solid with such superior structural
integrity.
 Simulated annealing establishes the connection between this
type of thermodynamic behaviour and the search for global
minima for a discrete optimization problem.
4
Simulated Annealing(SA)
 SA is a global optimization technique.
 SA distinguishes between different local optima.
 SA is a memory less algorithm, the algorithm
does not use any information gathered during the
search
 SA is motivated by an analogy to annealing in
solids.
 Simulated Annealing – an iterative improvement
algorithm.
5
Simulated Annealing6
Local Search
Solution space
Costfunction
?
Analogy
 Slowly cool down a heated solid, so that all particles arrange
in the ground energy state
 At each temperature wait until the solid reaches its thermal
equilibrium
 Probability of being in a state with energy E :
Pr { E = E } = 1/Z(T) . exp (-E / kB.T)
E Energy
T Temperature
kB Boltzmann constant
Z(T) Normalization factor (temperature dependant)
7
Simulation Of Cooling (Metropolis 1953)
 At a fixed temperature T :
 Perturb (randomly) the current state to a new state
 E is the difference in energy between current and new state
 If E < 0 (new state is lower), accept new state as current state
 If E  0 , accept new state with probability
Pr (accepted) = exp (- E / kB.T)
 Eventually the systems evolves into thermal equilibrium at
temperature T .
 When equilibrium is reached, temperature T can be lowered and
the process can be repeated
8
Relationship Between Physical
Annealing And Simulated Annealing
Thermodynamic
Simulation
Combinatorial
Optimization
System states Solutions
Energy Cost
Change of State Neighbouring Solutions
Temperature Control Parameter T
Frozen State Heuristic Solution
9
Simulated Annealing
 Same algorithm can be used for combinatorial optimization
problems:
 Energy E corresponds to the Cost function C
 Temperature T corresponds to control parameter c
Pr { configuration = i } = 1/Q(c) . exp (-C(i) / c)
C Cost
c Control parameter
Q(c) Normalization factor (not important)
10
Ball On Terrain Example – SA Vs.
Greedy Algorithms
Greedy Algorithm
gets stuck here!
Locally Optimum
Solution.
Simulated Annealing explores
more. Chooses this move with a
small probability (Hill Climbing)
Upon a large no. of iterations,
SA converges to this solution.
Initial position
of the ball
11
12 Advantages
 Can deal with arbitrary systems and cost functions.
 Statistically guarantees finding an optimal solution.
 Is relatively easy to code, even for complex problems.
 Generally gives a ``good'' solution
 This makes annealing an attractive option for Optimization
problems where heuristic (specialized or problem specific)
methods are not available.
13
 Repeatedly annealing with a 1/log k schedule is very
slow, especially if the cost function is expensive to
compute.
 For problems where the energy landscape is smooth, or
there are few local minima, SA is overkill - simpler, faster
methods (e.g., gradient descent) will work better. But
generally don't know what the energy landscape is for a
particular problem.
 The method cannot tell whether it has found an optimal
solution. Some other complimentary method (e.g. branch
and bound) is required to do this.
Conclusions
 Simulated Annealing algorithms are
usually better than greedy algorithms,
when it comes to problems that have
numerous locally optimum solutions.
14
References15
 P.J.M. van Laarhoven, E.H.L. Aarts, Simulated Annealing:
Theory and Applications, Kluwer Academic Publisher,
1987.
 A. A. Zhigljavsky, Theory of Global Random Search,
Kluwer Academic Publishers, 1991.
Thank You

More Related Content

What's hot

Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
Daniel Suria
 
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated Annealing
kellison00
 
Tabu search
Tabu searchTabu search
Tabu search
Ahmed Fouad Ali
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
Xin-She Yang
 
Simulated annealing-global optimization algorithm
Simulated annealing-global optimization algorithmSimulated annealing-global optimization algorithm
Simulated annealing-global optimization algorithmAkhil Prabhakar
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
anurag singh
 
Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA) Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA)
A. Bilal Özcan
 
Uninformed search
Uninformed searchUninformed search
Uninformed search
Megha Sharma
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
Karthik Sankar
 
Introduction to optimization Problems
Introduction to optimization ProblemsIntroduction to optimization Problems
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
Sahil Kumar
 
Methods of Optimization in Machine Learning
Methods of Optimization in Machine LearningMethods of Optimization in Machine Learning
Methods of Optimization in Machine Learning
Knoldus Inc.
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
khashayar Danesh Narooei
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
garima931
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
CherifRehouma
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
ossein jain
 
Informed search
Informed searchInformed search
Informed search
Amit Kumar Rathi
 
Basics of Soft Computing
Basics of Soft  Computing Basics of Soft  Computing
Basics of Soft Computing
Sangeetha Rajesh
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
Xin-She Yang
 
Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
Saravanan Natarajan
 

What's hot (20)

Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
 
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated Annealing
 
Tabu search
Tabu searchTabu search
Tabu search
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
Simulated annealing-global optimization algorithm
Simulated annealing-global optimization algorithmSimulated annealing-global optimization algorithm
Simulated annealing-global optimization algorithm
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA) Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA)
 
Uninformed search
Uninformed searchUninformed search
Uninformed search
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Introduction to optimization Problems
Introduction to optimization ProblemsIntroduction to optimization Problems
Introduction to optimization Problems
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 
Methods of Optimization in Machine Learning
Methods of Optimization in Machine LearningMethods of Optimization in Machine Learning
Methods of Optimization in Machine Learning
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Informed search
Informed searchInformed search
Informed search
 
Basics of Soft Computing
Basics of Soft  Computing Basics of Soft  Computing
Basics of Soft Computing
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
 

Viewers also liked

Configurable Robots
Configurable RobotsConfigurable Robots
Configurable Robots
AUSTIN MOSES
 
Probing Systems seminar
Probing Systems seminarProbing Systems seminar
Probing Systems seminar
AUSTIN MOSES
 
Inspiration to Application: A Tutorial on Artificial Immune Systems
Inspiration to Application: A Tutorial on Artificial Immune SystemsInspiration to Application: A Tutorial on Artificial Immune Systems
Inspiration to Application: A Tutorial on Artificial Immune Systems
Julie Greensmith
 
Chapitre 2 le recuit simulé
Chapitre 2 le recuit simuléChapitre 2 le recuit simulé
Chapitre 2 le recuit simuléAchraf Manaa
 
Metaheurística Simulated Annealing
Metaheurística Simulated AnnealingMetaheurística Simulated Annealing
Metaheurística Simulated Annealing
Marcos Castro
 
Material Selection
Material SelectionMaterial Selection
Material Selection
AUSTIN MOSES
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentationPartha Das
 

Viewers also liked (8)

Configurable Robots
Configurable RobotsConfigurable Robots
Configurable Robots
 
Probing Systems seminar
Probing Systems seminarProbing Systems seminar
Probing Systems seminar
 
TabuSearch FINAL
TabuSearch  FINALTabuSearch  FINAL
TabuSearch FINAL
 
Inspiration to Application: A Tutorial on Artificial Immune Systems
Inspiration to Application: A Tutorial on Artificial Immune SystemsInspiration to Application: A Tutorial on Artificial Immune Systems
Inspiration to Application: A Tutorial on Artificial Immune Systems
 
Chapitre 2 le recuit simulé
Chapitre 2 le recuit simuléChapitre 2 le recuit simulé
Chapitre 2 le recuit simulé
 
Metaheurística Simulated Annealing
Metaheurística Simulated AnnealingMetaheurística Simulated Annealing
Metaheurística Simulated Annealing
 
Material Selection
Material SelectionMaterial Selection
Material Selection
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentation
 

Similar to Simulated Annealing - A Optimisation Technique

SimulatedAnnealing.ppt
SimulatedAnnealing.pptSimulatedAnnealing.ppt
SimulatedAnnealing.ppt
VivekChawla19
 
Simulated Annealing for Optimal Power Flow (OPF)
Simulated Annealing for Optimal Power Flow (OPF)Simulated Annealing for Optimal Power Flow (OPF)
Simulated Annealing for Optimal Power Flow (OPF)
Anmol Dwivedi
 
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENGHILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
neelamsanjeevkumar
 
Energy minimization
Energy minimizationEnergy minimization
Energy minimization
Shikha Popali
 
Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...
Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...
Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...Cemal Ardil
 
An Efficient Tangent Scheme For Solving Phase-Change Problems
An Efficient Tangent Scheme For Solving Phase-Change ProblemsAn Efficient Tangent Scheme For Solving Phase-Change Problems
An Efficient Tangent Scheme For Solving Phase-Change Problems
Darian Pruitt
 
computationalchemistry_12-6.ppt
computationalchemistry_12-6.pptcomputationalchemistry_12-6.ppt
computationalchemistry_12-6.ppt
sami97008
 
Icmmt 2015 paper-5
Icmmt 2015 paper-5Icmmt 2015 paper-5
Icmmt 2015 paper-5
rahul dev basu
 
sustech.2022.8671326.docx
sustech.2022.8671326.docxsustech.2022.8671326.docx
sustech.2022.8671326.docx
pranathiReddy61
 
Simulated annealing presentation
Simulated annealing presentation Simulated annealing presentation
Simulated annealing presentation
AmarendraKrSaroj
 
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov ModeA Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
IJECEIAES
 
energy hub IREC.pptx
energy hub IREC.pptxenergy hub IREC.pptx
energy hub IREC.pptx
Alaa Eladl
 
Analysis of-heat-flow-in-downdraft-gasifier
Analysis of-heat-flow-in-downdraft-gasifier Analysis of-heat-flow-in-downdraft-gasifier
Analysis of-heat-flow-in-downdraft-gasifier
Anant Arya
 
httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...
httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...
httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...
AbdlaDoski
 
energy minimization
energy minimizationenergy minimization
energy minimizationpradeep kore
 
Thermodynamics kinetics
Thermodynamics kineticsThermodynamics kinetics
Thermodynamics kinetics
selvakumar948
 

Similar to Simulated Annealing - A Optimisation Technique (20)

SimulatedAnnealing.ppt
SimulatedAnnealing.pptSimulatedAnnealing.ppt
SimulatedAnnealing.ppt
 
Simulated Annealing for Optimal Power Flow (OPF)
Simulated Annealing for Optimal Power Flow (OPF)Simulated Annealing for Optimal Power Flow (OPF)
Simulated Annealing for Optimal Power Flow (OPF)
 
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENGHILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
HILL CLIMBING FOR ELECTRONICS AND COMMUNICATION ENG
 
B-G-3
B-G-3B-G-3
B-G-3
 
Energy minimization
Energy minimizationEnergy minimization
Energy minimization
 
ICRAME nishanth
ICRAME nishanthICRAME nishanth
ICRAME nishanth
 
Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...
Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...
Automatic generation-control-of-multi-area-electric-energy-systems-using-modi...
 
An Efficient Tangent Scheme For Solving Phase-Change Problems
An Efficient Tangent Scheme For Solving Phase-Change ProblemsAn Efficient Tangent Scheme For Solving Phase-Change Problems
An Efficient Tangent Scheme For Solving Phase-Change Problems
 
computationalchemistry_12-6.ppt
computationalchemistry_12-6.pptcomputationalchemistry_12-6.ppt
computationalchemistry_12-6.ppt
 
ICMMT-2015_paper_5
ICMMT-2015_paper_5ICMMT-2015_paper_5
ICMMT-2015_paper_5
 
Icmmt 2015 paper-5
Icmmt 2015 paper-5Icmmt 2015 paper-5
Icmmt 2015 paper-5
 
sustech.2022.8671326.docx
sustech.2022.8671326.docxsustech.2022.8671326.docx
sustech.2022.8671326.docx
 
Simulated annealing presentation
Simulated annealing presentation Simulated annealing presentation
Simulated annealing presentation
 
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov ModeA Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
 
energy hub IREC.pptx
energy hub IREC.pptxenergy hub IREC.pptx
energy hub IREC.pptx
 
Analysis of-heat-flow-in-downdraft-gasifier
Analysis of-heat-flow-in-downdraft-gasifier Analysis of-heat-flow-in-downdraft-gasifier
Analysis of-heat-flow-in-downdraft-gasifier
 
httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...
httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...
httpscatatanabimanyu.files.wordpress.com201109heat-transfer-cengel-solution-m...
 
ECTC Presentation
ECTC PresentationECTC Presentation
ECTC Presentation
 
energy minimization
energy minimizationenergy minimization
energy minimization
 
Thermodynamics kinetics
Thermodynamics kineticsThermodynamics kinetics
Thermodynamics kinetics
 

Recently uploaded

Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 

Recently uploaded (20)

Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 

Simulated Annealing - A Optimisation Technique

  • 1. 1
  • 2. MAIN PROBLEM -> OPTIMIZATION Local Global Optimization search techniques 2 TABU SEARCH , GREEDY APPROACH , ETC SIMMULATED ANNEALING, PARTICLE SWARM OPTIMIZATION (PSO),GRADIENT DESCENT ETC
  • 3. Difficulty in Searching Global Optima3 starting point descend direction local minima global minima barrier to local search
  • 4. Background: Annealing  Simulated annealing is so named because of its analogy to the process of physical annealing with solids,.  A crystalline solid is heated and then allowed to cool very slowly until it achieves its most regular possible crystal lattice configuration (i.e., its minimum lattice energy state), and thus is free of crystal defects.  If the cooling schedule is sufficiently slow, the final configuration results in a solid with such superior structural integrity.  Simulated annealing establishes the connection between this type of thermodynamic behaviour and the search for global minima for a discrete optimization problem. 4
  • 5. Simulated Annealing(SA)  SA is a global optimization technique.  SA distinguishes between different local optima.  SA is a memory less algorithm, the algorithm does not use any information gathered during the search  SA is motivated by an analogy to annealing in solids.  Simulated Annealing – an iterative improvement algorithm. 5
  • 7. Analogy  Slowly cool down a heated solid, so that all particles arrange in the ground energy state  At each temperature wait until the solid reaches its thermal equilibrium  Probability of being in a state with energy E : Pr { E = E } = 1/Z(T) . exp (-E / kB.T) E Energy T Temperature kB Boltzmann constant Z(T) Normalization factor (temperature dependant) 7
  • 8. Simulation Of Cooling (Metropolis 1953)  At a fixed temperature T :  Perturb (randomly) the current state to a new state  E is the difference in energy between current and new state  If E < 0 (new state is lower), accept new state as current state  If E  0 , accept new state with probability Pr (accepted) = exp (- E / kB.T)  Eventually the systems evolves into thermal equilibrium at temperature T .  When equilibrium is reached, temperature T can be lowered and the process can be repeated 8
  • 9. Relationship Between Physical Annealing And Simulated Annealing Thermodynamic Simulation Combinatorial Optimization System states Solutions Energy Cost Change of State Neighbouring Solutions Temperature Control Parameter T Frozen State Heuristic Solution 9
  • 10. Simulated Annealing  Same algorithm can be used for combinatorial optimization problems:  Energy E corresponds to the Cost function C  Temperature T corresponds to control parameter c Pr { configuration = i } = 1/Q(c) . exp (-C(i) / c) C Cost c Control parameter Q(c) Normalization factor (not important) 10
  • 11. Ball On Terrain Example – SA Vs. Greedy Algorithms Greedy Algorithm gets stuck here! Locally Optimum Solution. Simulated Annealing explores more. Chooses this move with a small probability (Hill Climbing) Upon a large no. of iterations, SA converges to this solution. Initial position of the ball 11
  • 12. 12 Advantages  Can deal with arbitrary systems and cost functions.  Statistically guarantees finding an optimal solution.  Is relatively easy to code, even for complex problems.  Generally gives a ``good'' solution  This makes annealing an attractive option for Optimization problems where heuristic (specialized or problem specific) methods are not available.
  • 13. 13  Repeatedly annealing with a 1/log k schedule is very slow, especially if the cost function is expensive to compute.  For problems where the energy landscape is smooth, or there are few local minima, SA is overkill - simpler, faster methods (e.g., gradient descent) will work better. But generally don't know what the energy landscape is for a particular problem.  The method cannot tell whether it has found an optimal solution. Some other complimentary method (e.g. branch and bound) is required to do this.
  • 14. Conclusions  Simulated Annealing algorithms are usually better than greedy algorithms, when it comes to problems that have numerous locally optimum solutions. 14
  • 15. References15  P.J.M. van Laarhoven, E.H.L. Aarts, Simulated Annealing: Theory and Applications, Kluwer Academic Publisher, 1987.  A. A. Zhigljavsky, Theory of Global Random Search, Kluwer Academic Publishers, 1991.