Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin.

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

Genetic Algorithms Vida Movahedi November Contents What are Genetic Algorithms? From Biology … Evolution … To Genetic Algorithms Demo.
CS6800 Advanced Theory of Computation
Student : Mateja Saković 3015/2011.  Genetic algorithms are based on evolution and natural selection  Evolution is any change across successive generations.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
Valery Frolov.  The algorithm  Fitness function  Crossover  Mutation  Elite individuals  Reverse mutations  Some statistics  Run examples.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.5: Local search – Genetic Algorithms.
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.
Data Mining CS 341, Spring 2007 Genetic Algorithm.
Introduction to Genetic Algorithms Yonatan Shichel.
Genetic Algorithms GAs are one of the most powerful and applicable search methods available GA originally developed by John Holland (1975) Inspired by.
COMP 578 Genetic Algorithms for Data Mining Keith C.C. Chan Department of Computing The Hong Kong Polytechnic University.
1 Genetic Algorithms. CS The Traditional Approach Ask an expert Adapt existing designs Trial and error.
Genetic Algorithms Learning Machines for knowledge discovery.
Artificial Intelligence Genetic Algorithms and Applications of Genetic Algorithms in Compilers Prasad A. Kulkarni.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Evolutionary Computation Application Peter Andras peter.andras/lectures.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Christoph F. Eick: Applying EC to TSP(n) Example: Applying EC to the TSP Problem  Given: n cities including the cost of getting from on city to the other.
1. Optimization and its necessity. Classes of optimizations problems. Evolutionary optimization. –Historical overview. –How it works?! Several Applications.
Genetic Algorithm.
Evolutionary Intelligence
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Genetic algorithms Prof Kang Li
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Applying Genetic Algorithm to the Knapsack Problem Qi Su ECE 539 Spring 2001 Course Project.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms Introduction Advanced. Simple Genetic Algorithms: Introduction What is it? In a Nutshell References The Pseudo Code Illustrations Applications.
Genetic Algorithms Siddhartha K. Shakya School of Computing. The Robert Gordon University Aberdeen, UK
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
G ENETIC A LGORITHMS Ranga Rodrigo March 5,
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Evolutionary Algorithms K. Ganesh Research Scholar, Ph.D., Industrial Management Division, Humanities and Social Sciences Department, Indian Institute.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Biologically inspired algorithms BY: Andy Garrett YE Ziyu.
Innovative and Unconventional Approach Toward Analytical Cadastre – based on Genetic Algorithms Anna Shnaidman Mapping and Geo-Information Engineering.
GAIA (Genetic Algorithm Interface Architecture) Requirements Analysis Document (RAD) Version 1.0 Created By: Charles Hall Héctor Aybar William Grim Simone.
1 Autonomic Computer Systems Evolutionary Computation Pascal Paysan.
Neural Networks And Its Applications By Dr. Surya Chitra.
1 Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations Genetic Algorithm (GA)
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Agenda  INTRODUCTION  GENETIC ALGORITHMS  GENETIC ALGORITHMS FOR EXPLORING QUERY SPACE  SYSTEM ARCHITECTURE  THE EFFECT OF DIFFERENT MUTATION RATES.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Advanced AI – Session 6 Genetic Algorithm By: H.Nematzadeh.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithm(GA)
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
Hirophysics.com The Genetic Algorithm vs. Simulated Annealing Charles Barnes PHY 327.
Genetic Algorithm (Knapsack Problem)
-A introduction with an example
Genetic Algorithms.
Particle Swarm Optimization
Introduction to Genetic Algorithm (GA)
CSC 380: Design and Analysis of Algorithms
EE368 Soft Computing Genetic Algorithms.
Introduction to Genetic Algorithm and Some Experience Sharing
CSC 380: Design and Analysis of Algorithms
Presentation transcript:

Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin

Learning Objectives Map concepts from evolutionary biology to genetic algorithms (GAs) Identify parameters for running a GA Use a GA to solve an optimization problem List limitations CEE 6410David Rosenberg 2

Biology - A Brief Review CEE 6410David Rosenberg 3

Darwin’s Theory of Evolution Genetic makeup determines an individual’s physical characteristics The environment acts on individuals to determine an individual’s –Suitability to survive –Likelihood to reproduce Individuals more fit to survive in a particular environment: –Pass more genetic material to their offspring –Their offspring are better fit to survive CEE 6410David Rosenberg 4

CEE 6410David Rosenberg 5 Which of the following statements comes closest to your views on the origin and development of human beings?

Map Concepts CEE 6410David Rosenberg 6 BiologyGenetic Algorithms Systems Analysis Gene – sequence of nucleotides on a DNA strand GeneDecision variable value Chromosome – group of genes on a single strand of DNA ChromosomeArray of decision variables Individual – collection of chromosomes Chromosome / Individual Alternative – array of decision variables Population – collection of individuals PopulationA set of alternatives FitnessFitness functionObjective function value

GA Solution Process 1.Generate the initial population (e.g., random) 2.Evaluate fitness of each individual 3.Test for completion –Are our stop criteria met? 4.Generate new population (use genetic operators) 5.Return to Step #2 CEE 6410David Rosenberg 7

1. Generate the Population CEE 6410David Rosenberg 8

2. Evaluate Fitness CEE 6410David Rosenberg 9

3. Test for Completion Maximum number of iterations (generations) reached? Maximum execution time reached (e.g., Excel)? Convergence criteria reach (e.g., in Excel, difference in fitness between the 1 st and 99 th percentile individuals) CEE 6410David Rosenberg 10

3. Genetic operators to generate a new population Selection –Select 2 parent individuals from current population –Randomly select parents by their fitness Crossover –Use genes from one or the other of the parents Mutation –Make a random (small) change in a gene value Elitism –Retain the fittest parent individuals (alternatives) in the next generation CEE 6410David Rosenberg 11

The Crossover Operator CEE 6410David Rosenberg 12

The Mutation Operator CEE 6410David Rosenberg 13

The Elitism Operator CEE 6410David Rosenberg 14 Parent Population Fitness Rank Next Generation 1 Retain New 7 : : : n Selection, crossover, & mutation

Key GA Simulation Parameters CEE 6410David Rosenberg 15 SymbolDescription nPopulation size (#) pcpc Probability of crossover (0 ≤ p c ≤ 1) pmpm Probability of mutation (0 ≤ p m ≤ 1) G max Maximum number of generations ENumber of elite individuals

Ex 1. Solve the nonlinear optimization problem with a GA Max Z = f(x,y) = 1000 – [(x-1) 2 + (y-1) 2 ] s.t.-10 ≤ x ≤ ≤ y ≤ 10 With n = 100 p m = 0.05 G max = 100 p c, E = as appropriate Hint: Use the Evolutionary Solve method in Excel CEE 6410David Rosenberg 16

Ex 2. Which GA Simulation Parameters are missing in Excel? CEE 6410David Rosenberg 17

GA Solution Convergence (McKee) CEE 6410David Rosenberg 18

GA Limitations Optimal solution not guaranteed Larger population increases –Likelihood to find optimal solution –Computation effort Higher mutation probability –Avoids getting stuck in a local optimum –Increases the tendency for solutions to wander Parameter settings are specific to the problem structure CEE 6410David Rosenberg 19

Conclusions Genetic algorithms provide a flexible tool to solve complex optimization problems Can embed simulation models Parameter settings are specific to the problem structure Lots of public-domain and commercial software available CEE 6410David Rosenberg 20