Chap 4 Partie 2 RS
Chap 4 Partie 2 RS
Optimisation Combinatoire
Par
Dr. Rihab SAID
Maître Assistante en Informatique de Gestion
[email protected]
Chaptire 4
Optimization using Metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
Vocabulary (1/2):
- Representation: This is a common search component for all metaheuristics. In
GA, the encoded solution is referred as chromosome while the decision variables
within a solution (chromosome) are genes. The possible values of variables (genes)
are the alleles and the position of an element (gene) within a chromosome is
named locus.
- Population initialization: This step could be performed using random generation
or some heuristic methods. The initial population should be diversified as possible
to cover the whole search space; otherwise the GA could face the premature
convergence phenomenon.
- Evaluation: This step is based on the fitness function. Usually, in mono-objective
optimization, the fitness function is the same as the objective function; which is not
the case for multi-objective optimization.
6) Overview of metaheuristics
Vocabulary (2/2):
-Selection strategy: The selection strategy addresses the following question:
“Which parents for the next generation are chosen with a bias towards better
fitness?” There are several selection strategies such as Roulette Weel Selection
(RWS), Stochastic Universal Sampling (SUS), Tournament Selection (TS), Rank-
based Selection (RS), etc.
- Recombination strategy: The recombination (reproduction) strategy consists in
designing suitable mutation and crossover operators to generate new individuals
(offsprings).
- Replacement strategy: The new offsprings (children) compete with old
individuals (parents) for their place in the next generation (survival of the fittest!).
- Stopping criterion: There are several criteria that could be used such as a
maximum number of generations or evaluations, reaching a satisfactory solution, a
certain number of generations without fitness improvement, etc.
Dr. Rihab SAID 35 Optimisation Combinatoire
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
Crossover operators
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
Figure 11. Illustration of an experiment with (blind) real ants to find the shortest path.
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
6) Overview of metaheuristics
Pheromone update: The update of the pheromone is carried out using the
generated solutions. A global pheromone updating rule is applied in two
phases:
a) Evaporation b) Reinforcement
Dr. Rihab SAID 52 Optimisation Combinatoire
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.
6) Overview of metaheuristics
The goal of the evaporation is to avoid for all ants a premature convergence
towards local optimal solutions and then to encourage the diversification in the
search space (exploration).
6) Overview of metaheuristics
6) Overview of metaheuristics
b.3.2) Rank-based pheromone update: The best k ant solutions are allowed to
update the pheromone with an amount depending on the ranking of the solutions.
b.3.3) Worst pheromone update: The ant generating the worst solution will
decrease the pheromone trails related to the components of the solution.
b.3.4) Elitist pheromone update: The best solution found so far will update the
pheromone to enforce an intensification of the search.
Correction de l’exercice
6) Overview of metaheuristics
https://www.youtube.com/watch?v=
JnhJQe2sAno
Correction exercice 2
It is a matrix as follows:
Recombination:
• Subsequence exchange crossover
• ShiftChange mutation