Heuristics: Genetic Algorithm 2

Aus Operations-Research-Wiki
Wechseln zu: Navigation, Suche

Example

We toss a fair coin 60 times and get the following initial population:

Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): \color{red}\sum_{i=1}^{6}f(s_i)=34



The new population after performing selection:

We only perform a crossover for the pairs and

Crossover-points: 2 and 5

Before crossover:

After crossover:

Before applying mutation:


After applying mutation with updated fitness-values:

Fehler beim Parsen (http://mathoid.testme.wmflabs.org Serverantwort ist ungültiges JSON.): \sum_{i=1}^{6}f(s_i''')=37



Improvement of 9 percent