Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche

Similar presentations


Presentation on theme: "Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche"— Presentation transcript:

1 spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche {youssef,sadiq}@ccse.kfupm.edu.sa Department of Computer Engineering King Fahd University of Petroleum and Minerals Dhahran, Saudi Arabia

2 spie98-2 Talk outline l Introduction l Test Problem l GA, SA, and TS l Experimental Results

3 spie98-3 Introduction l General iterative Algorithms »general and “easy” to implement »approximation algorithms »must be told when to stop »hill-climbing »convergence

4 spie98-4 Introduction (Contd.) l Algorithm »Initialize parameters and data structures »construct initial solution(s) »Repeat –Repeat l Generate new solution(s) l Select solution(s) –Until time to adapt parameters –Update parameters »Until time to stop l End

5 spie98-5 Introduction (Contd.) l Most popular algorithms of this class »Genetic Algorithms –Probabilistic algorithm inspired by evolutionary mechanisms »Simulated Annealing –Probabilistic algorithm inspired by the annealing of metals »Tabu Search –Meta-heuristic which is a generalization of local search

6 spie98-6 Floorplanning l Given »n rectangular blocks –area and shape constraints »connectivity information »performance constraints (delay) »Floorplan area and shape constraints

7 spie98-7 Floorplanning l Output »each block –location and dimensions »meet all constraints –area and shape –performance

8 spie98-8 Slicing floorplan 21H67V45VH3HV21H67V45V3HHV

9 spie98-9 Evaluation Function l Evaluation function to compare solutions of successive iterations. l Floorplanning »area »wire length »delay l Use of fuzzy algebra

10 spie98-10 Fuzzy evaluation function l Three linguistic variables »Area, length, delay l One linguistic value per linguistic variable »Area --> small area »Length --> short length »Delay --> low delay

11 spie98-11 Membership functions

12 spie98-12 Fuzzy rule l Fuzzy subset of good floorplan solutions is characterized by the following fuzzy rule l Rule: »If (small area) OR (short length) OR (low delay) Then good solution

13 spie98-13 Fuzzy rule l Rule: »If (small area) OR (short length) OR (low delay) Then good solution l OR-Like Ordered Weighted Averaging Operator combined with concentration and dilation

14 spie98-14 Genetic Algorithms l Chromosomes (Chromosome = Polish Expression) l Chromosomes represent points in the search space (Chromosome = Polish Expression) l Each iteration is referred to as generation l New sets of strings called offsprings are created in each generation by mating l Cost function is translated to a fitness function l From the pool of parents and offsprings, candidates for the next generation are selected based on their fitness

15 spie98-15 Requirements l To represent solutions as strings of symbols or chromosomes l Operators: To operate on parent chromosomes to generate offsprings (crossover, mutation, inversion) l Mechanism for choice of parents for mating l A selection mechanism l A mechanism to efficiently compute the fitness

16 spie98-16 Decisions to be made l What is an efficient chromosomal representation? l Probability of crossover (P c )? Generally close to 1 l Probability of mutation (P m ) kept very very small, 1% - 5% (Schema theorem) l Type of crossover and Mutation scheme? l Size of the population? How to construct the initial population? l What selection mechanism to use, and the generation gap (i.e., what percentage of population to be replaced during each generation?)

17 spie98-17 Simulated Annealing l Most popular and well developed technique l Inspired by the cooling of metals l Based on the Metropolis experiment l Accepts bad moves with a probability that is a decreasing function of temperature l E represents energy (cost)

18 spie98-18 The Basic Algorithm l Start with »a random solution »a reasonably high value of T ( dependent on application ) l Call the Metropolis function l Update parameters »Decrease temperature (T*  ) »Increase number of iterations in loop, i.e., M, (M*  ) l Keep doing so until freezing, or, out of time

19 spie98-19 Metropolis Loop l Repeat Generate a neighbor solution;  Cost = Cost(newS) - Cost(currentS); If  Cost<0 then accept else accept only if Random < exp(-  Cost(/T)); Decrement M l Until M=0

20 spie98-20 Parameters l Also known as the cooling schedule: »comprises o –choice of proper values of initial temperature T o –decrement factor  <1 –parameter  >1 –M (how many times the Metropolis loop is executed) –stopping criterion

21 spie98-21 Tabu Search l Generalization of Local Search l At each step, the local neighborhood of the current solution is explored and the best solution is selected as the next solution l This best neighbor solution is accepted even if it is worse than the current solution (hill climbing)

22 spie98-22 Central Idea l Exploitation of memory structures l Short term memory »Tabu list »Aspiration criterion l Intermediate memory for intensification »used to target a specific region in the space and search around it thoroughly l Long term memory for diversification »used to store information such as frequency of a move to take search into unvisited regions.

23 spie98-23 Basic Short-Term TS 1. Start with an initial feasible solution 2. Initialize Tabu list and aspiration level 3. Generate a subset of neighborhood and find the best solution from the generated ones 4. If move in not in tabu list then accept else If move satisfies aspiration criterion then accept 5. Repeat above 2 steps until terminating condition

24 spie98-24 Implementation related issues l Size of candidate list? l Size of tabu list? l What aspiration criterion to use? l Fixed or dynamic tabu list? l What intensification strategy? l What diversification scheme to use?

25 spie98-25 Experimental Results l Quality of best solution l Progress of the search until stoppage time l Quality of solution subspaces searched

26 spie98-26 Best solution

27 spie98-27 Progress of the search

28 spie98-28 Quality of subspaces searched

29 spie98-29 Effect of cost inflation on SA

30 spie98-30 Effect of cost inflation on SA

31 spie98-31 Effect of cost inflation on SA

32 spie98-32 Questions?


Download ppt "Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche"

Similar presentations


Ads by Google