Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.

Slides:



Advertisements
Similar presentations
Logical and Artificial Intelligence in Games Lecture 14
Advertisements

Algorithm Design Techniques
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,
Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
Hybridization of Search Meta-Heuristics Bob Buehler.
Evolutionary Computational Intelligence
Genetic Algorithm for Variable Selection
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
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.
Prepared by Barış GÖKÇE 1.  Search Methods  Evolutionary Algorithms (EA)  Characteristics of EAs  Genetic Programming (GP)  Evolutionary Programming.
Genetic Algorithm.
Genetic Algorithms and Ant Colony Optimisation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Introduction to GAs: Genetic Algorithms How to apply GAs to SNA? Thank you for all pictures and information referred.
Outline Introduction Evolution Strategies Genetic Algorithm
Neural and Evolutionary Computing - Lecture 6
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult problems.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
A New Evolutionary Approach for the Optimal Communication Spanning Tree Problem Sang-Moon Soak Speaker: 洪嘉涓、陳麗徽、李振宇、黃怡靜.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
METAHEURISTICS Genetic Algorithm Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Evolutionary Algorithms K. Ganesh Research Scholar, Ph.D., Industrial Management Division, Humanities and Social Sciences Department, Indian Institute.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Biologically inspired algorithms BY: Andy Garrett YE Ziyu.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
Preliminary Background Tabu Search Genetic Algorithm.
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.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Overview Last two weeks we looked at evolutionary algorithms.
Genetic Algorithms. Solution Search in Problem Space.
EVOLUTIONARY SYSTEMS AND GENETIC ALGORITHMS NAME: AKSHITKUMAR PATEL STUDENT ID: GRAD POSITION PAPER.
Breeding Swarms: A GA/PSO Hybrid 簡明昌 Author and Source Author: Matthew Settles and Terence Soule Source: GECCO 2005, p How to get: (\\nclab.csie.nctu.edu.tw\Repository\Journals-
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Chapter 14 Genetic Algorithms.
Genetic Algorithm in TDR System
Genetic Algorithm (GA)
Genetic Algorithms.
Evolutionary Algorithms Jim Whitehead
Meta-heuristics Introduction - Fabien Tricoire
School of Computer Science & Engineering
Example: Applying EC to the TSP Problem
CSC 380: Design and Analysis of Algorithms
METAHEURISTIC Jacques A. Ferland
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?
Multi-Objective Optimization
Boltzmann Machine (BM) (§6.4)
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Steady state Selection
Population Based Metaheuristics
CSC 380: Design and Analysis of Algorithms
Population Methods.
Presentation transcript:

Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the current one using one these methods – by replacement which is a selection process from the new and current solutions – Evolutionary Algorithms – genetic algorithm – Estimation of distribution algorithm (EDA) – Scatter search – Particle swarm optimization (PSO) – Ant colony – Bee colony – Artificial Immune system AIS Continue until a stopping criteria is reached The generation and replacement process could be memoryless or some search memory is used 1

More on search memory, generation and selection Search memory – In most cases the population of solutions is the search memory – GA, scatter search, PSO- population of particles, bee colony- population of bees, AIS- population of antibodies – For ant colony – Pheromone matrix – shared memory is updated – EDA – probabilistic learning model – shared memory is updated Generation – Evolution based – reproduction via variation operators (mutation, crossover, merge) that act direct on the their representations (parents) EA (binary operator- crossover) and scatter search (n-array operator, n>2) – Blackboard based – solutions create a shared memory which generates new solutions, which is an indirect method Any colony – the generated solutions via the past ants will affect the generated solutions of the future ants via the pheromone. EDA- probabilistic learning model is updated 2

Selection – New solutions are selected from the union of the current and generated populations elitism - if the best of both current and new is selected – Sometime the newly generated population is considered as the new solutions – In blackboard the is no explicit selection. The new population will affect the shared memory 3 More on search memory, generation and selection

Initial Population By construction P- metaheuristics is more of exploration (diversification) than S-metaheuristics, which is more exploitation (intensification) In P-metaheuristics insufficient diversification can result in premature convergence particularly if the initial population is chosen using a greedy heuristic or S-metaheuristic (tabu search, SA etc.) for each solution of the population. Methods for initial population generation – Random generation use classical random number generators – Sequential diversification- simple sequential inhibition process (SSI) any new solution that is added to the initial subpopulation must a certain distance away from the other solutions in that subpopulation – Parallel diversification – uniform sampling using a Latin hypercube. 4

Stopping criteria Fixed number of iterations Limit on CPU time Fixed number of iterations with no improvement in the obj function A satisfactory obj function value is reached 5

Common concepts of Evolutionary Alg Main search components are – Representation - For Ex: in Genetic Algorithm GA, the encoded solution is called a chromosome. The decision variables within a solution are genes. The possible values of the genes are alleles and the position of the element (gene) within a chromosome is named locus. – Population Initialization – Objective function, also called fitness in EA terminology. – Selection strategy – which parents are chosen for the next generation with the objective of better fitness – Reproduction strategy – mutation, crossover, merge, or from a shared memory – Replacement strategy – using the best of the old and new population – survival of the fittest – Stopping criteria 6

Selection 7

8

Reproduction Mutation – The operators act on a single individual Changes are small Ergodicity- mutations must allow every solution to be reached Validity – the solutions must be feasible – often difficult to maintain in constrained optimization. Locality – the changes in the phenotype by mutating the genotype must be small which ensures strong locality. – Highly disruptive mutations are not desired. Mutation in binary representation – flip operator In discrete representation – change the value of an associated element to another In permutations – swapping, inversion, insertion operators. 9

Reproduction Crossover – Heritability – the cross over must inherit a genetic material from both parents. – Validity – the solutions must be feasible – often difficult to maintain in constrained optimization. – 1 point crossover Parents ABCDEF, abcdef, offsprings ABCDef, abcdEF – 2-point crossover Parents ABCDEF, abcdef offsprings ABcdEF abCDef – Intermediate crossover, one offspring is produced by weighted averaging the elements of the parents – Geometric crossover (element n of parent 1 X element n of parent 2) 1/2 for all n elements – Uniform crossover parents offsprings

Crossover Order crossover A B C D E F G H Ih d a e i c f b g offspring a i C D E F b g h Preserve the sequence from parent 1 and fill in the missing elements from parent 2 by starting from the first crossover point Two point crossover in permutation – Retain elements outside the crossover from parent 1 and fill in the rest from parent Offspring

Replacement Generational replacement – the offsprings will systematically replace the parents. Steady-state replacement- only one offspring is selected and the worst parent is replaced. General rules – Mutation is done only to one variable in an iteration – Population size is usually from – Crossover probability is the proportion of parents on which a cross over operator will act. It is usually between 45-95% 12

Genetic Algorithm Very popular method from the 1970s. Used in optimization and machine learning. Representation – binary or non-binary (real-valued vectors) Applies n-point or uniform crossover to two solutions and a mutation (bit flipping) to randomly modify the individual solutions contents to promote diversity. Selection is based on proportional fitness assignment Replacement is generational – parents are replaced by the offsprings. See handout for an example. 13

Scatter Search Combines both P and S metaheuristics Select an initial population satisfying both diversity and quality – reference set Use both recombination – cross over, mutation followed by S- meta heuristics (local search) to create new populations – Evaluate the objective function – This ensures diversity and quality Update the reference set with the best solutions Continue the process till stopping criteria. 14

Estimation of Distribution Algorithm Generate a population of solutions Evaluate the objective function of the individuals Select m best individuals using any selection method Use the m sample population to generate a probability distribution New individuals are generated by sampling this distribution to form the next new population – Also called non-Darwinian evolutionary algorithm Continue until stopping criteria is reached 15

Estimation of Distribution Algorithm Probability distribution for the 1s is P and 0s is 1-P P = Use U [0,1] to generate new members for each individual in the population. Does not use mutation or crossover 16