Genetic Algorithm: An Optimization Technique Concept

Similar documents
Introduction To Genetic Algorithms

Evolutionary Algorithms

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

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

Machine Learning. Genetic Algorithms

Machine Learning. Genetic Algorithms

Genetic Algorithm: A Search of Complex Spaces

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

10. Lecture Stochastic Optimization

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

Energy management using genetic algorithms

GENETIC ALGORITHM BASED APPROACH FOR THE SELECTION OF PROJECTS IN PUBLIC R&D INSTITUTIONS

Intelligent Techniques Lesson 4 (Examples about Genetic Algorithm)

PARALLEL LINE AND MACHINE JOB SCHEDULING USING GENETIC ALGORITHM

Computational Intelligence Lecture 20:Intorcution to Genetic Algorithm

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

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

Evolutionary Algorithms - Population management and popular algorithms Kai Olav Ellefsen

TIMETABLING EXPERIMENTS USING GENETIC ALGORITHMS. Liviu Lalescu, Costin Badica

GENETIC ALGORITHM CHAPTER 2

A Genetic Algorithm on Inventory Routing Problem

Genetic Algorithms. Part 3: The Component of Genetic Algorithms. Spring 2009 Instructor: Dr. Masoud Yaghini

EFFECT OF CROSS OVER OPERATOR IN GENETIC ALGORITHMS ON ANTICIPATORY SCHEDULING

Improvement of Control System Responses Using GAs PID Controller

Evolutionary Algorithms - Introduction and representation Jim Tørresen

GENETIC ALGORITHM A NOBLE APPROACH FOR ECONOMIC LOAD DISPATCH

IMPLEMENTATION OF AN OPTIMIZATION TECHNIQUE: GENETIC ALGORITHM

What is Genetic Programming(GP)?

Public Key Cryptography Using Genetic Algorithm

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

Evolutionary Computation

Genetically Evolved Solution to Timetable Scheduling Problem

The Making of the Fittest: Natural Selection in Humans

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

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

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

Changing Mutation Operator of Genetic Algorithms for optimizing Multiple Sequence Alignment

Genetic Algorithms using Populations based on Multisets

Deterministic Crowding, Recombination And Self-Similarity

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

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

Applying Computational Intelligence in Software Testing

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

CEng 713 Evolutionary Computation, Lecture Notes

FacePrints, Maze Solver and Genetic algorithms

Hybridization of Genetic Algorithm and Neural Network for Optimization Problem

Faculty of Cognitive Sciences and Human Development

Genetic Algorithms in Matrix Representation and Its Application in Synthetic Data

Implementation of Genetic Algorithm for Agriculture System

Derivative-based Optimization (chapter 6)

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

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

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

An Improved Genetic Algorithm for Generation Expansion Planning

9 Genetic Algorithms. 9.1 Introduction

The Theory of Evolution

Keywords Genetic algorithm, Premature convergence, DGCA, Elitist, Diversity

Optimization of Riser in Casting Using Genetic Algorithm

Evolving Bidding Strategies for Multiple Auctions

5/18/2017. Genotypic, phenotypic or allelic frequencies each sum to 1. Changes in allele frequencies determine gene pool composition over generations

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

11.1 Genetic Variation Within Population. KEY CONCEPT A population shares a common gene pool.

Keywords Genetic, pseudorandom numbers, cryptosystems, optimal solution.

Zoology Evolution and Gene Frequencies

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

Economic Design of Control Chart

Section KEY CONCEPT A population shares a common gene pool.

Chapter 5: ENCODING. 5.1 Prologue

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

An Improved Immune Genetic Algorithm for Capacitated Vehicle Routing Problem

Genetic Drift and Natural Selection:

Population and Community Dynamics. The Hardy-Weinberg Principle

Optimization of Shell and Tube Heat Exchangers Using modified Genetic Algorithm

Genetic Algorithms and Sensitivity Analysis in Production Planning Optimization

GENETIC ALGORITHMS FOR DESIGN OF PIPE NETWORK SYSTEMS

The Genetic Algorithm CSC 301, Analysis of Algorithms Department of Computer Science Grinnell College December 5, 2016

Evolutionary Computation

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

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

Reproduction Strategy Based on Self-Organizing Map for Real-coded Genetic Algorithms

AP BIOLOGY Population Genetics and Evolution Lab

OPTIMIZATION OF THE WATER DISTRIBUTION NETWORKS WITH SEARCH SPACE REDUCTION

Forecasting Euro United States Dollar Exchange Rate with Gene Expression Programming

Summary Genes and Variation Evolution as Genetic Change. Name Class Date

Genotype Editing and the Evolution of Regulation and Memory

GENETIC DRIFT INTRODUCTION. Objectives

A Fast Genetic Algorithm with Novel Chromosome Structure for Solving University Scheduling Problems

Improved Crossover and Mutation Operators for Genetic- Algorithm Project Scheduling

APPLYING IMPROVED GENETIC ALGORITHM FOR SOLVING JOB SHOP SCHEDULING PROBLEMS

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

An Evolutionary Algorithm Based On The Aphid Life Cycle

Evolutionary Algorithms:

An evolutionary algorithm for a real vehicle routing problem

Integration of Process Planning and Job Shop Scheduling Using Genetic Algorithm

Genetics of dairy production

Using evolutionary techniques to improve the multisensor fusion of environmental measurements

An Approach to Analyze and Quantify the Functional Requirements in Software System Engineering

Genetic Algorithm with Upgrading Operator

Procedia - Social and Behavioral Sciences 189 ( 2015 ) XVIII Annual International Conference of the Society of Operations Management (SOM-14)

Evolutionary computing

Transcription:

Genetic Algorithm: An Optimization Technique Concept 1 Uma Anand, 2 Chain Singh 1 Student M.Tech (3 rd sem) Department of Computer Science Engineering Dronacharya College of Engineering, Gurgaon-123506, India 2 Assistant Professor Dronacharya College of Engineering, Gurgaon-123506, India ABSTRACT Genetic algorithms (GA) is a very useful optimization technique which is used for searching very large spaces and plays role model for searching techniques in the genetic material in living organisms. Genetic algorithms tend to thrive in an environment where there is a very large set of candidate solutions and in which the search space is uneven and has many hills and valleys. Genetic Algorithm basically helps to create useful substructures that can be potentially combined to make fitter individuals. A small population of individuals can be effectively used to search a large space which helps in employing useful schemata. This paper focuses on how the genetic algorithm is a good optimization technique. KEYWORDS: Genetic Algorithm, Crossover, Mutation 1. INTRODUCTION Genetic Algorithms (GAs) are versatile heuristic pursuit calculation prefaced on the transformative thoughts of regular choice and hereditary. The fundamental idea of GAs is intended to re-enact forms in normal framework important for development, particularly those that take after the standards first set around Charles Darwin of survival of the fittest. All things considered they speak to a shrewd misuse of an arbitrary pursuit inside a characterized look space to tackle an issue. In the branch of artificial intelligence, a genetic algorithm (GA) is a search heuristic technique that predicts the process of natural selection. Genetic algorithms are a method of "breeding" computer programs. They also provide solutions to search or optimization problems by means of simulated evolution. This heuristic technique is is very useful in generating some useful solutions to optimization and search problems.[1] Genetic algorithms are the basis to the larger class of evolutionary algorithms (EA). Evolutionary algorithms are inspired by natural evolution. They are used to generate solutions to large set of optimization problems. Genetic algorithms include inheritance, mutation, selection and crossover. A genetic algorithm helps in creating a high quality solution for the uneven search space. Genetic algorithms is referred to be as one of the most useful optimization technique. Genetic algorithms use the principles of selection and evolution to produce several solutions to a given problem. 2. Basis of Genetic Algorithm Genetic Algorithms are the processes loosely based upon the process of mutation, crossover and selection. The most frequent type of genetic algorithm works like this: Step 1: Generate Initial Population randomly from the given population Step 2: Access the initial population by evaluating the individuals. Step 3: A evaluation function provides the values of the score of fitness of the individuals. Step 4: Select a group of population or generally two individuals from the listed population. Their selection truly depends upon their fitness score. Step 5: Recombine the two individuals to reproduce or create their off springs by the process of mutation that too created randomly. Step 6: This process continues till a suitable required solution has been generated. Volume 5, Issue 6, June 2016 Page 76

Figure 1: Basis of Genetic Algorithm 3. Principle of Genetic Algorithm In the genetic algorithm the heuristic optimization technique the solution, i.e., a point in the search space is represented using a finite sequence of zero s and ones. These are known as chromosomes. Firstly, a population is randomly generated that represents the decision variables. the population is represented in the form of strings. The string length determines the size of the population to be generated. the size of population is also determined by the problem being optimized. Evaluate each string using the objective function value. In GA terminology, the objective function value of a string determines the fitness of the string. This evaluation function is a pseudo objective function. It determines the raw measure of the solution value. For higher degree of optimization problems, the evaluation function is the weighted sum of the objective and penalty functions to consider the constraints. This approach allows constraints to be violated. A high penalty value indicates a highly infeasible individual. This type of individual will rarely be selected for next generation. This allows the GA to concentrate on feasible or near-feasible solutions. Once the strings are evaluated, the three genetic operators reproduction, crossover and mutation are applied to create a new population Figure 2: Genetic Algorithm Principle Volume 5, Issue 6, June 2016 Page 77

4. Genetic Algorithm Methodology In a genetic algorithm, individuals are the set of candidate solutions also known as phenotypes. The population of candidate solutions is then evolved toward better solutions. Each candidate solution has a set of properties of its chromosomes or genotype. these properties can be mutated and altered. In general form, solutions are represented in binary as strings of 0s and 1s [2] 4.1 Search Space The search space maintains the population of individuals for a GA. The search space of each individual represents a possible solution to a given problem. Each individual is coded in binary alphabets of 0 s and 1 s of a finite length vector of components, or variables. To continue the genetic analogy these individuals are likened to chromosomes and the variables are analogous to genes. Thus a chromosome (solution) is composed of several genes (variables). A fitness score is assigned to each solution. A fitness score represents the value of fitness of each individual or it represents the abilities of an individual to `compete'. The individuals with higher penalty score have rare chances of being chosen. The individual with the optimal that is the best fittest score is sought. The main aim of GA is to use selective `breeding' of the solutions. This helps to produce `offspring' who is far better than the parents. This is done by combining information from the chromosomes. The GA has a population of n chromosomes. Each chromosome or solutions is associated with fitness values. Parents are selected to mate, on the basis of their fitness. A reproductive plan producing offspring. Consequently chromosomes with high fitness scores are given more opportunities to reproduce,. This is laid on the basis that the offspring so produces will inherit characteristics from each parent. The population thus produces is kept at a static size. Older individuals in the population die. They are then replaced by the new solutions, eventually creating a new generation. The new generation is formed only when all the older mating opportunities in the old population have been exhausted. We hope that over successive generations better solutions will thrive while the least fit solutions die out. 4.2 Initialization The size of the population depends upon the nature of the problem. But despite of nature of problem the population contains several thousand possible solutions. Generally, the initial population is generated randomly. Random generation takes place from the entire range of possible solutions (the search space). 4.3 Selection During each successive generation, a new generation is formed from a proportion of the existing population. A portion is selected to breed into a new generation forming individual solutions through a fitness-based process. Fitter solutions with higher fitness scores are typically more likely to be selected. Individual that scores a high fitness function (F) will survive for the next iteration. The Scoring function is as follows: The selection probability for each individual is proportional to the fitness function value. In this case, more fitter the individual, the more are the chances that it is likely to be chosen. Selection probabilities are computed for the current population based on fitness scores. Then from the given population Select two individuals randomly based on the selection probabilities to obtain clones. They may then be subjected to mutation. The fitness function is defined over the genetic representation. It measures the quality of the represented Volume 5, Issue 6, June 2016 Page 78

solution. The fitness function always depends upon the problem. In some problems, it is hard or even impossible to define the fitness expression. In such cases, a simulation may be used to determine the fitness function value of a phenotype or even interactive genetic algorithms are used. 4.4 Crossover Crossover: The crossover operator uses point-to-point crossover. It happens in an environment where the selection of who gets to mate depends upon the values provided by the fitness functions. It depends upon the fitness measures. we here undergo asexual reproduction where the propagation of unaltered genetic material takes place. The operator takes two alignment sequences from the population and randomly select a fully matched (no gap) column. This is fitness proportionate selection. After crossover, two children Child 1 and Child 2 are evaluated. The fittest offspring survives the next iteration. Other implementations use a model in which certain randomly selected individuals in a subgroup compete and the fittest is selected. This is called tournament selection. The two processes crossover and fitness based selection/reproduction must contribute to EVOLUTION. Figure Crossover of two parents producing two offsprings 4.5 Mutation After selection and crossover, we now have a new population full of individuals. Few of them are directly copied, and rest are produced by crossover. Just to ensure that the individuals are not all exactly the same, we allow mutation. We loop through all the alleles of all the individuals. The allele which is selected for mutation, can be changed it by small amount or replaced with a new value. The probability of mutation is usually between 1 and 2 tenths of a percent. Mutation is fairly simple. You just change the selected alleles based on what you feel is necessary and move on. Mutation is, however, vital to ensuring genetic diversity within the population.mutation: The mutation operator picks a random amino acid from a randomly chosen row (sequence) in the alignment and checks whether one of its neighbours has a gap. If this is the case, the algorithms swaps (2-opt) the selected amino acid with a gap neighbour. If both neighbours are gaps, one of them will be picked randomly. The purpose is to maintain diversity within the population and inhibit premature convergence. Figure Depicting Various kinds of Cross over and mutation Volume 5, Issue 6, June 2016 Page 79

Figure: Sequence generated after Mutation 4.6 Termination This generational process is repeated until a termination condition is reached. Common terminating conditions are: A solution is found that satisfies minimum criteria Fixed number of generations reached Allocated budget (computation time/money) reached The highest ranking solution's fitness is reaching or has reached a plateau such that successive iterations no longer produce better results Manual inspection Combinations of the above Figure The general methodology of genetic algorithms 5. Conclusion GENETIC Algorithms are used in a number of different application areas. An example of this includes multidimensional optimization problems. In these the character string of the CHROMOSOME is used to encode the values for the different parameters to be optimized. Simple bit manipulation operations allow the implementation of CROSSOVER, MUTATION and other operations. Although a lot of research has already been performed on variable-length strings and other structures, the majority of work with GENETIC ALGORITHMs is focussed on fixed-length character strings. We should focus on both this aspect of fixed-length and the need to encode the representation of the solution being sought as a character string, since these are crucial aspects that distinguish GENETIC PROGRAMMING, which does not have a fixed length representation and there is typically no encoding of the problem. Volume 5, Issue 6, June 2016 Page 80

REFERENCES [1]. http://www.boente.eti.br/fuzzy/ebook-fuzzy-mitchell.pdf [2]. http://waset.org/publications/9997300/a-review-of-genetic-algorithm-optimization-operations-andapplications-to-water-pipeline-systems [3]. D. E. Goldberg, "Genetic Algorithms in Search, Optimization and Machine Learning." Addison- Wesley Publishing Co., Inc., Reading, Mass, (1989). [4]. D. E Goldberg, and C. H. Kuo, "Genetic algorithms in pipeline optimization."j. Computing in Cïv. Engrg.,ASCE, 1(2), 128-141, (1 987). [5]. R. Sivaraj and T. Ravichandran, "Review of selection methods in genetic algorithm." International Journal of Engineering Science and Technology (IJEST), 3(5), 3792-3797. (2011). [6]. A. Lipowski, and D. Lipowska, "Roulette-wheel selection via stochastic acceptance." (2011). [7]. http://gaul.sourceforge.net/intro.html AUTHOR Uma Anand received the B.Tech. and M.Tech. degrees in Computer Science and Engineering from Dronacharya College Of Engineering in 2013 and 2016, respectively. She has done various researches in the same field. Volume 5, Issue 6, June 2016 Page 81