Computational Intelligence Lecture 20:Intorcution to Genetic Algorithm

Similar documents
GENETIC ALGORITHMS. Narra Priyanka. K.Naga Sowjanya. Vasavi College of Engineering. Ibrahimbahg,Hyderabad.

What is Evolutionary Computation? Genetic Algorithms. Components of Evolutionary Computing. The Argument. When changes occur...

VISHVESHWARAIAH TECHNOLOGICAL UNIVERSITY S.D.M COLLEGE OF ENGINEERING AND TECHNOLOGY. A seminar report on GENETIC ALGORITHMS.

Genetic Algorithm. Presented by Shi Yong Feb. 1, 2007 Music McGill University

Genetic Algorithm: A Search of Complex Spaces

Evolutionary Algorithms

Introduction To Genetic Algorithms

Intro. ANN & Fuzzy Systems. Lecture 36 GENETIC ALGORITHM (1)

The Metaphor. Individuals living in that environment Individual s degree of adaptation to its surrounding environment

Machine Learning. Genetic Algorithms

Machine Learning. Genetic Algorithms

CSE 590 DATA MINING. Prof. Anita Wasilewska SUNY Stony Brook

Evolutionary Computation

CEng 713 Evolutionary Computation, Lecture Notes

Logistics. Final exam date. Project Presentation. Plan for this week. Evolutionary Algorithms. Crossover and Mutation

Evolutionary Algorithms - Population management and popular algorithms Kai Olav Ellefsen

Evolutionary Algorithms and Simulated Annealing in the Topological Configuration of the Spanning Tree

Intelligent Techniques Lesson 4 (Examples about Genetic Algorithm)

GENETIC ALGORITHM CHAPTER 2

Energy management using genetic algorithms

A Comparison between Genetic Algorithms and Evolutionary Programming based on Cutting Stock Problem

TIMETABLING EXPERIMENTS USING GENETIC ALGORITHMS. Liviu Lalescu, Costin Badica

Journal of Global Research in Computer Science PREMATURE CONVERGENCE AND GENETIC ALGORITHM UNDER OPERATING SYSTEM PROCESS SCHEDULING PROBLEM

TRAINING FEED FORWARD NEURAL NETWORK USING GENETIC ALGORITHM TO PREDICT MEAN TEMPERATURE

FacePrints, Maze Solver and Genetic algorithms

Genetic Algorithm and Neural Network

Chapter 5: ENCODING. 5.1 Prologue

Recessive Trait Cross Over Approach of GAs Population Inheritance for Evolutionary Optimisation

Artificial Life Lecture 14 EASy. Genetic Programming. EASy. GP EASy. GP solution to to problem 1. EASy. Picturing a Lisp program EASy

Deterministic Crowding, Recombination And Self-Similarity

NEUROEVOLUTION AND AN APPLICATION OF AN AGENT BASED MODEL FOR FINANCIAL MARKET

A Genetic Algorithm on Inventory Routing Problem

Evolutionary Computation. James A. Foster Prof., Biological Sciences Initiative for Bioinformatics & Evol. Studies University of Idaho

Genetic Algorithms. Lecture Notes in Transportation Systems Engineering. Prof. Tom V. Mathew

Designing High Thermal Conductive Materials Using Artificial Evolution MICHAEL DAVIES, BASKAR GANAPATHYSUBRAMANIAN, GANESH BALASUBRAMANIAN

Improvement of Control System Responses Using GAs PID Controller

EFFECT OF CROSS OVER OPERATOR IN GENETIC ALGORITHMS ON ANTICIPATORY SCHEDULING

Evolutionary Algorithms - Introduction and representation Jim Tørresen

Immune Programming. Payman Samadi. Supervisor: Dr. Majid Ahmadi. March Department of Electrical & Computer Engineering University of Windsor

A NEW MUTATION OPERATOR IN GENETIC PROGRAMMING

Optimization of Riser in Casting Using Genetic Algorithm

Applying Computational Intelligence in Software Testing

Epistatic Genetic Algorithm for Test Case Prioritization

Permutation Free Encoding Technique for Evolving Neural Networks

Implementation of Genetic Algorithm for Agriculture System

Economic Design of Control Chart

Rule Minimization in Predicting the Preterm Birth Classification using Competitive Co Evolution

Analysis of NEAT and application in swarm intelligence

Data Mining for Genetics: A Genetic Algorithm Approach

Adaptive Genetic Programming applied to Classification in Data Mining

Forecasting Euro United States Dollar Exchange Rate with Gene Expression Programming

Construction and Application of Mathematical Model Based on Intelligent Test Paper Generation Algorithm

Evolutionary Algorithms:

PARALLEL LINE AND MACHINE JOB SCHEDULING USING GENETIC ALGORITHM

3. A student performed a gel electrophoresis experiment. The results are represented in the diagram below.

Genetic Algorithm with Upgrading Operator

Genetically Evolved Solution to Timetable Scheduling Problem

Derivative-based Optimization (chapter 6)

A GENETIC ALGORITHM FOR POLYTECHNIC TIME TABLING (EEPIS Timetabling Case Study)

Genetic Algorithms using Populations based on Multisets

Storage Allocation and Yard Trucks Scheduling in Container Terminals Using a Genetic Algorithm Approach

Evolving Bidding Strategies for Multiple Auctions

EVOLUTIONARY ALGORITHMS CT20A6300. Timo Mantere. Lecturer, Ph.D. (Econ. & BA) Department of Electrical engineering and automation University of Vaasa

Public Key Cryptography Using Genetic Algorithm

Optimization of Software Testing for Discrete Testsuite using Genetic Algorithm and Sampling Technique

Changing Mutation Operator of Genetic Algorithms for optimizing Multiple Sequence Alignment

AUTOMATIC TEST CASE GENERATION BASED ON GENETIC ALGORITHM

Genetic Algorithms in Matrix Representation and Its Application in Synthetic Data

A Study of Crossover Operators for Genetic Algorithms to Solve VRP and its Variants and New Sinusoidal Motion Crossover Operator

MINIMIZE THE MAKESPAN FOR JOB SHOP SCHEDULING PROBLEM USING ARTIFICIAL IMMUNE SYSTEM APPROACH

Parameter identification in the activated sludge process

Genetic Algorithms-Based Model for Multi-Project Human Resource Allocation

Optimizing Genetic Algorithms for Time Critical Problems

Keywords Genetic, pseudorandom numbers, cryptosystems, optimal solution.

Introduction to Information Systems Fifth Edition

INFLUENCE OF DATA QUANTITY ON ACCURACY OF PREDICTIONS IN MODELING TOOL LIFE BY THE USE OF GENETIC ALGORITHMS

Adapting Operator Settings in Genetic Algorithms

Classification and Learning Using Genetic Algorithms

Proceeding, Seminar of Intelligent Technology and Its Applications (SITIA 2000) Graha Institut Teknologi Sepuluh Nopember, Surabaya, 19 April 2000

Self-Improvement for the ADATE Automatic Programming System

Optimization of Shell and Tube Heat Exchangers Using modified Genetic Algorithm

Optimizing Online Auction Bidding Strategies Using Genetic Programming

OPTIMIZATION OF SUSTAINABLE OFFICE BUILDINGS IN STEEL USING GENETIC ALGORITHMS

Genetic Algorithms and Protein Folding

Metaheuristics and Cognitive Models for Autonomous Robot Navigation

Parallel evolution using multi-chromosome cartesian genetic programming

GENETIC ALGORITHMS FOR DESIGN OF PIPE NETWORK SYSTEMS

USING GENETIC ALGORITHMS TO GENERATE ALTERNATIVES FOR MULTI-OBJECTIVE CORRIDOR LOCATION PROBLEMS

UNIVERSITI PUTRA MALAYSIA GENETIC ALGORITHM FOR WEB DATA MINING KEVIN LOO TEOW AIK FSKTM

Combining Back-Propagation and Genetic Algorithms to Train Neural Networks for Start-Up Time Modeling in Combined Cycle Power Plants

Research and Applications of Shop Scheduling Based on Genetic Algorithms

Journal of Chemical and Pharmaceutical Research, 2014, 6(5): Research Article

An Improved Grouping Genetic Algorithm

9 Genetic Algorithms. 9.1 Introduction

Investigation of Constant Creation Techniques in the Context of Gene Expression Programming

Genetic Algorithm to Dry Dock Block Placement Arrangement Considering Subsequent Ships

Chapter 6: SELECTION. 6.1 Introduction

Improved Crossover and Mutation Operators for Genetic- Algorithm Project Scheduling

Modularity, Product Innovation, and Consumer Satisfaction: An Agent-Based Approach

Using Neural Network and Genetic Algorithm for Business Negotiation with Maximum Joint Gain in E-Commerce

Transcription:

Computational Intelligence Lecture 20:Intorcution to Genetic Algorithm Farzaneh Abdollahi Department of Electrical Engineering Amirkabir University of Technology Fall 2012 Farzaneh Abdollahi Computational Intelligence Lecture 20 1/18

Genetic Algorithm Genetic operators Advantages of Using GA Some Applications of GA Farzaneh Abdollahi Computational Intelligence Lecture 20 2/18

Genetic algorithms (GA) Genetic algorithms (GA) are inspired by Darwin s theory about evolution. Genetic Algorithms are good at taking large, potentially huge search spaces and navigating them, looking for optimal combinations of things, solutions you might not otherwise find in a lifetime. David E. Goldberg Computer Design, May 1995 Farzaneh Abdollahi Computational Intelligence Lecture 20 3/18

Genetic algorithms (GA) Evolutionary computing was firstly introduced in the 1960s by I. Rechenberg in Evolution strategies GA is developed by John Holland, University of Michigan (1970s) Holland s book Adaption in Natural and Artificial Systems was published in 1975. GA is search algorithm based on of biological evolution It provides effective techniques for optimization and machine learning applications Farzaneh Abdollahi Computational Intelligence Lecture 20 4/18

Evolutionary Computation It is inspired by biological evolution. It is started with a set of solutions (represented by chromosomes) called population. The population evolves over time, with the fittest at each generation contributing the most offspring to the next generation This is motivated by a hope, that the new population will be better than the old one. Farzaneh Abdollahi Computational Intelligence Lecture 20 5/18

Genetic Algorithm 1. Basic genetic population It is named gene or chromosome Chromosomes could be: Bit strings like (0101...1100) Real numbers like (43.2 33.1...0.089.2) Any element like (E11E3E7...E1E15) Lists of rules like (R1R2R3...R22R23) Program elements like (geneticprogramming) 2. Initialization procedure (creation) Create an initial population, it is usually generated randomly and can be any desired size, from just a few individuals to thousands. 3. Selection of parents (reproduction) Farzaneh Abdollahi Computational Intelligence Lecture 20 6/18

Genetic Algorithm Cont d 4. Evaluation function (environment) Each member of the population is then evaluated and a fitness is calculated for that individual. The fitness is calculated by how well it fits our the requirements such as faster algorithms are better, or more complex, stronger materials are better but they shouldn t be too heavy. The evaluator decodes a chromosome and assigns it a fitness measure The evaluator is defined based on the problem to be solved 5. Genetic operators (mutation, recombination) The operators are Mutation (alter, local changes) Crossover (recombination) Performance of GA very depends on the operators. Type and implementation of operators depends on encoding and also on a problem Farzaneh Abdollahi Computational Intelligence Lecture 20 7/18

Genetic operators Mutation (alter, local changes) Bit inversion: selected bits are inverted Order changing:two numbers are selected and exchanged (123456897) (183456297) Adding a small number :(for real value encoding)to selected values is added (or subtracted) a small number (1.295.682.864.115.55) (1.295.682.734.225.55) Farzaneh Abdollahi Computational Intelligence Lecture 20 8/18

Genetic operators Crossover (recombination) Single point crossover: one crossover point is selected, binary string from beginning of chromosome to the crossover point is copied from one parent, the rest is copied from the second parent Two point crossover: two crossover point are selected, binary string from beginning of chromosome to the first crossover point is copied from one parent, the part from the first to the second crossover point is copied from the second parent and the rest is copied from the first parent Farzaneh Abdollahi Computational Intelligence Lecture 20 9/18

Genetic operators Crossover (recombination) Uniform crossover: bits are randomly copied from the first or from the second parent Arithmetic crossover : some arithmetic operation is performed to make a new offspring Farzaneh Abdollahi Computational Intelligence Lecture 20 10/18

Genetic operators Crossover (recombination) Single point crossover: one crossover point is selected, till this point the permutation is copied from the first parent, then the second parent is scanned and if the number is not yet in the offspring it is added. Note: there are more ways how to produce the rest after crossover point (123456789) + (453689721) = (123456897) Tree crossover : in both parent one crossover point is selected, parents are divided in that point and exchange part below crossover point to produce new offspring Farzaneh Abdollahi Computational Intelligence Lecture 20 11/18

Genetic Algorithm (GA) Cont d 6. Selection: To improve our populations overall fitness, selection helps us discard bad designs and only keep the best individuals. There are a few different selection methods but the basic idea is the same, make it easier for fitter individuals to be selected for the next generation Generational GA: the entire population is replaced at each iteration Steady-state GA: just a few members are replaced at each generation Farzaneh Abdollahi Computational Intelligence Lecture 20 12/18

GA Cont d { initialize node population; evaluate node population; while (TerminationCriteriaNotSatisfied) { select parent nodes for reproduction; perform recombination and mutation; evaluate population; } } Farzaneh Abdollahi Computational Intelligence Lecture 20 13/18

Some Issue to be Considered Choose basic implementation issues carefully: Representation Population size, mutation rate,... Selection, deletion policies Crossover, mutation operators Termination Criteria Performance, scalability How acceptable is the solution? It is tightly depends on choosing the evaluation function (often hardest part) Farzaneh Abdollahi Computational Intelligence Lecture 20 14/18

Advantages of Using GA The concept is easy to understand It is modular and separate from application It can supports multi-objective optimization It is good for noisy environments It always gives answer; answer gets better with time Since it is inherently parallel it is easily distributed There are multiple ways to speed up and improve a GA-based application as soon as knowledge about problem domain is gained Disadvantage of GAs They can be slower than some other methods. But with todays computers it is not so big problem. Farzaneh Abdollahi Computational Intelligence Lecture 20 15/18

When Using GA is Recommended? Alternate solutions are too slow or much complicated Need an exploratory tool to examine new approaches Problem is similar to one that has already been successfully solved. Want to hybridize with an existing solution Farzaneh Abdollahi Computational Intelligence Lecture 20 16/18

Some Applications of GA Optimization and design Numerical optimization circuit design factory scheduling drug design travelling salesman resource allocation Automatic programming evolving computer programs (e.g., for image processing) evolving cellular automata Adaptive control robot navigation, trajectory planning evolution of rules for solving expert problems evolution of neural networks, improving classification algorithms, classifier systems Farzaneh Abdollahi Computational Intelligence Lecture 20 17/18

Some Useful References http://www.obitko.com/tutorials/genetic-algorithms/. Date of Acess: Jan, 2013. http://www.theprojectspot.com/tutorial-post/ creating-a-genetic-algorithm-for-beginners/3. Date of Acess: Jan, 2013. http://cgm.cs.mcgill.ca/~soss/cs644/projects/marko/. Date of Acess: Jan, 2013. W. Williams, Gentetic algorithms: A tutorial, arzaneh Abdollahi Computational Intelligence Lecture 20 18/18