Design of an Evolutionary Algorithm M&F, ch. 7 why I like this textbook and what I don’t like about it!

Slides:



Advertisements
Similar presentations
Ali Husseinzadeh Kashan Spring 2010
Advertisements

Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
Applied Evolutionary Optimization Prabhas Chongstitvatana Chulalongkorn University.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Gizem ALAGÖZ. Simulation optimization has received considerable attention from both simulation researchers and practitioners. Both continuous and discrete.
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
Geometric Crossover for the Permutation Representation Alberto Moraglio & Riccardo Poli GSICE 2005.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.5: Local search – Genetic Algorithms.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
Multi-Objective Evolutionary Algorithms Matt D. Johnson April 19, 2007.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Doug Downey, adapted from Bryan Pardo, Machine Learning EECS 349 Machine Learning Genetic Programming.
Evolutionary Algorithms Simon M. Lucas. The basic idea Initialise a random population of individuals repeat { evaluate select vary (e.g. mutate or crossover)
Imagine that I am in a good mood Imagine that I am going to give you some money ! In particular I am going to give you z dollars, after you tell me the.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Genetic Programming. Agenda What is Genetic Programming? Background/History. Why Genetic Programming? How Genetic Principles are Applied. Examples of.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Christoph F. Eick: Applying EC to TSP(n) Example: Applying EC to the TSP Problem  Given: n cities including the cost of getting from on city to the other.
Genetic Programming Chapter 6. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Genetic Programming GP quick overview Developed: USA.
1 An Overview of Evolutionary Computation 조 성 배 연세대학교 컴퓨터과학과.
Introduction to Genetic Algorithms and Evolutionary Computation
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
Genetic algorithms Prof Kang Li
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.
What is Genetic Programming? Genetic programming is a model of programming which uses the ideas (and some of the terminology) of biological evolution to.
Genetic Algorithms Genetic algorithms imitate a natural optimization process: natural selection in evolution. Developed by John Holland at the University.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
1 Combinatorial Problem. 2 Graph Partition Undirected graph G=(V,E) V=V1  V2, V1  V2=  minimize the number of edges connect V1 and V2.
G ENETIC P ROGRAMMING Ranga Rodrigo March 17,
Exact and heuristics algorithms
Evolution Programs (insert catchy subtitle here).
Evolutionary Programming
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. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Genetic Programming A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 6.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5: Power of Heuristic; non- conventional search.
1 Autonomic Computer Systems Evolutionary Computation Pascal Paysan.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Constraints in Evolutionary Algorithms. Constraints: the big questions, page 233  how to evaluate and compare feasible and infeasible solutions  avoid,
Evolutionary Programming A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 5.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm(GA)
Hirophysics.com The Genetic Algorithm vs. Simulated Annealing Charles Barnes PHY 327.
Genetic Programming.
Evolutionary Programming
Evolutionary Algorithms Jim Whitehead
Evolution Strategies Evolutionary Programming
School of Computer Science & Engineering
Example: Applying EC to the TSP Problem
CS621: Artificial Intelligence
Example: Applying EC to the TSP Problem
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Evolutionary Programming
Boltzmann Machine (BM) (§6.4)
Genetic Programming Chapter 6.
Genetic Programming Chapter 6.
Genetic Programming Chapter 6.
Beyond Classical Search
Population Based Metaheuristics
Presentation transcript:

Design of an Evolutionary Algorithm M&F, ch. 7 why I like this textbook and what I don’t like about it!

M&F’s model of Evolutionary Algorithm Five aspects of specification 1.(7.1) representation (e.g., set of variable values) 2.(7.5) initial population (e.g., random) 3.(7.2) evaluation function ( e.g., fitness) 4.(7.4) selection procedure (next generation pop.) 5.(7.3) random variation operators (e.g., crossover, mutation)

7.1 Representation SAT representation, n propositions –vector of n boolean values effective when variables are independent (no or few constraints between variables) --> vector of parameters or symbols

7.1.1 Fixed length vector V = {v 1, v 2, …, v n }, v i  D i size of search space is |D 1 | x |D 2 | x…x |D n | e.g., SAT, sum of integers puzzle

7.1.2 permutation for TSP and similar problems, the vector representation includes too many bad solutions (repeated or missing cities) –because all variables are from same domain {D, A, E, C, B}“without replacement” n variables as permutation size of search space is n!

Vector vs Permutation Vector {x 1, x 2, x 3 } Space {1,1,1}, {1,1,2}, {1,1,3}, {1,2,1}, {1,2,2}, {1,2,3}, {1,3,1}, {1,3,2}, {1,3,3}, {2,1,1}, {2,1,2}, {2,1,3}, {2,2,1}, {2,2,2}, {2,2,3}, {2,3,1}, {2,3,2}, {2,3,3}, {3,1,1}, {3,1,2}, {3,1,3}, {3,2,1}, {3,2,2}, {3,2,3}, {3,3,1}, {3,3,2}, {3,3,3} Permutation {x 1, x 2, x 3 } Space {1,2,3} {1,3,2} {2,1,3} {2,3,1} {3,1,2} {3,2,1}

Permutation applications TSP job shop scheduling –k processing machines –n jobs each job must be processed at some subset of the k machines in a specific order and takes some time to be processed at each machine –determine best order of job processing at each machine to minimize time of processing schedule

7.1.3 Finite state machines extension of vector representation: e.g., DFA (Q, ∑, , q 0, F) –Q: set of states {q i } –∑: alphabet of input symbols {s j } –  : transition table Q x ∑ --> Q –F: subset of Q, accepting states

Searching for a DFA  : transition table Q x ∑ --> Q s1s1 s2s2 s3s3 s4s4 s5s5 q1q1 q2q2 q 22 q3q3 q4q4 (Q, ∑, , q 0, F ) –Q: set of states {qi} –∑: alphabet of input symbols {sj} –  : transition table Q x ∑ --> Q –F : subset of Q, accepting states representation*: {q 11, …, q 45,q 0, f 1, …, f 4 } *could include number of states - variable length vector

7.1.4 Symbolic expressions searching for an expression defining a function based on input data and a set of available operations –learning programs –Spore game of evolution

Symbolic expression syntax tree, size variable + sin. y3 x example representation: PreOrder traversal {+, x, sin,., 3, y}

Symbolic expression syntax tree, size variable v v, a value, belongs to domain that includes the input data (e.g., x and y) and the set of possible operations with operand(s) (tree is extended) op op, an operator, belongs to domain that includes the set of possible operations with same number of operands and the input data (tree is pruned)

Symbolic expression x + sin. y3 x + yx + x x / yx transformation to neighbour

7.2 Evaluation function may be the fitness function of the problem, …, or not must measure progress toward an optimal or satisficing solution should operate on the chosen representation (avoid transformation)

Desirable evaluation features efficient - searches typically spend most resources on evaluation incremental - revise evaluation when going from one solution to a neighbour, instead of redo

7.3 Variation operators equivalent of neighbourhood definition in local search: –rules for getting next candidate solution(s) determining the connectivity of the solution space (edges) and the metric dependent on any number of current solutions: –0: e.g., random –1: e.g., mutation –2: e.g., crossover

variation of fixed length vectors one parent: change value of one of n variables (mutation) –densely connected space - maximum n variation between any two solution –less densely connected - vary by single step,  1 two or more parents: crossover, many variations that each connect space differently –one or more cut points –random choice for each variable

one parent: –2-opt, etc. two or more parents: –many attempts to simulate crossover most need ‘repair’ to avoid repetition most are more costly of resources most inherit some properties but destroy others e.g., p175 variation of permutations

variation of finite state machines like vectors except when states and symbols can be added or deleted

variations of symbolic expressions one parent: see representation section two parents: –exchange subtrees

7.4 Selection two selection factors 1.which solutions should contributed to variation? 2.which solutions should survive to next generation? s 1,s 2,s 3,s 4,s 5,s 6 at t SELECTION VARIATION s 1,s 2,s 3,s 4,s 5,s 6, c 1,c 2,c 3,c 4 SELECTION s 1,s 2,s 3,s 4,s 5,s 6 at t+1

selection strategies deterministic evaluation comparison faster convergence stochastic probabilistic selection 1.based on fitness 2.best of subsets 3.ranking in subsets broader sampling

7.5 Initial populations uniform sampling –try to span the search space random sampling informed sampling –“guidance” - use good solutions from other sources