1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.5: Local search – Genetic Algorithms.

Slides:



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

Genetic Algorithms Vida Movahedi November Contents What are Genetic Algorithms? From Biology … Evolution … To Genetic Algorithms Demo.
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?
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Data Mining CS 341, Spring 2007 Genetic Algorithm.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.4: Local search (Simulated annealing and tabu search)
CS 447 Advanced Topics in Artificial Intelligence 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 Algorithm.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Intro. ANN & Fuzzy Systems Lecture 36 GENETIC ALGORITHM (1)
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
HOW TO MAKE A TIMETABLE USING GENETIC ALGORITHMS Introduction with an example.
The Generational Control Model This is the control model that is traditionally used by GP systems. There are a distinct number of generations performed.
Applying Genetic Algorithm to the Knapsack Problem Qi Su ECE 539 Spring 2001 Course Project.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Chapter 4.1 Beyond “Classic” Search. What were the pieces necessary for “classic” search.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
Kansas State University Department of Computing and Information Sciences CIS 732: Machine Learning and Pattern Recognition Friday, 16 February 2007 William.
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
Why do GAs work? Symbol alphabet : {0, 1, * } * is a wild card symbol that matches both 0 and 1 A schema is a string with fixed and variable symbols 01*1*
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Genetic Algorithms Czech Technical University in Prague, Faculty of Electrical Engineering Ondřej Vaněk, Agent Technology Center ZUI 2011.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Genetic Algorithms An Example Genetic Algorithm Procedure GA{ t = 0; Initialize P(t); Evaluate P(t); While (Not Done) { Parents(t) = Select_Parents(P(t));
ECE 103 Engineering Programming Chapter 52 Generic Algorithm Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
Probabilistic Algorithms Evolutionary Algorithms Simulated Annealing.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Genetic Algorithms. The Basic Genetic Algorithm 1.[Start] Generate random population of n chromosomes (suitable solutions for the problem) 2.[Fitness]
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
Genetic Algorithms Chapter Description of Presentations
1 Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations Genetic Algorithm (GA)
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Why do GAs work? Symbol alphabet : {0, 1, * } * is a wild card symbol that matches both 0 and 1 A schema is a string with fixed and variable symbols 01*1*
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.
Agenda  INTRODUCTION  GENETIC ALGORITHMS  GENETIC ALGORITHMS FOR EXPLORING QUERY SPACE  SYSTEM ARCHITECTURE  THE EFFECT OF DIFFERENT MUTATION RATES.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Overview Last two weeks we looked at evolutionary algorithms.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
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.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin.
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Introduction to Genetic Algorithms
Using GA’s to Solve Problems
Chapter 14 Genetic Algorithms.
Genetic Algorithms.
Genetic Algorithms.
Balancing of Parallel Two-Sided Assembly Lines via a GA based Approach
Chapter 6: Genetic Algorithms
An evolutionary approach to solving complex problems
Artificial Intelligence (CS 370D)
CS621: Artificial Intelligence
Genetic Algorithms Chapter 3.
Steady state Selection
Population Based Metaheuristics
GA.
Presentation transcript:

1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.5: Local search – Genetic Algorithms

2 Genetic Algorithms Keep a population (or a generation) of solutions Keep a population (or a generation) of solutions Selected members of the population survive and reproduce offspring Selected members of the population survive and reproduce offspring –The offspring inherit characteristics from both parents –A mutation can occur such that the offspring has a feature that neither parent has

3 Minimization of x 2 via a simple GA Gene representation of an individual Gene representation of an individual –Use binary encoding, e.g., I= = =551 –10 binary digits => I  {0,1,…,1023} –Suppose we know x  [-2,2]  Let x=(I-512)/256 => x  [-2,1.996] Fitness of an individual Fitness of an individual F(x)=1/(1+x 2 )

4 Simple GA (1) Initial population Use a population size of 10 Use a population size of 10 Randomly generate 10 individuals Randomly generate 10 individuals Bit IxF(x)

5 Simple GA (2) Choosing the parents F(x)P PP UPick

6 Simple GA (3) Crossover Parent Bits

7 Simple GA (4) Offspring

8 Simple GA (5) Mutation Change each bit with probability p m =0.05 Change each bit with probability p m =

9 Simple GA (6) Second generation IxF(x)

10 GA and scheduling Encoding of a sequence Encoding of a sequence –Easier to use job numbers than bits Mutation can be done by an interchange of two jobs Mutation can be done by an interchange of two jobs A crossover can lead to an infeasible sequence A crossover can lead to an infeasible sequence gives and –repair –random keys –other methods

11 Random keys (see Bean, 1994) Generate n U(0,1) random numbers for each parent Generate n U(0,1) random numbers for each parent Example Example –Generate.29,.96,.17,.84 and.49 –P 1 =(.29,.96,.17,.84,.49)=(4,1,5,2,3) –P 2 =(.73,.14,.43,.54,.38)=(5,1,3,2,4) (.29,.96,.17,.84,.49) gives(.29,.96,.17,.54,.38) (.73,.14,.43,.54,.38) (.73,.14,.43,.84,.49) –C 1 =(4,1,5,2,4) C 2 =(2,5,4,1,3)

12 GA example: 1||  w j T j Jobs1234 wjwj 4535 pjpj djdj Use random keys and population size 6 Use random keys and population size 6 Fitness = 1/w j T j Fitness = 1/w j T j

13 GA example Initial population Random keys Sequence wjTjwjTj FitnessPC USelect

14 GA example Crossover and mutation ParentsSwap atMutation

15 GA example Generation 2 Very little improvement and the population is converging!? Very little improvement and the population is converging!? Instead of mutation do immigration Instead of mutation do immigration –Replace an individual with a new randomly generated individual Random keys Sequence wjTjwjTj Fitness

16 GA algorithm 1. Generate an initial population 2. Evaluate the fitness and select individuals for reproduction Randomly, always keep the best few? Randomly, always keep the best few? 3. Generate new individuals Crossover, mutation, immigration Crossover, mutation, immigration 4. Stop of stopping criteria are satisfied. Otherwise go to 2

17 GA design criteria Schedule representation Schedule representation Population size Population size Fitness function Fitness function Selection procedure Selection procedure –Probability based on fitness or ranking –Tournament Crossover, mutation and immigration probability Crossover, mutation and immigration probability Stopping criteria Stopping criteria