binary coded genetic algorithm
play

Binary-Coded Genetic Algorithm Lecture 22 ME EN 575 Andrew Ning - PDF document

Binary-Coded Genetic Algorithm Lecture 22 ME EN 575 Andrew Ning aning@byu.edu Outline Overview Binary-Coded GA Overview Genetic algorithms (GAs) are based on three main concepts: Algorithm Important differences from our past algorithms:


  1. Binary-Coded Genetic Algorithm Lecture 22 ME EN 575 Andrew Ning aning@byu.edu Outline Overview Binary-Coded GA

  2. Overview Genetic algorithms (GAs) are based on three main concepts:

  3. Algorithm Important differences from our past algorithms:

  4. Binary-Coded GA Consider the following simple example minimizing the cost of a can ∗ . πd 2 minimize + πdh 2 πd 2 h subject to ≥ 300 ml 4 d min ≤ d ≤ d max h min ≤ h ≤ h max ∗ Multi-objective Optimization Using Evolutionary Algorithms, Kalyanmoy Deb

  5. Convert the following numbers to binary: d = 8 , h = 10 Combine into one “chromosome”: d = 01000 , h = 01010 x = 0100001010

  6. Initialize Population and Evaluate Fitness Create a random initial population. ∗ A good way to do this is with Latin Hypercube Sampling (will take about this later in the semester in connection with Surrogate-Based Optimization).

  7. Selection: Survival of the Fittest Tournament

  8. New population:

  9. Roulette Wheel: Reproduction Single-point crossover: Parents: 0 1 0 0 0 0 1 0 1 0 0 1 1 1 0 0 0 1 1 0 Offspring: 0 1 0 1 0 0 0 1 1 0 0 1 1 0 0 0 1 0 1 0

  10. Mutation

Recommend


More recommend