Genetic Algorithms: Setting Parmeters and Incorporating Constraints OUTLINE OF TOPICS: 1. Setting GA parameters. 2. Constraint Handling (two methods)

Similar documents
Genetic Algorithms Variations and Implementation Issues

An Introduction to Evolutionary Algorithms

METAHEURISTICS Genetic Algorithm

Hybridization EVOLUTIONARY COMPUTING. Reasons for Hybridization - 1. Naming. Reasons for Hybridization - 3. Reasons for Hybridization - 2

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

Evolutionary Algorithms: Lecture 4. Department of Cybernetics, CTU Prague.

Introduction to Genetic Algorithms

Introduction to Optimization

MAXIMUM LIKELIHOOD ESTIMATION USING ACCELERATED GENETIC ALGORITHMS

Genetic Algorithm Performance with Different Selection Methods in Solving Multi-Objective Network Design Problem

What is GOSET? GOSET stands for Genetic Optimization System Engineering Tool

Communication and Wall clock time

Multi-Objective Pipe Smoothing Genetic Algorithm For Water Distribution Network Design

Constraint Handling. Fernando Lobo. University of Algarve

Suppose you have a problem You don t know how to solve it What can you do? Can you use a computer to somehow find a solution for you?

CS5401 FS2015 Exam 1 Key

Preliminary Background Tabu Search Genetic Algorithm

Introduction to Optimization

Genetic algorithms and finite element coupling for mechanical optimization

Submit: Your group source code to mooshak

Artificial Intelligence Application (Genetic Algorithm)

GENETIC ALGORITHM with Hands-On exercise

Automata Construct with Genetic Algorithm

Neural Network Weight Selection Using Genetic Algorithms

Pseudo-code for typical EA

Application of a Genetic Algorithm to a Scheduling Assignement Problem

Optimization of Function by using a New MATLAB based Genetic Algorithm Procedure

The Genetic Algorithm for finding the maxima of single-variable functions

METAHEURISTIC. Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal.

AI Programming CS S-08 Local Search / Genetic Algorithms

Planning and Search. Genetic algorithms. Genetic algorithms 1

Genetic Algorithm for optimization using MATLAB

Generation of Ultra Side lobe levels in Circular Array Antennas using Evolutionary Algorithms

Evolutionary Algorithms. CS Evolutionary Algorithms 1

GENETIC ALGORITHM VERSUS PARTICLE SWARM OPTIMIZATION IN N-QUEEN PROBLEM

Using Genetic Algorithms to Design Experiments: A Review

Escaping Local Optima: Genetic Algorithm

Algorithm Design (4) Metaheuristics

DERIVATIVE-FREE OPTIMIZATION

Graphical Approach to Solve the Transcendental Equations Salim Akhtar 1 Ms. Manisha Dawra 2

CHAPTER 6 REAL-VALUED GENETIC ALGORITHMS

arxiv:cs/ v1 [cs.ne] 15 Feb 2004

Multi-objective pattern and feature selection by a genetic algorithm

Genetic Algorithms for Vision and Pattern Recognition

Genetic programming. Lecture Genetic Programming. LISP as a GP language. LISP structure. S-expressions

Evolutionary Computation. Chao Lan

Heuristic Optimisation

Santa Fe Trail Problem Solution Using Grammatical Evolution

Extending MATLAB and GA to Solve Job Shop Manufacturing Scheduling Problems

Mutations for Permutations

AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENETIC ALGORITHMS

The Binary Genetic Algorithm. Universidad de los Andes-CODENSA

Outline. CS 6776 Evolutionary Computation. Numerical Optimization. Fitness Function. ,x 2. ) = x 2 1. , x , 5.0 x 1.

Genetic Algorithms with Mapreduce Runtimes

Bi-Objective Optimization for Scheduling in Heterogeneous Computing Systems

THE Multiconstrained 0 1 Knapsack Problem (MKP) is

Adaptive Crossover in Genetic Algorithms Using Statistics Mechanism

Introduction to Genetic Algorithms. Based on Chapter 10 of Marsland Chapter 9 of Mitchell

Previous Lecture Genetic Programming

CS:4420 Artificial Intelligence

CSc 545 Lecture topic: The Criss-Cross method of Linear Programming

Genetic Algorithms. Kang Zheng Karl Schober

Path Planning Optimization Using Genetic Algorithm A Literature Review

[Premalatha, 4(5): May, 2015] ISSN: (I2OR), Publication Impact Factor: (ISRA), Journal Impact Factor: 2.114

Comparison between Neighbourhood and Genetic Algorithms on two Analytic Objective Functions and on a 2.5D Synthetic Seismic Inverse Problems

A THREAD BUILDING BLOCKS BASED PARALLEL GENETIC ALGORITHM

Genetic Algorithms. Aims 09s1: COMP9417 Machine Learning and Data Mining. Biological Evolution. Evolutionary Computation

V.Petridis, S. Kazarlis and A. Papaikonomou

Parallel Traveling Salesman. PhD Student: Viet Anh Trinh Advisor: Professor Feng Gu.

Information Fusion Dr. B. K. Panigrahi

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

Using Genetic Algorithms to Solve the Box Stacking Problem

Chapter 14 Global Search Algorithms

Evolutionary multi-objective algorithm design issues

Evolutionary Computation

Genetic Model Optimization for Hausdorff Distance-Based Face Localization

A Genetic Algorithm Framework

Artificial Intelligence

Genetic Algorithm for Circuit Partitioning

Similarity Templates or Schemata. CS 571 Evolutionary Computation

Genetic Algorithms For Vertex. Splitting in DAGs 1

A HYBRID APPROACH IN GENETIC ALGORITHM: COEVOLUTION OF THREE VECTOR SOLUTION ENCODING. A CASE-STUDY

New Mutation Operator for Multiobjective Optimization with Differential Evolution

TIMETABLE SCHEDULING USING GENETIC ALGORITHM

Train schedule diagram drawing algorithm considering interrelationship between labels

Multi-objective Optimization

Comparison of Evolutionary Multiobjective Optimization with Reference Solution-Based Single-Objective Approach

Towards Automatic Recognition of Fonts using Genetic Approach

MATH 137 : Calculus 1 for Honours Mathematics. Online Assignment #5. Limits and Continuity of Functions

1 Lab 5: Particle Swarm Optimization

1 Lab + Hwk 5: Particle Swarm Optimization

1 Lab + Hwk 5: Particle Swarm Optimization

Evolutionary Computation Algorithms for Cryptanalysis: A Study

An Evolutionary Algorithm with Stochastic Hill-Climbing for the Edge-Biconnectivity Augmentation Problem

Comparative Study on VQ with Simple GA and Ordain GA

A Two-Stage Stochastic Programming Approach for Location-Allocation Models in Uncertain Environments

SPEA2+: Improving the Performance of the Strength Pareto Evolutionary Algorithm 2

LECTURE 3 ALGORITHM DESIGN PARADIGMS

International Journal of Scientific & Engineering Research Volume 8, Issue 10, October-2017 ISSN

Sımultaneous estımatıon of Aquifer Parameters and Parameter Zonations using Genetic Algorithm

Transcription:

Genetic Algorithms: Setting Parmeters and Incorporating Constraints OUTLINE OF TOPICS: 1. Setting GA parameters general guidelines for binary coded GA (some can be extended to real valued GA) estimating computational requirements 2. Constraint Handling (two methods) Penalty function only method Method by Deb (2000) plus tournament selection Note next lecture will cover theory topics 1

GA population paramters GA performance dependent on algorithm parameters population size, N: too small, not enough diversity too large, too inefficient N=10n is reasonable first guess (n is # decision variables) 2

GA Generation Number maximum number of generations, G max : for expensive problems where computational time is limited, G max is inversely related to population size Max # objective fn evaluations=g max *population size (where # objective fn evaluations is user determined). 3

Total Computational Budget is the maximum amount of CPU time you can take to solve the problem. Total computational budget= =Max # objective fn evaluations* CPU/eval Where CPU/eval=CPU time per objective function evaluation. remember that the best solution can only be sequentially improved upon a maximum of G max times 4

5

Trade-off Population Size and Number of Generations From the point of view of searching we would like both Pop and Gmax to be large. Hence there is a trade-off between Populations size (Pop) and the number of generations (Gmax) since Pop*Gmax= constant. If the ratio of Total Computational budget to CPU/eval is small, then you will be restricted and need to consider both. 6

Crossover Guidelines for GA Crossover single-point crossover very common multi-point crossover is alternative for long strings when single point crossover is used, a reasonable default value for probability of crossover is 0.9-1.0 as the number of crossover points increases, the probability of crossover should decrease 7

Mutation Guidelines for GA Mutation typically defined for each bit common value for probability of mutation is 1/[population size] mutation is a secondary operator to crossover set mutation and crossover probabilities so that crossover is main driver of population evolution What does a probability of mutation = 0.5 imply? 8

Methods for GA Selection Selection Methods include: Biased Roulette Wheel selection Tournament Selection Tournament selection has been shown to more efficient and less prone to premature convergence 9

Approach for Problem Analysis and Population Sizing for GAs Given a new problem, how long should you expect to run a GA to find good solutions? Finding good solutions with a GA requires adequate time for population evolution and subsequent convergence Paper by Reed et al. (2000) goes over general approach for determining GA requirements and feasibility Reed et al. (2000). Designing a competent simple genetic algorithm for search and optimization. Water Resources Research, v36 (12), 3757-3761 10

Reed et al. (2000): Designing a Competent Simple Genetic Algorithm for Search and Optimization et al. includes: Dr. David Goldberg (author of Genetic Algorithm book) Dr. Barbara Minsker (past PhD student of Shoemaker) Paper derives approach based on GA schema theorems and various empirical studies This paper is based on the analysis of a simple binary GA that uses binary tournament selection and uniform crossover Similar to the GA coded for HW 3 Results are not generally extendable to real value GAs 11

Picking probabilities of crossover and mutation Reed et al. (2000) suggest: P ( s 1) / s (4) c (5) Pm 1/ Where P c =prob of crossover and P m =prob of mutation N= population size N s = number of individuals competing in tournament selection. 12

Limitations Associated with Reed et al. analysis Reed et al also suggest that Gmax=1.4 N (Gmax is number of generations) Their analysis is based on asymptotic analysis and the schema theorem. However, asymptotic analysis assumes you can make an arbitrarily large number of evaluations. It is not necessarily true that one will run the code as long as necessary to get an identical population so you should be aware of the limitations of the analysis. In addition in the Theory session of the course, we will discuss the Schema Theorem for GA, and the fact that it is not accepted as a mathematical rigorous proof. 13

Practical Guideline It is hard to decide how to set GA parameters. Usually this is done by doing some trial GA runs for a small number of generations and evaluations, with each run having different values for N, Gmax and Pc and Pm. to pick which algorithm parameter values tend to work for a fixed problem. (called tuning parameters ) However, it helpful to get an idea of even which parameter values to try out. It is very reasonable to use the ideas in the Reed et al. paper to help you pick the range of values to use in the parameter tuning. 14

Practical Guideline for GA Parameter Tuning Assume the user has decided on MaxEval, which is the maximum number of evaluations you will make. The following is one way to select tuning ranges. Then (#generations)*(# in population) = =Gmax* N= MaxEval This then results in 1.4 N 2 =Max Evals or N ( MaxEval /1.4) Gmax / MaxEval N You could then evaluate a range of values including the computed N and Gmax above 15