SlideShare a Scribd company logo
A presentation on
Optimization Heuristics
                by
       Kausal Malladi
     (Student, IIIT Bangalore)
Agenda
●   Definition of a Heuristic
●   Optimization heuristics
        –   Genetic Algorithms
        –   Hill Climbing
        –   Tabu Search
        –   Simulated Annealing
        –   Swarm Intelligence
                ●   With example applications
Heuristic
●   Experience based techniques for problem
    solving, learning and discovery. [Adopted from
    Wikipedia]

●   Different types
         Rule of thumb
           –
       – Common sense
       – Educated Guess
●   Meta-heuristics: Parameters that influence
    employing a heuristic
Optimization Heuristics
●   Always difficult to solve NP-Hard and NP-
    Complete computational problems
●   Even with different optimization techniques,
    actual running time is never guaranteed
●   We employ some rules / results based on
    experiments to state that a near-optimal
    solution can be obtained
●   No proof as to why and how we get
    solution
Genetic Algorithms
●   A heuristic that mimics natural evolution
●   A population of Candidate Solutions
    evolved towards better solutions
●   Generations
●   Requires
       –   Genetic Representation of solution domain
       –   Fitness function to evaluate solution
●   Applications: Game Theory
Local Search
●   To solve hard Optimization problems
●   Search Space : Domain of function to be
    optimized
●   Finding a solution among number of
    candidate solutions, maximizing a criterion
●   Sub-families:
       –   Hill Climbing
       –   Tabu Search
       –   Simulated Annealing
Hill Climbing
●   Iterative algorithm, starts with arbitrary
    solution
●   Looks for better solutions incrementally
●   Repeats until no further improvements
●   Good for finding a local optimum
●   Doesn't guarantee global optimum
●   Simple, popular
●   Works well, generally
Hill Climbing
●   Popular example – TSP
        –   Travelling Salesman Problem
                ●   Known NP-Hard problem
                ●   Initial solution may not be optimal
                ●   Shorter route is more likely to be obtained
●   Widely used in Artificial Intelligence
●   Significant results in real-time systems
●   Any-time algorithm
●   Pitfall: Plateau
Tabu Search
●   Iteratively proceeds from one potential
    solution S to an improved one S' in the
    neighbourhood of S
●   Overcomes few pitfalls of other Local
    Search techniques (Example: Plateau)
●   Visited solutions marked “tabu”
●   Search    progresses    using     Memory
    Structures
●   Often a benchmark heuristic!
Tabu Search
●   Memory structures
       –   Describe
               ●   Visited solutions
               ●   User provided sets of rules
       –   Categories
               ●   Short term
               ●   Intermediate term
               ●   Long term
●   Form tabu list
Tabu Search
●   Issues
       –   Only effective in discrete search spaces
               ●   Workaround: A similarity measure
       –   High dimensional search space
               ●   Workaround: Create a tabu list consisting
                    of attributes of a solution
               ●   Can be more effective solution, has
                    problems too
               ●   Aspiration criteria introduced
                       –   Override solution's tabu state
Tabu Search
●   Common example – TSP
       –   Travelling Salesman Problem
               ●   Tabu Search finds a satisficing solution
               ●   Starts with an initial solution that can be
                    found randomly or using some algorithm
               ●   Order in which two cities are visited, is
                    swapped
               ●   Total travelling distance is the metric
               ●   A acceptable solution added to tabu list if
                    in neighbourhood of accepted solution
Simulated Annealing
●   Inspiration: Annealing in Metallurgy
●   Probabilistic meta-heuristic
●   Approximates global optimum in a large
    search space
●   Gives acceptably good solution if not the
    best
●   Slow decrease in probability of accepting
    worse solutions
Simulated Annealing
●   Example – TSP
       –   Travelling Salesman Problem
               ●   Metric under consideration is Mileage
               ●   Metropolis Algorithm
               ●   Pairwise changing order of visit to cities
                        –   Solutions that don't lower mileage also
                             accepted
               ●
                   e-∆D/T > R(0,1)
                        –   ∆D is the change of distance implied
               ●   If T is large, many bad choices are made
Swarm Intelligence
●   A collective behavior of self-organized
    systems which are decentralized [Adopted from
    Wikipedia]

●   Can't predict how the systems behave
    even without a centralized control
●   Widely employed in Artificial Intelligence
●   Example
           –     Ant Colony Optimization
                     ●   Natural ants ≈ Simulation agents
                     ●   Pheromones ≈ Recording position, quality
References
●
    http://www.iaeng.org/publication/WCE2007/WCE2007_pp61-64.pdf
    (Game Theory using Genetic Algorithms)
●
    http://mathworld.wolfram.com/SimulatedAnnealing.html
    (Simulated Annealing)
●   http://artificialintelligence-notes.blogspot.in/2010/07/hill-climbing-procedure.htm
    (Hill Climbing in Artificial Intelligence)
Thank you!

More Related Content

PPT
TabuSearch FINAL
PDF
Heuristic search-in-artificial-intelligence
PDF
Search problems in Artificial Intelligence
PPTX
Artificial Intelligence
PDF
02 problem solving_search_control
PPTX
AI: AI & Searching
PPT
Solving problems by searching
TabuSearch FINAL
Heuristic search-in-artificial-intelligence
Search problems in Artificial Intelligence
Artificial Intelligence
02 problem solving_search_control
AI: AI & Searching
Solving problems by searching

What's hot (14)

PPT
Searching methodologies
PPT
Heuristic Search Techniques {Artificial Intelligence}
PPT
Lecture 11 Informed Search
PPT
Heuristic approach optimization
PPTX
Heuristic search
PPTX
Control Strategies in AI
PPTX
Artificial Intelligence Searching Techniques
PDF
State Space Representation and Search
PPTX
Heuristic search
PPTX
Popular search algorithms
PDF
Uninformed search
PPTX
Bottle sum
PDF
L06 stemmer and edit distance
PPT
Problems, Problem spaces and Search
Searching methodologies
Heuristic Search Techniques {Artificial Intelligence}
Lecture 11 Informed Search
Heuristic approach optimization
Heuristic search
Control Strategies in AI
Artificial Intelligence Searching Techniques
State Space Representation and Search
Heuristic search
Popular search algorithms
Uninformed search
Bottle sum
L06 stemmer and edit distance
Problems, Problem spaces and Search
Ad

Viewers also liked (20)

PPT
Solving problems by searching Informed (heuristics) Search
PPT
Hill climbing
PPTX
JOB SCHEDULING USING ANT COLONY OPTIMIZATION ALGORITHM
PPT
Crebus ianole rodica
PPTX
Aerospace Organization Management #3
PPT
002.types of-reasoning
PPT
Fb Conference Heuristic Thinking On Market Entry Strategy
PPT
Chp 12-org-behavior-decision-making
PPT
low effort judgement
PDF
Metaheuristic Optimization: Algorithm Analysis and Open Problems
PPT
Chapter15
PDF
11. grid scheduling and resource managament
PPTX
Bee algorithm
PPT
high effort judgement
PPT
Michael Bolton - Heuristics: Solving Problems Rapidly
PPTX
Query processing
PPTX
Clustering using GA and Hill-climbing
PPTX
Hill-climbing #2
PPT
Technology Seminar Handout
PPTX
Travel Plan using Geo-tagged Photos in Geocrowd2013
Solving problems by searching Informed (heuristics) Search
Hill climbing
JOB SCHEDULING USING ANT COLONY OPTIMIZATION ALGORITHM
Crebus ianole rodica
Aerospace Organization Management #3
002.types of-reasoning
Fb Conference Heuristic Thinking On Market Entry Strategy
Chp 12-org-behavior-decision-making
low effort judgement
Metaheuristic Optimization: Algorithm Analysis and Open Problems
Chapter15
11. grid scheduling and resource managament
Bee algorithm
high effort judgement
Michael Bolton - Heuristics: Solving Problems Rapidly
Query processing
Clustering using GA and Hill-climbing
Hill-climbing #2
Technology Seminar Handout
Travel Plan using Geo-tagged Photos in Geocrowd2013
Ad

Similar to Optimization Heuristics (20)

PDF
AI Final Report
PDF
T01732115119
PDF
Artificial Intelligence in Robot Path Planning
DOCX
Searching techniques
PDF
Lec 2 1 informed search
PDF
Bio-Inspired Optimization Algorithms_BasicAlgorithms.pdf
PPT
hillclimb algorithm for heuristic search
PPT
UNIT-5 Optimization (Part-1).ppt
PDF
A heuristic approach for optimizing travel planning using genetics algorithm
PDF
A heuristic approach for optimizing travel planning using genetics algorithm
PPTX
Metahuristic Algorithm Presentation
PPT
Problem Solving by Searching and Optimization
PPT
fai unit 4 in this your will find the da
PPT
Searchadditional2
PDF
Cuckoo Search: Recent Advances and Applications
PPTX
UNIT-I Part2 Heuristic Search Techniques.pptx
PDF
Artificial intelligence cs607 handouts lecture 11 - 45
PDF
Cost versus distance_in_the_traveling_sa_79149
PDF
04-local-search.pdf
PDF
Karas and atila
AI Final Report
T01732115119
Artificial Intelligence in Robot Path Planning
Searching techniques
Lec 2 1 informed search
Bio-Inspired Optimization Algorithms_BasicAlgorithms.pdf
hillclimb algorithm for heuristic search
UNIT-5 Optimization (Part-1).ppt
A heuristic approach for optimizing travel planning using genetics algorithm
A heuristic approach for optimizing travel planning using genetics algorithm
Metahuristic Algorithm Presentation
Problem Solving by Searching and Optimization
fai unit 4 in this your will find the da
Searchadditional2
Cuckoo Search: Recent Advances and Applications
UNIT-I Part2 Heuristic Search Techniques.pptx
Artificial intelligence cs607 handouts lecture 11 - 45
Cost versus distance_in_the_traveling_sa_79149
04-local-search.pdf
Karas and atila

More from Kausal Malladi (6)

PDF
Implementing the ATM based Voting Services - The RESTful Way
PDF
Online Franchise Capturing Using IPv6 through Automated Teller Machines
PDF
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
PDF
Cake Cutting of CPU Resources among multiple HPC agents on a Cloud
PDF
ATM Terminal Services the RESTful Way
PDF
Hierarchical text classification
Implementing the ATM based Voting Services - The RESTful Way
Online Franchise Capturing Using IPv6 through Automated Teller Machines
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Cake Cutting of CPU Resources among multiple HPC agents on a Cloud
ATM Terminal Services the RESTful Way
Hierarchical text classification

Recently uploaded (20)

PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
master seminar digital applications in india
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Cell Structure & Organelles in detailed.
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Lesson notes of climatology university.
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Classroom Observation Tools for Teachers
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Final Presentation General Medicine 03-08-2024.pptx
master seminar digital applications in india
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Computing-Curriculum for Schools in Ghana
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Practical Manual AGRO-233 Principles and Practices of Natural Farming
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Chinmaya Tiranga quiz Grand Finale.pdf
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Cell Structure & Organelles in detailed.
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Lesson notes of climatology university.
2.FourierTransform-ShortQuestionswithAnswers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Classroom Observation Tools for Teachers

Optimization Heuristics

  • 1. A presentation on Optimization Heuristics by Kausal Malladi (Student, IIIT Bangalore)
  • 2. Agenda ● Definition of a Heuristic ● Optimization heuristics – Genetic Algorithms – Hill Climbing – Tabu Search – Simulated Annealing – Swarm Intelligence ● With example applications
  • 3. Heuristic ● Experience based techniques for problem solving, learning and discovery. [Adopted from Wikipedia] ● Different types Rule of thumb – – Common sense – Educated Guess ● Meta-heuristics: Parameters that influence employing a heuristic
  • 4. Optimization Heuristics ● Always difficult to solve NP-Hard and NP- Complete computational problems ● Even with different optimization techniques, actual running time is never guaranteed ● We employ some rules / results based on experiments to state that a near-optimal solution can be obtained ● No proof as to why and how we get solution
  • 5. Genetic Algorithms ● A heuristic that mimics natural evolution ● A population of Candidate Solutions evolved towards better solutions ● Generations ● Requires – Genetic Representation of solution domain – Fitness function to evaluate solution ● Applications: Game Theory
  • 6. Local Search ● To solve hard Optimization problems ● Search Space : Domain of function to be optimized ● Finding a solution among number of candidate solutions, maximizing a criterion ● Sub-families: – Hill Climbing – Tabu Search – Simulated Annealing
  • 7. Hill Climbing ● Iterative algorithm, starts with arbitrary solution ● Looks for better solutions incrementally ● Repeats until no further improvements ● Good for finding a local optimum ● Doesn't guarantee global optimum ● Simple, popular ● Works well, generally
  • 8. Hill Climbing ● Popular example – TSP – Travelling Salesman Problem ● Known NP-Hard problem ● Initial solution may not be optimal ● Shorter route is more likely to be obtained ● Widely used in Artificial Intelligence ● Significant results in real-time systems ● Any-time algorithm ● Pitfall: Plateau
  • 9. Tabu Search ● Iteratively proceeds from one potential solution S to an improved one S' in the neighbourhood of S ● Overcomes few pitfalls of other Local Search techniques (Example: Plateau) ● Visited solutions marked “tabu” ● Search progresses using Memory Structures ● Often a benchmark heuristic!
  • 10. Tabu Search ● Memory structures – Describe ● Visited solutions ● User provided sets of rules – Categories ● Short term ● Intermediate term ● Long term ● Form tabu list
  • 11. Tabu Search ● Issues – Only effective in discrete search spaces ● Workaround: A similarity measure – High dimensional search space ● Workaround: Create a tabu list consisting of attributes of a solution ● Can be more effective solution, has problems too ● Aspiration criteria introduced – Override solution's tabu state
  • 12. Tabu Search ● Common example – TSP – Travelling Salesman Problem ● Tabu Search finds a satisficing solution ● Starts with an initial solution that can be found randomly or using some algorithm ● Order in which two cities are visited, is swapped ● Total travelling distance is the metric ● A acceptable solution added to tabu list if in neighbourhood of accepted solution
  • 13. Simulated Annealing ● Inspiration: Annealing in Metallurgy ● Probabilistic meta-heuristic ● Approximates global optimum in a large search space ● Gives acceptably good solution if not the best ● Slow decrease in probability of accepting worse solutions
  • 14. Simulated Annealing ● Example – TSP – Travelling Salesman Problem ● Metric under consideration is Mileage ● Metropolis Algorithm ● Pairwise changing order of visit to cities – Solutions that don't lower mileage also accepted ● e-∆D/T > R(0,1) – ∆D is the change of distance implied ● If T is large, many bad choices are made
  • 15. Swarm Intelligence ● A collective behavior of self-organized systems which are decentralized [Adopted from Wikipedia] ● Can't predict how the systems behave even without a centralized control ● Widely employed in Artificial Intelligence ● Example – Ant Colony Optimization ● Natural ants ≈ Simulation agents ● Pheromones ≈ Recording position, quality
  • 16. References ● http://www.iaeng.org/publication/WCE2007/WCE2007_pp61-64.pdf (Game Theory using Genetic Algorithms) ● http://mathworld.wolfram.com/SimulatedAnnealing.html (Simulated Annealing) ● http://artificialintelligence-notes.blogspot.in/2010/07/hill-climbing-procedure.htm (Hill Climbing in Artificial Intelligence)