6-genetic-algorithm
6-genetic-algorithm
Introduction
Genetic Algorithm
Procedure of Genetic Algorithm
The Working of Genetic Algorithm
The logic Behind Genetic Algorithm
Evolutionary Programming
The fitness, or the quantitative measure of the ability to predict environmental changes
and respond adequately, can be
considered as the quality that is optimized in natural life
We focus on Genetic Algorithm as most of the other algorithms can be viewed as variations of genetic
algorithms.
Each individual (or candidate solution) is assigned a fitness value (based on its
objective function value) and the fitter individuals are given a higher chance to
mate and yield more “fitter” individuals.
As reproduction takes place, the crossover operator exchanges part of two single chromosomes
And the mutation operator changes the gene value in some randomly chosen location of the
chromosome
Selection Operator Selects parents for reproduction based on relative fitness of candidates in the population
2) Crossover Operator: This represents mating between individuals. Two individuals are selected using
selection operator and crossover sites are chosen randomly. Then the genes at these crossover sites are
exchanged thus creating a completely new individual (offspring). For example –
GAs have various advantages which have made them immensely popular. These include
−
•Does not require any derivative information (which may not be available for many real-
world problems).
•Optimizes both continuous and discrete functions and also multi-objective problems.
•Always gets an answer to the problem, which gets better over the time.
•Useful when the search space is very large and there are a large number of parameters
involved.
Like any technique, GAs also suffer from a few limitations. These include
−
•GAs are not suited for all problems, especially problems which are simple
and for which derivative information is available.
•If not implemented properly, the GA may not converge to the optimal
solution.
The genetic algorithm works on the evolutionary generational cycle to generate high-
quality solutions. These algorithms use different operations that either enhance or replace
the population to give an improved fit solution.
It basically involves five phases to solve the complex optimization problems, which are
given as below:
Initialization
Fitness Assignment
Selection
Reproduction
Termination
-Scheduling
-Transportation
-Chemistry, Chemical Engineering
-Layout and circuit design
-Medicine
-Data Mining and Data Analysis
-Economics and Finance
-Networking and Communication
-Game etc.
Evolutionary Programming ( on the other hand, is better for obtaining the global optimum, which relies on
mutation rather than crossover
Due to inherent flexibilities in the fitness function and the ease of coding, the EP method produces the best
solution with fewer generations
EP is a probabilistic search technique which generates the initial parent vectors distributed uniformly in intervals
within the limits and obtains the global optimum solution over a number of iterations
The main stages of this technique are initialization, creation of offspring vectors by mutation and competition and
selection of the best vectors in order to evaluate the best fitness solution