D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.

Slides:



Advertisements
Similar presentations
Genetic Algorithms Chapter 3. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Algorithms GA Quick Overview Developed: USA in.
Advertisements

CS6800 Advanced Theory of Computation
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
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.
A simple EA and Common Search Operators Temi avanzati di Intelligenza Artificiale - Lecture 2 Prof. Vincenzo Cutello Department of Mathematics and Computer.
Genetic Algorithm for Variable Selection
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
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,
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
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.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Evolutionary algorithms
Genetic Algorithm.
Evolutionary Intelligence
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
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
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms Genetic Algorithms – What are they? And how they are inspired from evolution. Operators and Definitions in Genetic Algorithms paradigm.
Genetic Algorithms Introduction Advanced. Simple Genetic Algorithms: Introduction What is it? In a Nutshell References The Pseudo Code Illustrations Applications.
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult problems.
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,
 Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms n Introduction, or can evolution be intelligent? n Simulation.
1 Genetic Algorithms K.Ganesh Introduction GAs and Simulated Annealing The Biology of Genetics The Logic of Genetic Programmes Demo Summary.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Evolutionary Algorithms K. Ganesh Research Scholar, Ph.D., Industrial Management Division, Humanities and Social Sciences Department, Indian Institute.
Genetic Algorithms Abhishek Sharma Piyush Gupta Department of Instrumentation & Control.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Biologically inspired algorithms BY: Andy Garrett YE Ziyu.
Genetic Algorithms. The Basic Genetic Algorithm 1.[Start] Generate random population of n chromosomes (suitable solutions for the problem) 2.[Fitness]
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
Genetic Algorithms D Nagesh Kumar, IISc Water Resources Planning and Management: M9L2 Advanced Topics.
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.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Genetic Algorithms. Solution Search in Problem Space.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm(GA)
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Introduction to Genetic Algorithms
Chapter 14 Genetic Algorithms.
Genetic Algorithms.
Evolutionary Algorithms Jim Whitehead
Artificial Intelligence Methods (AIM)
Introduction to Genetic Algorithm (GA)
CSC 380: Design and Analysis of Algorithms
CS621: Artificial Intelligence
GENETIC ALGORITHMS & MACHINE LEARNING
Genetic Algorithms Chapter 3.
EE368 Soft Computing Genetic Algorithms.
Searching for solutions: Genetic Algorithms
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Beyond Classical Search
Population Based Metaheuristics
CSC 380: Design and Analysis of Algorithms
Presentation transcript:

D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search

D Nagesh Kumar, IIScOptimization Methods: M8L5 2 Introduction  Real world optimization problems mostly involve complexities like discrete-continuous or mixed variables, multiple conflicting objectives, non-linearity, discontinuity and non-convex region  Global optimum cannot be found in a reasonable time due to the large search space  For such problems, existing linear or nonlinear methods may not be efficient  Various stochastic search methods like simulated annealing, evolutionary algorithms (EA), hill climbing can be used in such situations

D Nagesh Kumar, IIScOptimization Methods: M8L5 3 Introduction  Among these techniques, the special advantage of EA’s are  Can be applied to any combination of complexities (multi-objective, non-linearity etc) and also  Can be combined with any existing local search or other methods  Various techniques which make use of EA approach  Genetic Algorithms (GA), Evolutionary Programming, Evolution Strategy, Learning Classifier System etc.  EA techniques operate mainly on a population search basis.

D Nagesh Kumar, IIScOptimization Methods: M8L5 4 Objectives  To discuss the basic concept of Evolutionary Algorithms (EA)  To explain the basic steps for a simple EA like  Parent Selection  Cross over  Mutation  To discuss the advantages and disadvantages of EA

D Nagesh Kumar, IIScOptimization Methods: M8L5 5 Basic Concept of EA EAs start from a population of possible solutions (called individuals) and move towards the optimal one by applying the principle of Darwinian evolution theory i.e., survival of the fittest Objects forming possible solution sets to the original problem is called phenotype The encoding (representation) or the individuals in the EA is called genotype The mapping of phenotype to genotype differs in each EA technique

D Nagesh Kumar, IIScOptimization Methods: M8L5 6 Basic Concept of EA …contd. In GA, variables are represented as strings of numbers (normally binary) Let the number of design variables be n Let each design variable is given by a string of length ‘ l Then the design vector will have a total string length ‘nl’ For example, if the string length be 4 for each design variable and there are 3 design variables, Then the chromosome length is 12 as shown

D Nagesh Kumar, IIScOptimization Methods: M8L5 7 Basic Concept of EA …contd. In GA, variables are represented as strings of numbers (normally binary) Let the number of design variables be n Let each design variable is given by a string of length ‘ l Then the design vector will have a total length ‘nl’ For example, if the string length be 4 and there are 3 design variables, Then the chromosome of length 12 is

D Nagesh Kumar, IIScOptimization Methods: M8L5 8 Basic Concept of EA …contd. An individual consists of a genotype and a fitness function Fitness Function: Represents the quality of the solution Forms the basis for selecting the individuals and thereby facilitates improvements

D Nagesh Kumar, IIScOptimization Methods: M8L5 9 Basic Concept of EA …contd. Pseudo code for a simple EA

D Nagesh Kumar, IIScOptimization Methods: M8L5 10 Basic Concept of EA …contd. Flowchart indicating the steps of a simple genetic algorithm

D Nagesh Kumar, IIScOptimization Methods: M8L5 11 Basic Concept of EA …contd. Initial population is randomly generated Individuals with better fitness functions from generation ‘i' are taken to generate individuals of ‘i+1’ th generation New population (offspring) is created by applying recombination and mutation to the selected individuals (parents) Finally, the new population is evaluated and the process is repeated The termination condition may be a desired fitness function, maximum number of generations etc

D Nagesh Kumar, IIScOptimization Methods: M8L5 12 Parent Selection Individuals are distinguished based on their fitness function value According to Darwin's evolution theory the best ones should survive and create new offspring for the next generation Different methods are available to select the best chromosomes Roulette wheel selection, Rank selection, Boltzman selection, Tournament selection, Steady state selection

D Nagesh Kumar, IIScOptimization Methods: M8L5 13 Parent Selection: Roulette wheel selection Each individual is selected with a probability proportional to its fitness value In other words, an individual is selected depending on the percentage contribution to the total population fitness Thus, weak solutions are eliminated and strong solutions survive to form the next generation

D Nagesh Kumar, IIScOptimization Methods: M8L5 14 Parent Selection: Roulette wheel selection …contd. Each string is formed by concatenating four substrings representing variables a, b, c and d. Length of each string is taken as four bits Consider a population containing four strings shown

D Nagesh Kumar, IIScOptimization Methods: M8L5 15 Parent Selection: Roulette wheel selection …contd. First column represents the possible solution in binary form Second column gives the fitness values of the decoded strings Third column gives the percentage contribution of each string to the total fitness of the population Thus, the probability of selection of candidate 1, as a parent of the next generation is 28.09% Probabilities of other candidates 2, 3, 4 are 19.59, and respectively

D Nagesh Kumar, IIScOptimization Methods: M8L5 16 Parent Selection: Roulette wheel selection …contd. These probabilities are represented on a pie chart Then four numbers are randomly generated between 1 and 100 The likeliness of these numbers falling in the region of candidate 2 might be once, whereas for candidate 4 it might be twice and candidate 1 more than once and for candidate 3 it may not fall at all Thus, the strings are chosen to form the parents of the next generation The main disadvantage of this method is when the fitnesses differ very much For example, if the best chromosome fitness is 90% of the entire roulette wheel then the other chromosomes will have very few chances to be selected

D Nagesh Kumar, IIScOptimization Methods: M8L5 17 Parent Selection: Rank Selection Population is ranked first Every chromosome will be allotted with one fitness corresponding to this ranking The worst will have fitness 1, second worst 2 etc. and the best will have fitness N (number of chromosomes in population) By doing this, all the chromosomes have a chance to be selected But this method can lead to slower convergence, because the best chromosomes may not differ much from the others

D Nagesh Kumar, IIScOptimization Methods: M8L5 18 Parent Selection Through selection new individuals cannot get introduced into the population Selection cannot find new points in the search space New individuals are generated by genetically-inspired operators known are crossover and mutation.

D Nagesh Kumar, IIScOptimization Methods: M8L5 19 Crossover Crossover can be of either one-point or two-point scheme One point crossover: Selected pair of strings is cut at some random position and their segments are swapped to form new pair of strings Consider two 8-bit strings given by ' ' and ' ' Choose a random crossover point after 3 bits from left Segments are swapped and the resulting strings are

D Nagesh Kumar, IIScOptimization Methods: M8L5 20 Crossover …contd. Two point crossover: There will be two break points in the strings that are randomly chosen At the break-point the segments of the two strings are swapped so that new set of strings are formed If two crossover points are selected as After swapping both the extreme segments, the resulting strings formed are

D Nagesh Kumar, IIScOptimization Methods: M8L5 21 Mutation Mutation is applied to each child individually after crossover Randomly alters each gene with a small probability (generally not greater than 0.01) Injects a new genetic character into the chromosome by changing at random a bit in a string depending on the probability of mutation Example: is mutated as Sixth bit '0' is changed to '1‘ In mutation process, bits are changed from '1' to '0' or '0' to '1' at the randomly chosen position of randomly selected strings

D Nagesh Kumar, IIScOptimization Methods: M8L5 22 Advantages and Disadvantages of EA: Advantages  EA can be efficiently used for highly complex problems with multi-objectivity, non-linearity etc  Provides not only a single best solution, but the 2 nd best, 3 rd best and so on as required.  Gives quick approximate solutions  Can incorporate with other local search algorithms

D Nagesh Kumar, IIScOptimization Methods: M8L5 23 Advantages and Disadvantages of EA: Disadvantages  Optimal solution cannot be ensured on using EA methods  Convergence of EA techniques are problem oriented  Sensitivity analysis should be carried out to find out the range in which the model is efficient  Implementation requires good programming skill

D Nagesh Kumar, IIScOptimization Methods: M8L5 24 Thank You