An Overview of Search Algorithms With a Focus in Simulated Annealing
|
|
- Abel Shields
- 5 years ago
- Views:
Transcription
1 An Overview of Search Algorithms With a Focus in Simulated Annealing K Jones Appalachian State University joneskp1@appstate.edu May 7, 2014
2 Definition of Annealing Definition: Annealing, in metallurgy and materials science, is a heat treatment that alters a material to increase its ductility and to make it more workable. It involves heating a material to above its critical temperature, maintaining a suitable temperature, and then cooling. [
3 The Problem Use the figure below to determine who the tallest person is.
4 The Solution Use the figure below to determine who the tallest person is.
5 The Second Problem Use the figure below to determine who the shortest person is.
6 Seurat s A Sunday on La Grande Jatte
7 The Real Problem
8 The Real Problem Use the data below to determine what the smallest value of Y is.
9 Solution Options Search Algorithms
10 Solution Options Select (Sort) Search Search Algorithms
11 Solution Options Search Algorithms Select (Sort) Search Hill Climb
12 Solution Options Search Algorithms Select (Sort) Search Hill Climb Simulated Annealing
13 Solution Options Search Algorithms Select (Sort) Search Hill Climb Simulated Annealing Tabu Search
14 Search Algorithms - Select (Sort) Search
15 Search Algorithms - Select (Sort) Search
16 Search Algorithms - Select (Sort) Search Heuristic: 1: Let y i be the i th entry in an array of size n 2: Let y min y 0 and i 1 3: If y i < y min then y min y i 4: Let i i + 1 5: Repeat steps 3 and 4 while i n 1 6: Return y min
17 Search Algorithms - Select (Sort) Search Heuristic: 1: Let y i be the i th entry in an array of size n 2: Let y min y 0 and i 1 3: If y i < y min then y min y i 4: Let i i + 1 5: Repeat steps 3 and 4 while i n 1 6: Return y min Upside: Guaranteed to find the best solution (i.e. optimal)
18 Search Algorithms - Select (Sort) Search Heuristic: 1: Let y i be the i th entry in an array of size n 2: Let y min y 0 and i 1 3: If y i < y min then y min y i 4: Let i i + 1 5: Repeat steps 3 and 4 while i n 1 6: Return y min Upside: Guaranteed to find the best solution (i.e. optimal) Downise: There are n 1 comparisons to make which means this is a very expensive algorithm
19 Search Algorithms - Hill Climb
20 Search Algorithms - Hill Climb Heuristic: 1: Let y i be the i th entry in an array of size n 2: Let i 0 and k 1 3: If y i < y k then return y i Else let i i + 1 and k k + 1 4: Repeat step 3 until k = n 1 5: Return y k if needed
21 Search Algorithms - Hill Climb Heuristic: 1: Let y i be the i th entry in an array of size n 2: Let i 0 and k 1 3: If y i < y k then return y i Else let i i + 1 and k k + 1 4: Repeat step 3 until k = n 1 5: Return y k if needed Upside: Faster than Select Search since it doesn t always have to check the whole data list
22 Search Algorithms - Hill Climb Heuristic: 1: Let y i be the i th entry in an array of size n 2: Let i 0 and k 1 3: If y i < y k then return y i Else let i i + 1 and k k + 1 4: Repeat step 3 until k = n 1 5: Return y k if needed Upside: Faster than Select Search since it doesn t always have to check the whole data list Downise: Not guaranteed to find the optimal solution. Note: You will find an optimal solution
23 Search Algorithms - Simulated Annealing Definition: Simulated annealing (SA) is a generic probabilistic metaheuristic for the global optimization problem of locating a good approximation to the global optimum of a given function in a large search space. It is often used when the search space is discrete (e.g., all tours that visit a given set of cities). For certain problems, simulated annealing may be more efficient than exhaustive enumeration provided that the goal is merely to find an acceptably good solution in a fixed amount of time, rather than the best possible solution. [
24 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized
25 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c )
26 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c ) lcv 0, stop Z +
27 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c ) lcv 0, stop Z + 2: Let t Temp(lcv, stop), x n Neighbor(x c, t) and y n Y (x n )
28 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c ) lcv 0, stop Z + 2: Let t Temp(lcv, stop), x n Neighbor(x c, t) and y n Y (x n ) 3: If y n < y b Then x b x n and y b y n
29 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c ) lcv 0, stop Z + 2: Let t Temp(lcv, stop), x n Neighbor(x c, t) and y n Y (x n ) 3: If y n < y b Then x b x n and y b y n 4: If P(y c, y n, t) > Rand(0, 1) Then x c x n and y c y n
30 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c ) lcv 0, stop Z + 2: Let t Temp(lcv, stop), x n Neighbor(x c, t) and y n Y (x n ) 3: If y n < y b Then x b x n and y b y n 4: If P(y c, y n, t) > Rand(0, 1) Then x c x n and y c y n 5: Let lcv lcv + 1
31 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c ) lcv 0, stop Z + 2: Let t Temp(lcv, stop), x n Neighbor(x c, t) and y n Y (x n ) 3: If y n < y b Then x b x n and y b y n 4: If P(y c, y n, t) > Rand(0, 1) Then x c x n and y c y n 5: Let lcv lcv + 1 6: Repeat steps 2 through 5 until lcv = stop
32 Simulated Annealing - Heuristic Given: Domain X and function Y (x) which is to be minimized 1: Let x c, x b Rand(X ) and y c, y b Y (x c ) lcv 0, stop Z + 2: Let t Temp(lcv, stop), x n Neighbor(x c, t) and y n Y (x n ) 3: If y n < y b Then x b x n and y b y n 4: If P(y c, y n, t) > Rand(0, 1) Then x c x n and y c y n 5: Let lcv lcv + 1 6: Repeat steps 2 through 5 until lcv = stop 7: Return x b, y b
33 Simulated Annealing - Sub Routines
34 Simulated Annealing - Sub Routines Temp: In practice, a function is designed in terms of the proportion of loop time used. It is tailored for the specific optimization problem and computational limitations.
35 Simulated Annealing - Sub Routines Temp: In practice, a function is designed in terms of the proportion of loop time used. It is tailored for the specific optimization problem and computational limitations. 0 < Temp (lcv + 1, stop) < Temp (lcv, stop)
36 Simulated Annealing - Sub Routines Temp: In practice, a function is designed in terms of the proportion of loop time used. It is tailored for the specific optimization problem and computational limitations. 0 < Temp (lcv + 1, stop) < Temp (lcv, stop) Neighbor: The neighbor function randomly selects an element of X that is within some distance from x c. The distance from x c (i.e. width of the neighborhood) may remain constant or vary in realtionship to temperature. The function is chosen with the specific optimization problem and computational limitations in mind.
37 Simulated Annealing - Sub Routines P: The probability function is most commonly solved for using The Metropolis-Hastings Algorithm { e (yc yn)/t y c y n P(y c, y n, t) = 1 y c > y n The graphs below show the relationship of P in terms of D = y n y c with fixed temperatures Note: Make switch when P > Rand(0, 1)
38 Simulated Annealing - Sub Routines P: The probability function is most commonly solved for using The Metropolis-Hastings Algorithm { e (yc yn)/t y c y n P(y c, y n, t) = 1 y c > y n The graphs below show the relationship of P in terms of t with a fixed difference in y c and y n Note: Make switch when P > Rand(0, 1)
39 Simulated Annealing - Graphically
40 Questions?
41 Search Algorithms - Tabu Search Tabu search, created by Fred W. Glover in 1986 and formalized in 1989, is a metaheuristic search method employing local search methods used for mathematical optimization.[
42 Search Algorithms - Tabu Search Tabu search, created by Fred W. Glover in 1986 and formalized in 1989, is a metaheuristic search method employing local search methods used for mathematical optimization.[ Tabu
43 Search Algorithms - Tabu Search Tabu search, created by Fred W. Glover in 1986 and formalized in 1989, is a metaheuristic search method employing local search methods used for mathematical optimization.[ Tabu, tapu
44 Search Algorithms - Tabu Search Tabu search, created by Fred W. Glover in 1986 and formalized in 1989, is a metaheuristic search method employing local search methods used for mathematical optimization.[ Tabu, tapu, kapu
45 Search Algorithms - Tabu Search Tabu search, created by Fred W. Glover in 1986 and formalized in 1989, is a metaheuristic search method employing local search methods used for mathematical optimization.[ Tabu, tapu, kapu and taboo are several anglican spelllings for the Polynesian word meaning sacred or forbidden
46 Search Algorithms - Tabu Search Tabu search, created by Fred W. Glover in 1986 and formalized in 1989, is a metaheuristic search method employing local search methods used for mathematical optimization.[ Tabu, tapu, kapu and taboo are several anglican spelllings for the Polynesian word meaning sacred or forbidden A tabu search differs from simulated annealing via the application of a tabu list. The tabu list is a list of not as good cites that have already been visited. The Neighbor function is designed to not return an item on the tabu list.
47 TSP - Example The Problem: Find the shortest path that visits all n cities exactly once. A Solution: Simulated Annealing
48 TSP - Example Process
49 TSP - Example Process 1 st : Outline problem and model scenario
50 TSP - Example Process 1 st : Outline problem and model scenario 2 nd : Write pseudo code for Temp function
51 TSP - Example Process 1 st : Outline problem and model scenario 2 nd : Write pseudo code for Temp function 3 rd : Write pseudo code for Neighbor function
52 TSP - Example Process 1 st : Outline problem and model scenario 2 nd : Write pseudo code for Temp function 3 rd : Write pseudo code for Neighbor function 4 th : Consider writing it in the programming language of your choice
53 TSP - Example Outline Problem
54 TSP - Example Outline Problem Align cities as points on the cartesian plane
55 TSP - Example Outline Problem Align cities as points on the cartesian plane
56 TSP - Example Outline Problem Align cities as points on the cartesian plane Define a variable which represents the route taken
57 TSP - Example Outline Problem Align cities as points on the cartesian plane Define a variable which represents the route taken Let R n be the set of our n ordered duples that represent our map. The r 1 element represents the starting point of the route and the r n be the last stop.
58 TSP - Example Outline Problem Align cities as points on the cartesian plane Define a variable which represents the route taken Let R n be the set of our n ordered duples that represent our map. The r 1 element represents the starting point of the route and the r n be the last stop. Define a function that represents the length of the route taken
59 TSP - Example Outline Problem Align cities as points on the cartesian plane Define a variable which represents the route taken Let R n be the set of our n ordered duples that represent our map. The r 1 element represents the starting point of the route and the r n be the last stop. Define a function that represents the length of the route taken n 1 d(r i, r i+1 ) d(r a, r b ) = i=1 (r ax r bx ) 2 + ( r ay r by ) 2
60 TSP - Example Temp Function For sake of simplicity and sanity we ll select a linear function with an initial temperature of 1000 and a cooling rate of 1000 stop degrees per iteration. Temp (lcv, stop) = stop lcv
61 TSP - Example Temp Function For sake of simplicity and sanity we ll select a linear function with an initial temperature of 1000 and a cooling rate of 1000 stop degrees per iteration. Temp (lcv, stop) = stop lcv Temp (lcv, stop) = t 0 e lcv estop
62 TSP - Example Neighbor Function
63 TSP - Example Neighbor Function Each route is like an ordered list, therefore to alter the order we must swap the position of items.
64 TSP - Example Neighbor Function Each route is like an ordered list, therefore to alter the order we must swap the position of items. Constant sized interval
65 TSP - Example Neighbor Function Each route is like an ordered list, therefore to alter the order we must swap the position of items. Constant sized interval Randomly select two integer values between 1 and n, inclusive, called a and b. Let r t r a, r a r b and r b r t
66 TSP - Example Consideration
67 Questions?
68 Thank You
69 References mathworld.wolfram.com Carr, Roger. Simulated Annealing. From MathWorld A Wolfram Web Resource, created by Eric W. Weisstein.
Algorithm Design (4) Metaheuristics
Algorithm Design (4) Metaheuristics Takashi Chikayama School of Engineering The University of Tokyo Formalization of Constraint Optimization Minimize (or maximize) the objective function f(x 0,, x n )
More informationINF Biologically inspired computing Lecture 1: Marsland chapter 9.1, Optimization and Search Jim Tørresen
INF3490 - Biologically inspired computing Lecture 1: Marsland chapter 9.1, 9.4-9.6 2017 Optimization and Search Jim Tørresen Optimization and Search 2 Optimization and Search Methods (selection) 1. Exhaustive
More informationEscaping Local Optima: Genetic Algorithm
Artificial Intelligence Escaping Local Optima: Genetic Algorithm Dae-Won Kim School of Computer Science & Engineering Chung-Ang University We re trying to escape local optima To achieve this, we have learned
More informationTABU search and Iterated Local Search classical OR methods
TABU search and Iterated Local Search classical OR methods tks@imm.dtu.dk Informatics and Mathematical Modeling Technical University of Denmark 1 Outline TSP optimization problem Tabu Search (TS) (most
More informationOutline. TABU search and Iterated Local Search classical OR methods. Traveling Salesman Problem (TSP) 2-opt
TABU search and Iterated Local Search classical OR methods Outline TSP optimization problem Tabu Search (TS) (most important) Iterated Local Search (ILS) tks@imm.dtu.dk Informatics and Mathematical Modeling
More informationAlgorithms & Complexity
Algorithms & Complexity Nicolas Stroppa - nstroppa@computing.dcu.ie CA313@Dublin City University. 2006-2007. November 21, 2006 Classification of Algorithms O(1): Run time is independent of the size of
More informationAdvanced Search Simulated annealing
Advanced Search Simulated annealing Yingyu Liang yliang@cs.wisc.edu Computer Sciences Department University of Wisconsin, Madison [Based on slides from Jerry Zhu, Andrew Moore http://www.cs.cmu.edu/~awm/tutorials
More informationMETAHEURISTICS. Introduction. Introduction. Nature of metaheuristics. Local improvement procedure. Example: objective function
Introduction METAHEURISTICS Some problems are so complicated that are not possible to solve for an optimal solution. In these problems, it is still important to find a good feasible solution close to the
More informationHeuristic Optimization Introduction and Simple Heuristics
Heuristic Optimization Introduction and Simple Heuristics José M PEÑA (jmpena@fi.upm.es) (Universidad Politécnica de Madrid) 1 Outline 1. What are optimization problems? 2. Exhaustive vs. Heuristic approaches
More informationMachine Learning for Software Engineering
Machine Learning for Software Engineering Single-State Meta-Heuristics Prof. Dr.-Ing. Norbert Siegmund Intelligent Software Systems 1 2 Recap: Goal is to Find the Optimum Challenges of general optimization
More informationSimulated Annealing. Slides based on lecture by Van Larhoven
Simulated Annealing Slides based on lecture by Van Larhoven Iterative Improvement 1 General method to solve combinatorial optimization problems Principle: Start with initial configuration Repeatedly search
More informationSPATIAL OPTIMIZATION METHODS
DELMELLE E. (2010). SPATIAL OPTIMIZATION METHODS. IN: B. WHARF (ED). ENCYCLOPEDIA OF HUMAN GEOGRAPHY: 2657-2659. SPATIAL OPTIMIZATION METHODS Spatial optimization is concerned with maximizing or minimizing
More informationCS 331: Artificial Intelligence Local Search 1. Tough real-world problems
CS 331: Artificial Intelligence Local Search 1 1 Tough real-world problems Suppose you had to solve VLSI layout problems (minimize distance between components, unused space, etc.) Or schedule airlines
More informationArtificial Intelligence Methods (G52AIM)
Artificial Intelligence Methods (G52AIM) Dr Rong Qu rxq@cs.nott.ac.uk Variable Neighborhood Search Idea of VNS So far on our local search based approaches, only one neighbourhood is employed To escape
More informationOutline of the module
Evolutionary and Heuristic Optimisation (ITNPD8) Lecture 2: Heuristics and Metaheuristics Gabriela Ochoa http://www.cs.stir.ac.uk/~goc/ Computing Science and Mathematics, School of Natural Sciences University
More informationNon-deterministic Search techniques. Emma Hart
Non-deterministic Search techniques Emma Hart Why do local search? Many real problems are too hard to solve with exact (deterministic) techniques Modern, non-deterministic techniques offer ways of getting
More informationMachine Learning for Software Engineering
Machine Learning for Software Engineering Introduction and Motivation Prof. Dr.-Ing. Norbert Siegmund Intelligent Software Systems 1 2 Organizational Stuff Lectures: Tuesday 11:00 12:30 in room SR015 Cover
More informationArtificial Intelligence p.1/49. n-queens. Artificial Intelligence p.2/49. Initial state: the empty board or a board with n random
Example: n-queens Put n queens on an n n board with no two queens on the same row, column, or diagonal A search problem! State space: the board with 0 to n queens Initial state: the empty board or a board
More informationSimulated Annealing. G5BAIM: Artificial Intelligence Methods. Graham Kendall. 15 Feb 09 1
G5BAIM: Artificial Intelligence Methods Graham Kendall 15 Feb 09 1 G5BAIM Artificial Intelligence Methods Graham Kendall Simulated Annealing Simulated Annealing Motivated by the physical annealing process
More informationHardware-Software Codesign
Hardware-Software Codesign 4. System Partitioning Lothar Thiele 4-1 System Design specification system synthesis estimation SW-compilation intellectual prop. code instruction set HW-synthesis intellectual
More informationResearch Incubator: Combinatorial Optimization. Dr. Lixin Tao December 9, 2003
Research Incubator: Combinatorial Optimization Dr. Lixin Tao December 9, 23 Content General Nature of Research on Combinatorial Optimization Problem Identification and Abstraction Problem Properties and
More informationTabu Search Method for Solving the Traveling salesman Problem. University of Mosul Received on: 10/12/2007 Accepted on: 4/3/2008
Raf. J. of Comp. & Math s., Vol. 5, No. 2, 2008 Tabu Search Method for Solving the Traveling salesman Problem Isra Natheer Alkallak Ruqaya Zedan Sha ban College of Nursing College of Medicine University
More informationOptimization Techniques for Design Space Exploration
0-0-7 Optimization Techniques for Design Space Exploration Zebo Peng Embedded Systems Laboratory (ESLAB) Linköping University Outline Optimization problems in ERT system design Heuristic techniques Simulated
More informationOutline. Best-first search. Greedy best-first search A* search Heuristics Local search algorithms
Outline Best-first search Greedy best-first search A* search Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing search Genetic algorithms Constraint Satisfaction Problems
More informationComparison of TSP Algorithms
Comparison of TSP Algorithms Project for Models in Facilities Planning and Materials Handling December 1998 Participants: Byung-In Kim Jae-Ik Shim Min Zhang Executive Summary Our purpose in this term project
More informationLocal Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )
Local Search and Optimization Chapter 4 Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) 1 2 Outline Local search techniques and optimization Hill-climbing
More informationLocal Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )
Local Search and Optimization Chapter 4 Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) 1 2 Outline Local search techniques and optimization Hill-climbing
More information6. Tabu Search 6.1 Basic Concepts. Fall 2010 Instructor: Dr. Masoud Yaghini
6. Tabu Search 6.1 Basic Concepts Fall 2010 Instructor: Dr. Masoud Yaghini Outline Tabu Search: Part 1 Introduction Illustrative Problems Search Space Neighborhood Structure Tabus Aspiration Criteria Termination
More informationLecture 3. Brute Force
Lecture 3 Brute Force 1 Lecture Contents 1. Selection Sort and Bubble Sort 2. Sequential Search and Brute-Force String Matching 3. Closest-Pair and Convex-Hull Problems by Brute Force 4. Exhaustive Search
More informationTravelling Salesman Problem: Tabu Search
Travelling Salesman Problem: Tabu Search (Anonymized) April 2017 Abstract The Tabu Search algorithm is a heuristic method to find optimal solutions to the Travelling Salesman Problem (TSP). It is a local
More informationIntroduction to Artificial Intelligence 2 nd semester 2016/2017. Chapter 4: Beyond Classical Search
Introduction to Artificial Intelligence 2 nd semester 2016/2017 Chapter 4: Beyond Classical Search Mohamed B. Abubaker Palestine Technical College Deir El-Balah 1 Outlines local search algorithms and optimization
More informationIntroduction to Optimization Using Metaheuristics. The Lecturer: Thomas Stidsen. Outline. Name: Thomas Stidsen: Nationality: Danish.
The Lecturer: Thomas Stidsen Name: Thomas Stidsen: tks@imm.dtu.dk Outline Nationality: Danish. General course information Languages: Danish and English. Motivation, modelling and solving Education: Ph.D.
More informationIntroduction to Stochastic Optimization Methods (meta-heuristics) Modern optimization methods 1
Introduction to Stochastic Optimization Methods (meta-heuristics) Modern optimization methods 1 Efficiency of optimization methods Robust method Efficiency Specialized method Enumeration or MC kombinatorial
More informationEvaluating Heuristic Optimization Phase Order Search Algorithms
Evaluating Heuristic Optimization Phase Order Search Algorithms by Prasad A. Kulkarni David B. Whalley Gary S. Tyson Jack W. Davidson Computer Science Department, Florida State University, Tallahassee,
More information6. Tabu Search. 6.3 Minimum k-tree Problem. Fall 2010 Instructor: Dr. Masoud Yaghini
6. Tabu Search 6.3 Minimum k-tree Problem Fall 2010 Instructor: Dr. Masoud Yaghini Outline Definition Initial Solution Neighborhood Structure and Move Mechanism Tabu Structure Illustrative Tabu Structure
More informationAdaptive Large Neighborhood Search
Adaptive Large Neighborhood Search Heuristic algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) VLSN and LNS By Very Large Scale Neighborhood (VLSN) local search, we
More informationInformed Search and Exploration
Ch. 04 p.1/39 Informed Search and Exploration Chapter 4 Ch. 04 p.2/39 Outline Best-first search A search Heuristics IDA search Hill-climbing Simulated annealing Ch. 04 p.3/39 Review: Tree search function
More information(Stochastic) Local Search Algorithms
DM841 DISCRETE OPTIMIZATION Part 2 Heuristics (Stochastic) Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. Components 2 Outline 1. 2. 3. Components
More informationIntroduction to Optimization Using Metaheuristics. Thomas J. K. Stidsen
Introduction to Optimization Using Metaheuristics Thomas J. K. Stidsen Outline General course information Motivation, modelling and solving Hill climbers Simulated Annealing 1 Large-Scale Optimization
More informationSingle Candidate Methods
Single Candidate Methods In Heuristic Optimization Based on: [3] S. Luke, "Essentials of Metaheuristics," [Online]. Available: http://cs.gmu.edu/~sean/book/metaheuristics/essentials.pdf. [Accessed 11 May
More informationEXECUTION PLAN OPTIMIZATION TECHNIQUES
EXECUTION PLAN OPTIMIZATION TECHNIQUES Július Štroffek Database Sustaining Engineer Sun Microsystems, Inc. Tomáš Kovařík Faculty of Mathematics and Physics, Charles University, Prague PostgreSQL Conference,
More informationSimple mechanisms for escaping from local optima:
The methods we have seen so far are iterative improvement methods, that is, they get stuck in local optima. Simple mechanisms for escaping from local optima: I Restart: re-initialise search whenever a
More informationMidterm Examination CS540-2: Introduction to Artificial Intelligence
Midterm Examination CS540-2: Introduction to Artificial Intelligence March 15, 2018 LAST NAME: FIRST NAME: Problem Score Max Score 1 12 2 13 3 9 4 11 5 8 6 13 7 9 8 16 9 9 Total 100 Question 1. [12] Search
More informationOptimal tour along pubs in the UK
1 From Facebook Optimal tour along 24727 pubs in the UK Road distance (by google maps) see also http://www.math.uwaterloo.ca/tsp/pubs/index.html (part of TSP homepage http://www.math.uwaterloo.ca/tsp/
More informationACO and other (meta)heuristics for CO
ACO and other (meta)heuristics for CO 32 33 Outline Notes on combinatorial optimization and algorithmic complexity Construction and modification metaheuristics: two complementary ways of searching a solution
More informationPole Shape Optimization Using a Tabu Search Scheme P. J. Leonard and A. M. Connor
Pole Shape Optimization Using a Tabu Search Scheme P. J. Leonard and A. M. Connor Abstract: The pole shape optimization of an electromagnet typical of an MRI type application is investigated. We compare
More informationHeuristic Optimisation
Heuristic Optimisation Part 2: Basic concepts Sándor Zoltán Németh http://web.mat.bham.ac.uk/s.z.nemeth s.nemeth@bham.ac.uk University of Birmingham S Z Németh (s.nemeth@bham.ac.uk) Heuristic Optimisation
More informationMarch 19, Heuristics for Optimization. Outline. Problem formulation. Genetic algorithms
Olga Galinina olga.galinina@tut.fi ELT-53656 Network Analysis and Dimensioning II Department of Electronics and Communications Engineering Tampere University of Technology, Tampere, Finland March 19, 2014
More informationNote: In physical process (e.g., annealing of metals), perfect ground states are achieved by very slow lowering of temperature.
Simulated Annealing Key idea: Vary temperature parameter, i.e., probability of accepting worsening moves, in Probabilistic Iterative Improvement according to annealing schedule (aka cooling schedule).
More informationProblem Solving: Informed Search
Problem Solving: Informed Search References Russell and Norvig, Artificial Intelligence: A modern approach, 2nd ed. Prentice Hall, 2003 (Chapters 1,2, and 4) Nilsson, Artificial intelligence: A New synthesis.
More informationCS 440 Theory of Algorithms /
CS 440 Theory of Algorithms / CS 468 Algorithms in Bioinformaticsi Brute Force. Design and Analysis of Algorithms - Chapter 3 3-0 Brute Force A straightforward approach usually based on problem statement
More informationPROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE
Artificial Intelligence, Computational Logic PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Lecture 10 Tree Decompositions Sarah Gaggl Dresden, 30th June 2015 Agenda 1 Introduction 2 Uninformed
More informationDesign and Analysis of Algorithms
CSE 101, Winter 2018 Design and Analysis of Algorithms Lecture 17: Coping With Intractability Class URL: http://vlsicad.ucsd.edu/courses/cse101-w18/ Branch-and-Bound (B&B) Variant of backtrack with costs
More informationPARTICLE Swarm Optimization (PSO), an algorithm by
, March 12-14, 2014, Hong Kong Cluster-based Particle Swarm Algorithm for Solving the Mastermind Problem Dan Partynski Abstract In this paper we present a metaheuristic algorithm that is inspired by Particle
More informationA Comparative Study of Tabu Search and Simulated Annealing for Traveling Salesman Problem. Project Report Applied Optimization MSCI 703
A Comparative Study of Tabu Search and Simulated Annealing for Traveling Salesman Problem Project Report Applied Optimization MSCI 703 Submitted by Sachin Jayaswal Student ID: 20186226 Department of Management
More informationArtificial Intelligence
Artificial Intelligence Informed Search and Exploration Chapter 4 (4.3 4.6) Searching: So Far We ve discussed how to build goal-based and utility-based agents that search to solve problems We ve also presented
More informationHeuristic Optimisation
Heuristic Optimisation Part 3: Classification of algorithms. Exhaustive search Sándor Zoltán Németh http://web.mat.bham.ac.uk/s.z.nemeth s.nemeth@bham.ac.uk University of Birmingham S Z Németh (s.nemeth@bham.ac.uk)
More informationOutline. Informed Search. Recall: Uninformed Search. An Idea. Heuristics Informed search techniques More on heuristics Iterative improvement
Outline Informed Search ECE457 Applied Artificial Intelligence Fall 2007 Lecture #3 Heuristics Informed search techniques More on heuristics Iterative improvement Russell & Norvig, chapter 4 Skip Genetic
More informationLast topic: Summary; Heuristics and Approximation Algorithms Topics we studied so far:
Last topic: Summary; Heuristics and Approximation Algorithms Topics we studied so far: I Strength of formulations; improving formulations by adding valid inequalities I Relaxations and dual problems; obtaining
More informationn Informally: n How to form solutions n How to traverse the search space n Systematic: guarantee completeness
Advanced Search Applications: Combinatorial Optimization Scheduling Algorithms: Stochastic Local Search and others Analyses: Phase transitions, structural analysis, statistical models Combinatorial Problems
More informationCS 188: Artificial Intelligence
CS 188: Artificial Intelligence Constraint Satisfaction Problems II and Local Search Instructors: Sergey Levine and Stuart Russell University of California, Berkeley [These slides were created by Dan Klein
More informationA SIMULATED ANNEALING ALGORITHM FOR SOME CLASS OF DISCRETE-CONTINUOUS SCHEDULING PROBLEMS. Joanna Józefowska, Marek Mika and Jan Węglarz
A SIMULATED ANNEALING ALGORITHM FOR SOME CLASS OF DISCRETE-CONTINUOUS SCHEDULING PROBLEMS Joanna Józefowska, Marek Mika and Jan Węglarz Poznań University of Technology, Institute of Computing Science,
More informationParallel Computing in Combinatorial Optimization
Parallel Computing in Combinatorial Optimization Bernard Gendron Université de Montréal gendron@iro.umontreal.ca Course Outline Objective: provide an overview of the current research on the design of parallel
More informationCSC Design and Analysis of Algorithms. Lecture 4 Brute Force, Exhaustive Search, Graph Traversal Algorithms. Brute-Force Approach
CSC 8301- Design and Analysis of Algorithms Lecture 4 Brute Force, Exhaustive Search, Graph Traversal Algorithms Brute-Force Approach Brute force is a straightforward approach to solving a problem, usually
More informationMetaheuristic Development Methodology. Fall 2009 Instructor: Dr. Masoud Yaghini
Metaheuristic Development Methodology Fall 2009 Instructor: Dr. Masoud Yaghini Phases and Steps Phases and Steps Phase 1: Understanding Problem Step 1: State the Problem Step 2: Review of Existing Solution
More informationKapitel 5: Local Search
Inhalt: Kapitel 5: Local Search Gradient Descent (Hill Climbing) Metropolis Algorithm and Simulated Annealing Local Search in Hopfield Neural Networks Local Search for Max-Cut Single-flip neighborhood
More informationOrigins of Operations Research: World War II
ESD.83 Historical Roots Assignment METHODOLOGICAL LINKS BETWEEN OPERATIONS RESEARCH AND STOCHASTIC OPTIMIZATION Chaiwoo Lee Jennifer Morris 11/10/2010 Origins of Operations Research: World War II Need
More informationLocal Search Overview
DM841 DISCRETE OPTIMIZATION Part 2 Heuristics Local Search Overview Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. Local Search 2 Outline
More informationInformed search algorithms. (Based on slides by Oren Etzioni, Stuart Russell)
Informed search algorithms (Based on slides by Oren Etzioni, Stuart Russell) The problem # Unique board configurations in search space 8-puzzle 9! = 362880 15-puzzle 16! = 20922789888000 10 13 24-puzzle
More informationEvolutionary Computation Algorithms for Cryptanalysis: A Study
Evolutionary Computation Algorithms for Cryptanalysis: A Study Poonam Garg Information Technology and Management Dept. Institute of Management Technology Ghaziabad, India pgarg@imt.edu Abstract The cryptanalysis
More informationHill Climbing. Assume a heuristic value for each assignment of values to all variables. Maintain an assignment of a value to each variable.
Hill Climbing Many search spaces are too big for systematic search. A useful method in practice for some consistency and optimization problems is hill climbing: Assume a heuristic value for each assignment
More informationMassively Parallel Approximation Algorithms for the Traveling Salesman Problem
Massively Parallel Approximation Algorithms for the Traveling Salesman Problem Vaibhav Gandhi May 14, 2015 Abstract This paper introduces the reader to massively parallel approximation algorithms which
More informationSolving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm
Solving the Maximum Cardinality Bin Packing Problem with a Weight Annealing-Based Algorithm Kok-Hua Loh Nanyang Technological University Bruce Golden University of Maryland Edward Wasil American University
More informationInformed Search and Exploration
Artificial Intelligence Informed Search and Exploration Readings: Chapter 4 of Russell & Norvig. Best-First Search Idea: use a function f for each node n to estimate of desirability Strategy: Alwasy expand
More informationTabu Search - Examples
- Examples Petru Eles Department of Computer and Information Science (IDA) Linköpings universitet http://www.ida.liu.se/~petel/ 1 Examples Hardware/Software Partitioning Travelling Salesman 2 TS Examples:
More informationMetaheuristics : from Design to Implementation
Metaheuristics : from Design to Implementation Chap 2 Single-solution based Metaheuristics Wiley, 2009 (596pp) ISBN: 978-0-470-27858-1 Single solution-based metaheuristics Improvement of a single solution
More informationPerformance Analysis of Shortest Path Routing Problem using Heuristic Algorithms
Performance Analysis of Shortest Path Routing Problem using Heuristic Algorithms R. Somasundara Manikandan 1 1 Department of Computer Science, Raja Doraisingam Govt. Arts College, Sivaganga, Tamilnadu,
More informationAutomatic PID tuning, a heuristic optimization approach
Congreso Anual 2 de la Asociación de México de Control Automático. Puerto Vallarta, Jalisco, México. Automatic PID tuning, a heuristic optimization approach Rodrigo Abrajan-Guerrero, Luis Alejandro Marquez-Martinez
More informationDiscrete (and Continuous) Optimization WI4 131
Discrete (and Continuous) Optimization WI4 131 Kees Roos Technische Universiteit Delft Faculteit Electrotechniek, Wiskunde en Informatica Afdeling Informatie, Systemen en Algoritmiek e-mail: C.Roos@ewi.tudelft.nl
More informationPROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE
Artificial Intelligence, Computational Logic PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Lecture 2 Uninformed Search vs. Informed Search Sarah Gaggl Dresden, 28th April 2015 Agenda 1 Introduction
More informationVery Large Scale Neighborhood Search. Collaborators include: Ravi Ahuja, Ozlem Ergun, Abraham Punnen, Dushyant Sharma
Very Large Scale Neighborhood Search Collaborators include: Ravi Ahuja, Ozlem Ergun, Abraham Punnen, Dushyant Sharma Neighborhood Search Combinatorial Optimization: minimize (f(s) : S F) f is typically
More informationArtificial Intelligence
Artificial Intelligence Dr Ahmed Rafat Abas Computer Science Dept, Faculty of Computers and Informatics, Zagazig University arabas@zu.edu.eg http://www.arsaliem.faculty.zu.edu.eg/ Informed search algorithms
More informationInformed Search. Dr. Richard J. Povinelli. Copyright Richard J. Povinelli Page 1
Informed Search Dr. Richard J. Povinelli Copyright Richard J. Povinelli Page 1 rev 1.1, 9/25/2001 Objectives You should be able to explain and contrast uniformed and informed searches. be able to compare,
More informationx n+1 = x n f(x n) f (x n ), (1)
1 Optimization The field of optimization is large and vastly important, with a deep history in computer science (among other places). Generally, an optimization problem is defined by having a score function
More informationIterative improvement algorithms. Today. Example: Travelling Salesperson Problem. Example: n-queens
Today See Russell and Norvig, chapters 4 & 5 Local search and optimisation Constraint satisfaction problems (CSPs) CSP examples Backtracking search for CSPs 1 Iterative improvement algorithms In many optimization
More informationMVE165/MMG631 Linear and integer optimization with applications Lecture 9 Discrete optimization: theory and algorithms
MVE165/MMG631 Linear and integer optimization with applications Lecture 9 Discrete optimization: theory and algorithms Ann-Brith Strömberg 2018 04 24 Lecture 9 Linear and integer optimization with applications
More informationConstraint Satisfaction Problems
Last update: February 25, 2010 Constraint Satisfaction Problems CMSC 421, Chapter 5 CMSC 421, Chapter 5 1 Outline CSP examples Backtracking search for CSPs Problem structure and problem decomposition Local
More informationA Survey of Tabu Search in Combinatorial Optimization
UNLV Theses, Dissertations, Professional Papers, and Capstones 5-1-2014 A Survey of Tabu Search in Combinatorial Optimization Lemasri Piniganti University of Nevada, Las Vegas, lemapiniganti@gmail.com
More informationAn Ant Approach to the Flow Shop Problem
An Ant Approach to the Flow Shop Problem Thomas Stützle TU Darmstadt, Computer Science Department Alexanderstr. 10, 64283 Darmstadt Phone: +49-6151-166651, Fax +49-6151-165326 email: stuetzle@informatik.tu-darmstadt.de
More informationBiologically Inspired Algorithms (A4M33BIA) Optimization: Conventional and Unconventional Optimization Techniques
Algorithms (A4M33BIA) : and Techniques Jiří Kubalík Czech Technical University in Prague Faculty of Electrical Engineering Department of Cybernetics Based on P. Pošík: Introduction to Soft Computing..
More informationThree-Dimensional Cylindrical Model for Single-Row Dynamic Routing
MATEMATIKA, 2014, Volume 30, Number 1a, 30-43 Department of Mathematics, UTM. Three-Dimensional Cylindrical Model for Single-Row Dynamic Routing 1 Noraziah Adzhar and 1,2 Shaharuddin Salleh 1 Department
More informationTwo approaches. Local Search TSP. Examples of algorithms using local search. Local search heuristics - To do list
Unless P=NP, there is no polynomial time algorithm for SAT, MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP,. But we have to solve (instances of) these problems anyway what
More informationLecture 06 Tabu Search
Lecture 06 Tabu Search s.l. dr. ing. Ciprian-Bogdan Chirila chirila@cs.upt.ro http://www.cs.upt.ro/~chirila Heuristic Methods Outline Introduction The TS framework Example Notation and problem description
More informationComplete Local Search with Memory
Complete Local Search with Memory Diptesh Ghosh Gerard Sierksma SOM-theme A Primary Processes within Firms Abstract Neighborhood search heuristics like local search and its variants are some of the most
More informationA combination of clustering algorithms with Ant Colony Optimization for large clustered Euclidean Travelling Salesman Problem
A combination of clustering algorithms with Ant Colony Optimization for large clustered Euclidean Travelling Salesman Problem TRUNG HOANG DINH, ABDULLAH AL MAMUN Department of Electrical and Computer Engineering
More informationOverview of Tabu Search
Overview of Tabu Search The word tabu (or taboo) comes from Tongan, a language of Polynesia, where it was used by the aborigines of Tonga island to indicate things that cannot be touched because they are
More informationIntroduction (7.1) Genetic Algorithms (GA) (7.2) Simulated Annealing (SA) (7.3) Random Search (7.4) Downhill Simplex Search (DSS) (7.
Chapter 7: Derivative-Free Optimization Introduction (7.1) Genetic Algorithms (GA) (7.2) Simulated Annealing (SA) (7.3) Random Search (7.4) Downhill Simplex Search (DSS) (7.5) Jyh-Shing Roger Jang et al.,
More informationA Meta-heuristic Approach to CVRP Problem: Search Optimization Based on GA and Ant Colony
Journal of Advances in Computer Research Quarterly pissn: 2345-606x eissn: 2345-6078 Sari Branch, Islamic Azad University, Sari, I.R.Iran (Vol. 7, No. 1, February 2016), Pages: 1-22 www.jacr.iausari.ac.ir
More informationK-Consistency. CS 188: Artificial Intelligence. K-Consistency. Strong K-Consistency. Constraint Satisfaction Problems II
CS 188: Artificial Intelligence K-Consistency Constraint Satisfaction Problems II Instructor: Marco Alvarez University of Rhode Island (These slides were created/modified by Dan Klein, Pieter Abbeel, Anca
More informationCS 188: Artificial Intelligence
CS 188: Artificial Intelligence CSPs II + Local Search Prof. Scott Niekum The University of Texas at Austin [These slides based on those of Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley.
More information