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

binary coded genetic algorithm
SMART_READER_LITE
LIVE PREVIEW

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:


slide-1
SLIDE 1

Binary-Coded Genetic Algorithm

Lecture 22

ME EN 575 Andrew Ning aning@byu.edu

Outline

Overview Binary-Coded GA

slide-2
SLIDE 2

Overview

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

slide-3
SLIDE 3

Algorithm

Important differences from our past algorithms:

slide-4
SLIDE 4

Binary-Coded GA

Consider the following simple example minimizing the cost of a can∗. minimize πd2 2 + πdh subject to πd2h 4 ≥ 300 ml dmin ≤ d ≤ dmax hmin ≤ h ≤ hmax

∗ Multi-objective Optimization Using Evolutionary Algorithms, Kalyanmoy

Deb

slide-5
SLIDE 5

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

slide-6
SLIDE 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).

slide-7
SLIDE 7

Selection: Survival of the Fittest

Tournament

slide-8
SLIDE 8

New population:

slide-9
SLIDE 9

Roulette Wheel:

Reproduction

Single-point crossover: Parents: 1 1 1 1 1 1 1 1 Offspring: 1 1 1 1 1 1 1 1

slide-10
SLIDE 10

Mutation