Genetic Algorithm
Genetic Algorithm
The idea of selection phase is to select the fittest individuals and let them
pass their genes to the next generation.
Crossover is the most significant phase in a genetic algorithm. For each pair of
parents to be mated, a crossover point is chosen at random from within the
genes.
Offspring are created by exchanging
the genes of parents among
themselves until the crossover point is
reached.
Mutation occurs to maintain diversity within the population and prevent premature
convergence.
Termination
Adaptive GAs
Genetic algorithms with adaptive parameters (adaptive genetic algorithms, AGAs) is another
significant and promising variant of genetic algorithms. The probabilities of crossover (pc) and
mutation (pm) greatly determine the degree of solution accuracy and the convergence speed
that genetic algorithms can obtain. Instead of using fixed values of pc and pm, AGAs utilize the
population information in each generation and adaptively adjust the pc and pm in order to
maintain the population diversity as well as to sustain the convergence capacity.
Issues
● Choosing basic implementation issues:
○ Representation
○ population size, mutation rate
○ selection, deletion policies
○ crossover, mutation operators
● Repeated fitness function evaluation for complex problems is often the most
prohibitive and limiting segment of artificial evolutionary algorithms. Finding
the optimal solution to complex high-dimensional, multimodal problems often
requires very expensive fitness function evaluations. In real world problems
such as structural optimization problems, a single function evaluation may
require several hours to several days of complete simulation.
● Genetic algorithms do not scale well with complexity. That is, where the
number of elements which are exposed to mutation is large there is often an
exponential increase in search space size. This makes it extremely difficult to
use the technique on problems such as designing an engine, a house or a
plane.
● In many problems, GAs have a tendency to converge towards local optima or
even arbitrary points rather than the global optimum of the problem. This
means that it does not "know how" to sacrifice short-term fitness to gain
longer-term fitness. The likelihood of this occurring depends on the shape of
the fitness landscape: certain problems may provide an easy ascent towards
a global optimum, others may make it easier for the function to find the local
optima.
● Operating on dynamic data sets is difficult, as genomes begin to converge
early on towards solutions which may no longer be valid for later data.
Real World Implications
Faster-Growing Trees
Demand for wood can be met by trees that grow faster than average. Genetic engineering has produced trees that
can ward off biological attacks, grow more quickly and strongly, and create better wood than trees that are not
genetically modified.
Golden Rice
Genetic modification is often used to make healthier foods, such as golden rice, which contains beta-carotene —
the very same vitamin that makes carrots orange. The result is that people without access to many vitamins will
get a healthy dose of vitamin A when the rice is consumed.
Salmon do not produce growth hormones year-round, so scientists have looked toward genetic engineering and
found a solution. A modification that allows salmon to grow twice as fast as those that are not engineered was
the answer