Genetic Algorithms Genetic algorithms imitate natural optimization process, natural selection in evolution. Developed by John Holland at the University.

Slides:



Advertisements
Similar presentations
Genetic Algorithms Chapter 3. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Algorithms GA Quick Overview Developed: USA in.
Advertisements

© Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems Introduction.
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
1 1  1 =.
1  1 =.
1 Outline relationship among topics secrets LP with upper bounds by Simplex method basic feasible solution (BFS) by Simplex method for bounded variables.
Particle Swarm Optimization (PSO)
1 Challenge the future Subtitless On Lightweight Design of Submarine Pressure Hulls.
Analysis of Simply Supported Composite Plates with Uniform Pressure using ANSYS and Maple Second Progress Report 11/28/2013.
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
Stiffened Composite Panel Design Based on Improved genetic algorithm for the design of stiffened composite panels, by Nagendra, Jestin, Gurdal, Haftka,
Local Search Algorithms
CHAPTER 4 MACROMECHANICAL ANALYSIS OF LAMINATES
Adding Up In Chunks.
Artificial Intelligence
Subtraction: Adding UP
CSE Lecture 17 – Balanced trees
9. Two Functions of Two Random Variables
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
School of Computer Science
1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
Composites Design and Analysis Stress-Strain Relationship Prof Zaffar M. Khan Institute of Space Technology Islamabad.
Student : Mateja Saković 3015/2011.  Genetic algorithms are based on evolution and natural selection  Evolution is any change across successive generations.
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Evolutionary Computational Intelligence
7/2/2015Intelligent Systems and Soft Computing1 Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
Combining materials for composite-material cars Ford initiated research at a time when they took a look at making cars from composite materials. Graphite-epoxy.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
IE 607 Constrained Design: Using Constraints to Advantage in Adaptive Optimization in Manufacturing.
Genetic Algorithm.
Evolutionary Intelligence
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
Genetic Algorithms Genetic algorithms imitate natural optimization process, natural selection in evolution. Developed by John Holland at the University.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory Mixed Integer Problems Most optimization algorithms deal.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Genetic Algorithms Michael J. Watts
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Genetic Algorithms Genetic algorithms imitate a natural optimization process: natural selection in evolution. Developed by John Holland at the University.
More on Heuristics Genetic Algorithms (GA) Terminology Chromosome –candidate solution - {x 1, x 2,...., x n } Gene –variable - x j Allele –numerical.
Introduction to GAs: Genetic Algorithms How to apply GAs to SNA? Thank you for all pictures and information referred.
Genetic Algorithms Siddhartha K. Shakya School of Computing. The Robert Gordon University Aberdeen, UK
Evolutionary Art with Multiple Expression Programming By Quentin Freeman.
© Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms Introduction, or can evolution be intelligent? Introduction,
 Negnevitsky, Pearson Education, Lecture 9 Evolutionary Computation: Genetic algorithms n Introduction, or can evolution be intelligent? n Simulation.
1 Genetic Algorithms and Ant Colony Optimisation.
Edge Assembly Crossover
Genetic Algorithms Genetic algorithms provide an approach to learning that is based loosely on simulated evolution. Hypotheses are often described by bit.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Genetic Algorithms. Solution Search in Problem Space.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm(GA)
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Presented By: Farid, Alidoust Vahid, Akbari 18 th May IAUT University – Faculty.
Introduction to Genetic Algorithms
Artificial Intelligence Methods (AIM)
design and optimization of a composite drive shaft for an automobile
EE368 Soft Computing Genetic Algorithms.
Boltzmann Machine (BM) (§6.4)
Beyond Classical Search
Population Based Metaheuristics
Presentation transcript:

Genetic Algorithms Genetic algorithms imitate natural optimization process, natural selection in evolution. Developed by John Holland at the University of Michigan for machine learning in Similar algorithms developed in Europe in the 1970s under the name evolutionary strategies Main difference has been in the nature of the variables: Discrete vs. continuous Class is called evolutionary algorithms Will cover also differential evolution.

Basic Scheme Coding: replace design variables with a continuous string of digits or genes –Binary –Integer –Real Population: Create population of design points Selection: Select parents based on fitness Crossover: Create child designs Mutation: Mutate child designs

Genetic operators Crossover: portions of strings of the two parents are exchanged Mutation: the value of one bit (gene) is changed at random Permutation: the order of a portion of the chromosome is reversed Addition/deletion: one gene is added to/removed from the chromosome

Select parents Algorithm of standard GA Create initial population Calculate fitness Create children

Coding Integer variables are easily coded as they are or converted to binary digits Real variables require more care Key question is resolution or interval The number m of required digits found from

Stacking sequence optimization For many practical problems angles limited to 0-deg, 45-deg, 90-deg. Ply thickness given by manufacturer Stacking sequence optimization a combinatorial problem Genetic algorithms effective and easy to implement, but do not deal well with constraints

Coding - stacking sequence Natural coding: (0 0 =>1, 45 0 =>2, =>3, 90 0 =>4) (45/-45/90/0)s => (2/3/4/1) To satisfy balance condition, convenient to work with two-ply stacks (0 2 =>1, 45=>2, 90 2 =>3) or (45/-45/90 2 /0 2 ) s => (2/3/1) To allow variable thickness add empty stacks (2/3/1/E/E)=> (45/-45/90 2 /0 2 ) s

Initial population Random number generator used Typical function call is rand(seed) Seed updated after call to avoid repeating the same number. See Matlab help on how to change seed (state). Need to transform random numbers to values of alleles.

Fitness Augmented objective f*=f + pv-bm+sign(v). –v = max violation –m = min margin Repair may be more efficient than penalty Fitness is normalized objective or n s +1-rank What is the advantage of rank based objective?

Roulette wheel selection Example fitnesses

Single Point Crossover Parent designs [0 4 /±45 2 /90 2 ] s and [±45 4 /0 2 ] s Parent 1 [1/1/2/2/ 3] Parent 2 [2/2/2/2/ 1] One child [1/1/2/2/1] That is: [0 4 /±45 2 /0 2 ] s

Other kinds of crossover Multiple point crossover Hitchhiking problem Uniform crossover Random crossover for real numbers Multi-parent crossover

Mutation and stack swap [1/1/2/2/3]=> [1/1/2/3/3] [0 4 /±45 2 /90 2 ] s => [0 4 /±45/90 4 ] s [1/1/2/2/3]=> [1/2/1/2/3] [0 4 /±45 2 /90 2 ] s => [(0 2 /±45) 2 /90 2 ] s

Differential evolution (Wikipedia) Initialize m designs with n real number Repeat the following: Crossover: For each design x –find three other random unique designs a,b,c to combine with y=y(x,a,b,c). –For each design variable make a decision based on random number whether to leave alone or combine. Replacement: If y is better than x replace the x with y.

Combination details

Questions Global optimization balances exploration and exploitation. How is that reflected in genetic algorithms? What are all possible child designs of [0 2 /±45/90] s and [±45 2 /0] s that are balanced and symmetric? When we breed plants and animals we do not introduce randomness on purpose into the selection procedure. Why do we do that with GAs?

Reliability Genetic algorithm is random search with random outcome. Reliability r can be estimated from multiple runs for similar problems with known solution Variance of reliability, r, from n runs

Reliability curves

Multi-material laminate Materials: one material = 1 lamina ( matrix or fiber materials) E.g.: glass-epoxy, graphite-epoxy, Kevlar-epoxy… Use two materials in order to combine high efficiency (stiffness) and low cost Graphite-epoxy: very stiff but expensive; glass-epoxy: less stiff, less expensive Objective: use graphite-epoxy only where most efficient, use glass-epoxy for the remaining plies

Multi-criterion optimization Two competing objective functions: WEIGHT and COST Design variables: –number of plies –ply orientations –ply materials No single design minimizes weight and cost simultaneously: A design is Pareto-optimal if there is no design for which both Weight and Cost are lower Goal: construct the trade-off curve between weight and cost (set of Pareto-optimal designs)

Material properties Graphite-epoxy –Longitudinal modulus, E 1 : psi –Transverse modulus, E 2 : psi –Shear modulus, G 12 : psi –Poisson s ratio, 12 : 0.3 –Ply thickness, t: in –Density, : lb/in 3 –Ultimate shear strain, ult : –Cost index: $8/lb Glass-epoxy –Longitudinal modulus, E 1 : psi –Transverse modulus, E 2 : psi –Shear modulus, G 12 : psi –Poisson s ratio, 12 : 0.27 –Ply thickness, t: in –Density, : lb/in 3 –Ultimate shear strain, ult : –Cost index: $1/lb

Material properties Carbon-epoxyGlass-epoxy E 1 (psi)20.01 x x 10 6 E 2 (psi)1.30 x x 10 6 G 12 (psi)1.03 x x (lb/in 3 ) Cost (lb -1 )81-2 Thickness (in) lim lim lim Source: for the stiffnesses, Poisson's ratios and densitieshttp://composite.about.com

Method for constructing the Pareto trade-off curve Simple method: weighting method. A composite function is constructed by combining the 2 objectives: W: weight C: cost : weighting parameter (0 1) A succession of optimizations with varying from 0 to 1 is solved. The set of optimum designs builds up the Pareto trade-off curve

Multi-material Genetic Algorithm Two variables for each ply: –Fiber orientation –Material Each laminate is represented by 2 strings: –Orientation string –Material string Example: [45/0/30/0/90] is represented by: –Orientation: –Material: GA maximizes fitness: Fitness = -F 1: graphite- epoxy 2: glass-epoxy

Simple vibrating plate problem Minimize the weight (W) and cost (C) of a 36x30 rectangular laminated plate 19 possible ply angles from 0 to 90 in 5- degree step Constraints: –Balanced laminate (for each + ply, there must be a - ply in the laminate) –first natural frequency > 25 Hz Frequency calculated using Classical Lamination Theory

How constraints are enforced GAs do not permit constrained optimization Balance constraint hard coded in the strings: stacks of ± are used Example: ( ) represents [±45/0/±30/±25/90] s Other constraints (frequency, maximum strain…) are incorporated into the objective function by a penalty, which is proportional to the constraint violation >0: penalty parameter, g: constraint

Pareto Trade-off curve ($) (lb) A (16.3,16.3) B (5.9,55.1) C point C –64% lighter than A; 17% more expensive –53% cheaper than B; 25% heavier

Optimum laminates Cost minimization: [±50 10 /0] s, cost = 16.33, weight = Weight minimization: [±50 5 /0] s, cost = 55.12, weight = 6.89 Intermediate design: [±50 2 /±50 5 ] s, cost = 27.82, weight = Glass-epoxy in the core layers to increase the thickness Graphite-epoxy as outer plies for a high frequency Midplane Intermediate optimum laminates: sandwich-type laminates