MAE 552 Heuristic Optimization

Slides:



Advertisements
Similar presentations
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
Advertisements

1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Introduction to Genetic Algorithms Yonatan Shichel.
Genetic Algorithm for Variable Selection
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #36 4/29/02 Multi-Objective Optimization.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #15 2/27/02 Bit Manipulation.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
7/2/2015Intelligent Systems and Soft Computing1 Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #12 2/18/02 Intro to Evolutionary Algorithms.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Tutorial 4 (Lecture 12) Remainder from lecture 10: The implicit fitness sharing method Exercises – any solutions? Questions?
Genetic Algorithm.
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
Evolving a Sigma-Pi Network as a Network Simulator by Justin Basilico.
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory Mixed Integer Problems Most optimization algorithms deal.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Genetic Algorithms Genetic algorithms imitate a natural optimization process: natural selection in evolution. Developed by John Holland at the University.
More on Heuristics Genetic Algorithms (GA) Terminology Chromosome –candidate solution - {x 1, x 2,...., x n } Gene –variable - x j Allele –numerical.
The Generational Control Model This is the control model that is traditionally used by GP systems. There are a distinct number of generations performed.
FINAL EXAM SCHEDULER (FES) Department of Computer Engineering Faculty of Engineering & Architecture Yeditepe University By Ersan ERSOY (Engineering Project)
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
 Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms n Introduction, or can evolution be intelligent? n Simulation.
Evolution Programs (insert catchy subtitle here).
Genetic Algorithms Genetic algorithms provide an approach to learning that is based loosely on simulated evolution. Hypotheses are often described by bit.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #12 2/20/02 Evolutionary Algorithms.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Robot Intelligence Technology Lab. Generalized game of life YongDuk Kim.
CS 8625 High Performance Computing Dr. Hoganson Copyright © 2003, Dr. Ken Hoganson CS8625 Class Will Start Momentarily… CS8625 High Performance.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Eight Queens Problem The problem is to place 8 queens on a chess board so that none of them can attack the other. A chess board can be considered a plain.
Hirophysics.com The Genetic Algorithm vs. Simulated Annealing Charles Barnes PHY 327.
Evolutionary Computation Evolving Neural Network Topologies.
Using GA’s to Solve Problems
Genetic Algorithms.
Genetic Algorithms.
Evolutionary Algorithms Jim Whitehead
Particle Swarm Optimization (2)
School of Computer Science & Engineering
C.-S. Shieh, EC, KUAS, Taiwan
A Distributed Genetic Algorithm for Learning Evaluation Parameters in a Strategy Game Gary Matthias.
Kalyanmoy Deb David E. Goldberg
Intelligent Systems and Soft Computing
An evolutionary approach to solving complex problems
Artificial Intelligence (CS 370D)
CS621: Artificial Intelligence
`Biologically Inspired Computing’
Genetic Algorithms Chapter 3.
○ Hisashi Shimosaka (Doshisha University)
EE368 Soft Computing Genetic Algorithms.
Boltzmann Machine (BM) (§6.4)
A Gentle introduction Richard P. Simpson
Introduction to Genetic Algorithm and Some Experience Sharing
This is additional material for week 2 of
Biologically Inspired Computing: Operators for Evolutionary Algorithms
Steady state Selection
Population Based Metaheuristics
Presentation transcript:

MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #14 2/25/02 Evolutionary Algorithms

Practical Implementation Issues The next set of slides will deal with some issues encountered in the practical implementation of a genetic algorithm. Specifically constraint handling and convergence criteria.

Constraint Handling What if we have a constrained problem? Typically would use a penalty function to worsen the fitness of any designs which violate constraints.

Constraint Handling Example of a penalty term. This will provide a numerical violation value. It is up to you to decide how this will effect your fitness.

Convergence Common ways of determining convergence: No change in best quality design over chosen number of gens. No change in average quality of population of chosen number of gens. Set a maximum allowable number of generations. Set a maximum allowable number of objective function evaluations.

Putting It All Together begin t = 0 initialize P(t) evaluate P(t) while (not converged) do t = t + 1 select P(t) from P(t-1) alter P(t) (variation operators) end do while end

We will toggle the switches to alter the payoff. Example Black Box ON OFF f(s) Payoff ($) We will toggle the switches to alter the payoff.

Example According to our 5 basic components, what should our first step be? Considering the nature of our problem, is there an encoding scheme that we think may work well? How can we encode solutions to our problem in this way?

Example We have decided on a vector of bit encoding because each of our switches has 2 states (on and off). So each of our encoded strings will look like this: [ {0,1}, {0,1}, {0,1}, {0,1}, {0,1} ] An example of which would be: [ 0, 1, 0, 1, 0 ]

Example What’s next? We must decide how to generate an initial population. We will use a random approach. This would be like flipping a coin a sufficient number of times to fill each of our initial designs with 1’s and 0’s.

Example Now what? We must decide how we are going to evaluate our design fitness. This is not (necessarily) the objective function value. In our case, we will consider the output (payoff) of our black box to be the design fitness (We will treat the switch settings as a binary number and our fitness will be the square of the decimal equivalent).

Example At this point, we have to decide how to implement our selection and variation operators. Selection As mentioned when presenting selection strategies, we will use the f/favg approach.

Example Variation - Crossover Recall the approaches presented for crossover on vectors of bits. (random parameter selection and n-pt crossover) We will choose to use single point uniform crossover. (uniform refers to the means by which we generate our random crossover pt.)

Example Variation – Mutation We will use random bit mutation which in this case is exactly the same as random design variable reassignment since each of our design variables is in itself a bit.

Example Parameters We need to decide on values for the parameters of our algorithm. ie: mutation and crossover rate, population size, convergence criteria (note that we are not going to run this optimization to completion so we will not explicitly worry about convergence).

Example Execution We will maintain a population of 4 members and perform 2 crossovers per generation. With 4 members, there are 6 possible parings (excluding order) so this is a 33% crossover rate. We will use a 5% mutation rate (bitwise).

Example Initial Population – Gen. #0 (recall f = x2): string X f f/favg # cop. 0 1 1 0 1 13 169 0.6 1 1 1 0 0 0 24 576 1.97 2 0 1 0 0 0 8 64 0.22 0 1 0 0 1 1 19 361 1.23 1 avg 292.5

Example Generation #1 - variation string after cross. after mutation 0 1 1 0 1 0 1 1 0 0 0 1 1 0 0 1 1 0 0 0 1 1 0 0 1 1 1 0 0 1 1 1 0 0 0 1 1 0 1 1 1 1 0 1 1 1 0 0 1 1 1 0 0 0 0 1 0 1 0 0

Example Generation #1 - evaluation + selection for 2 string X f f/favg # cop. 0 1 1 0 0 12 144 0.30 0 1 1 0 0 1 25 625 1.32 1 1 1 0 1 1 27 729 1.54 2 1 0 1 0 0 20 400 0.84 1 avg 474.5

Example Generation #2 - variation string after cross. after mutation 1 1 0 0 1 1 1 0 1 1 1 1 0 0 1 1 1 0 1 1 1 1 0 0 1 1 1 0 0 1 1 1 0 1 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 1 1 1 1 0 1 1 1

Example Generation #2 - evaluation + selection for 3: string X f f/favg # cop. 1 1 0 0 1 25 625 1.06 1 1 1 0 0 0 24 576 0.98 1 1 0 1 1 1 24 529 0.90 1 avg 588.8