Nature inspired algorithm is one of the Artificial Intelligence (AI) initiatives. AI can be referred to this link. Many nature inspired algorithms was initiated or originated from the imitation of animals, human, plants, culture and many more. One of the popular methods is swarm
intelligence systems are typically made up of a population of simple agents
interacting locally with one another and with their environment.
The
agents follow very simple rules, and although there is no centralized control
structure dictating how individual agents should behave, local interactions
between such agents lead to the emergence of complex global behavior. N atural
examples of SI include ant colonies, bird flocking, animal herding, bacterial
growth, and fish schooling.
GENETIC ALGORITHM
Motivation
- GA is powerful and applicable stochastic search and optimization technique.
- Few decades, it turns its attention to optimization problems in industrial design.
About a Genetic Algorithm
- Developed: USA in the 1970’s
- Early names: J. Holland, K. DeJong, D. Goldberg
- Typically applied to discrete optimization
- Attributed features: good heuristic for combinatorial problems
-
emphasizes combining information from good parents (crossover) e.g., reproduction models, operatorTraditionally - Holland’s original GA is now known as the simple genetic algorithm (SGA)
Biological Background – Chromosomes
• Genetic information is stored in the chromosomes
• Each chromosome is built of DNA
• Chromosomes in humans form pairs
• There are 23 pairs
• The chromosome is divided into parts: genes
• Genes code for properties
• The possibilities of the genes for one property is called: allele
• Every gene has a unique position on the chromosome: locus
Simple GA Procedure
Generate a population with N random individuals.
WHILE not happy with solution quality
DO
Compute the fitness of every individual in the population.
Select better individuals.
Do crossover between pairs of selected individuals with probabilityPc .
Mutate each gene with probability Pm.
END WHILE
Generate a population with N random individuals.
WHILE not happy with solution quality
DO
Compute the fitness of every individual in the population.
Select better individuals.
Do crossover between pairs of selected individuals with probability
Mutate each gene with probability Pm.
END WHILE
PARTICLE SWARM OPTIMIZATION
• Particle Swarm Optimization (PSO) was introduced by Kennedy and Eberhart in the mid-1990s (1995)
- Each particle moves stochastically in
the search space for a feasible solution.
How it works?
PSO is initialized with a group of random particles (solutions) and then searches for optima by updating generations.
Particles move through the solution space, and are evaluated according to some fitness criterion after each
In every iteration, each particle is updated.
PSO Advantages
There has been an increasing amount of literature on PSO since 2002 (Muthuswamy, 2009). Many variants of PSO were developed and classified as a basic variant of PSO and modification variant of PSO (Rini et al., 2010). Basic variant is very much related to velocity clamping , inertia weight, and CF. Meanwhile modification variant involves discrete PSO, multi-objective PSO, and constraint optimization using PSO. The increase of the PSO research can be because of the many advantages of this algorithm in which easy to implement (Eberhart & Kennedy, 1995), computationally efficient (Eberhart & Kennedy, 1995; Li et al., 2006; Sevkli & Guner, 2006), and fast convergence (Banks et al., 2007).
2. Initialize number of particles
3. Declare W, C1 and C2
4. Initialize V (min) and V (max)
5. Initialize Dmin and Dmax
6. Calculate Pbest and Gbest value for each particle
7. Do
8. For each particle
9. Calculate new velocity value , V( new)
10. Calculate new position, D( new)
11. Calculate Pbest (new)
12. Calculate Gbest (new)
13. While (stopping condition is reached)
14.End
ANT COLONY OPTIMIZATION
Ant Colony - Inspiration
Inspired by foraging behavior of ants.
The ants find the shortest path to a food source from the nest.
Ants deposit pheromone along a traveled path which is used by other ants to follow the trail.
This kind of indirect communication via the local environment is called stigmergy .
Has adaptability, robustness and redundancy.
Procedures in Ant Colony Optimization algorithm
The procedures in an ACO algorithm can be understood with an analogy of a real ant behavior (Socha & Dorigo, 2008).Ants explore randomly in areas near to their nest for food
They carry food to the nest as they find a food source.
The ant has ability of producing pheromone, a chemical that gives the sense of smelling during travelling.
Pheromone enables ants to create a trail during return trips.
Others ants can follow the same path. Pheromone trails would be able to exploit the shortest path for the food source.
ACO hows it works
APPLICATIONS
*Movie effects
*Tim
Burton's Batman Returns was the first movie to make use of swarm technology for
rendering, realistically depicting the movements of a group of penguins using
the Boids
system.
*Lord
of the Rings - film trilogy made use of similar technology, known as Massive,
during battle scenes.
*Network Routing
*ACO
Routing
*Swarm Robotics
*Swarm
bots
More applications
More applications
- Bin packing problem
- Shortest path problem
- Location and allocation problem
- Design optimization
...... other real world optimization problem.
Very good! Thank you!
ReplyDelete