Computational Intelligence Winter Term 2009/10 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.

Slides:



Advertisements
Similar presentations
Algorithm Design Techniques
Advertisements

Fakultät für informatik informatik 12 technische universität dortmund Standard Optimization Techniques Peter Marwedel Informatik 12 TU Dortmund Germany.
Computational Intelligence Winter Term 2009/10 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Population-based metaheuristics Nature-inspired Initialize a population A new population of solutions is generated Integrate the new population into the.
Local Search Algorithms
Computational Intelligence Winter Term 2013/14 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence Winter Term 2013/14 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence Winter Term 2013/14 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence
Constraint Optimization We are interested in the general non-linear programming problem like the following Find x which optimizes f(x) subject to gi(x)
Biologically Inspired Computing: Operators for Evolutionary Algorithms
Neural and Evolutionary Computing - Lecture 4 1 Random Search Algorithms. Simulated Annealing Motivation Simple Random Search Algorithms Simulated Annealing.
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
CPSC 322, Lecture 16Slide 1 Stochastic Local Search Variants Computer Science cpsc322, Lecture 16 (Textbook Chpt 4.8) February, 9, 2009.
Evolutionary Computational Intelligence
Introduction to Genetic Algorithms Yonatan Shichel.
Iterative Improvement Algorithms
An Introduction to Black-Box Complexity
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Evolutionary Computational Intelligence Lecture 8: Memetic Algorithms Ferrante Neri University of Jyväskylä.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Prepared by Barış GÖKÇE 1.  Search Methods  Evolutionary Algorithms (EA)  Characteristics of EAs  Genetic Programming (GP)  Evolutionary Programming.
Genetic Algorithm.
© Negnevitsky, Pearson Education, CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University.
1 Paper Review for ENGG6140 Memetic Algorithms By: Jin Zeng Shaun Wang School of Engineering University of Guelph Mar. 18, 2002.
Genetic algorithms Prof Kang Li
CS 484 – Artificial Intelligence1 Announcements Lab 3 due Tuesday, November 6 Homework 6 due Tuesday, November 6 Lab 4 due Thursday, November 8 Current.
Artificial Intelligence Lecture No. 31 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Neural and Evolutionary Computing - Lecture 5 1 Evolutionary Computing. Genetic Algorithms Basic notions The general structure of an evolutionary algorithm.
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Exact and heuristics algorithms
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
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.
Optimization Problems
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
CPSC 322, Lecture 16Slide 1 Stochastic Local Search Variants Computer Science cpsc322, Lecture 16 (Textbook Chpt 4.8) Oct, 11, 2013.
Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Constraints Satisfaction Edmondo Trentin, DIISM. Constraint Satisfaction Problems: Local Search In many optimization problems, the path to the goal is.
Genetic Algorithms.
Genetic Algorithms.
Computational Intelligence
Evolutionary Algorithms Jim Whitehead
School of Computer Science & Engineering
Example: Applying EC to the TSP Problem
CSC 380: Design and Analysis of Algorithms
Artificial Intelligence (CS 370D)
Standard Optimization Techniques
CS621: Artificial Intelligence
Computational Intelligence
Example: Applying EC to the TSP Problem
Multi-Objective Optimization
Computational Intelligence
Introduction to Genetic Algorithm and Some Experience Sharing
Computational Intelligence
CSC 380: Design and Analysis of Algorithms
Presentation transcript:

Computational Intelligence Winter Term 2009/10 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 2 G. Rudolph: Computational Intelligence Winter Term 2009/10 2 Plan for Today Evolutionary Algorithms Optimization Basics EA Basics

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 3 Optimization Basics ? !! ! !? ! ?! modelling simulation optimization system outputinput

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 4 Optimization Basics given: objective function f: X R feasible region X (= nonempty set) optimization problem: find x* 2 X such that f(x*) = min{ f(x) : x 2 X } note: max{ f(x) : x 2 X } = –min{ –f(x) : x 2 X } x* global solution f(x*) global optimum objective: find solution with minimal or maximal value!

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 5 Optimization Basics local solution x* 2 X : 8x 2 N(x*): f(x*) f(x) neighborhood of x* = bounded subset of X example: X = R n, N (x*) = { x 2 X: || x – x*|| 2 if x* local solution then f(x*) local optimum / minimum remark: evidently, every global solution / optimum is also local solution / optimum; the reverse is wrong in general! ab x* example: f: [a,b] R, global solution at x*

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 6 Optimization Basics What makes optimization difficult? some causes: local optima (is it a global optimum or not?) constraints (ill-shaped feasible region) non-smoothness (weak causality) discontinuities () nondifferentiability, no gradients) lack of knowledge about problem () black / gray box optimization) f(x) = a 1 x a n x n max! with x i 2 {0,1}, a i 2 R add constaint g(x) = b 1 x b n x n b ) x i * = 1 if a i > 0 ) NP-hard add capacity constraint to TSP ) CVRP ) still harder strong causality needed!

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 7 Optimization Basics When using which optimization method? mathematical algorithms problem explicitly specified problem-specific solver available problem well understood ressources for designing algorithm affordable solution with proven quality required ) dont apply EAs randomized search heuristics problem given by black / gray box no problem-specific solver available problem poorly understood insufficient ressources for designing algorithm solution with satisfactory quality sufficient ) EAs worth a try

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 8 Evolutionary Algorithm Basics idea: using biological evolution as metaphor and as pool of inspiration ) interpretation of biological evolution as iterative method of improvement feasible solution x 2 X = S 1 x... x S n = chromosome of individual multiset of feasible solutions = population: multiset of individuals objective function f: X R = fitness function often: X = R n, X = B n = {0,1} n, X = P n = { : is permutation of {1,2,...,n} } also : combinations like X = R n x B p x P q or non-cartesian sets ) structure of feasible region / search space defines representation of individual

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 9 Evolutionary Algorithm Basics initialize population evaluation parent selection variation (yields offspring) survival selection (yields new population) evaluation (of offspring) stop? output: best individual found Y N algorithmic skeleton

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 10 Evolutionary Algorithm Basics Specific example: (1+1)-EA in B n for minimizing some f: B n R population size = 1, number of offspring = 1, selects best from 1+1 individuals parentoffspring 1.initialize X (0) 2 B n uniformly at random, set t = 0 2.evaluate f(X (t) ) 3.select parent: Y = X (t) 4.variation: flip each bit of Y independently with probability p m = 1/n 5.evaluate f(Y) 6.selection: if f(Y) f(X (t) ) then X (t+1) = Y else X (t+1) = X (t) 7.if not stopping then t = t+1, continue at (3) no choice, here

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 11 Evolutionary Algorithm Basics Selection (a)select parents that generate offspring selection for reproduction (b)select individuals that proceed to next generation selection for survival necessary requirements: - selection steps must not favor worse individuals - one selection step may be neutral (e.g. select uniformly at random) - at least one selection step must favor better individuals typically: selection only based on fitness values f(x) of individuals seldom: additionally based on individuals chromosomes x ( maintain diversity)

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 12 Evolutionary Algorithm Basics Selection methods population P = (x 1, x 2,..., x ) with individuals uniform / neutral selection choose index i with probability 1/ fitness-proportional selection choose index i with probability s i = two approaches: 1. repeatedly select individuals from population with replacement 2. rank individuals somehow and choose those with best ranks (no replacement) problems: f(x) > 0 for all x 2 X required ) g(x) = exp( f(x) ) > 0 but already sensitive to additive shifts g(x) = f(x) + c almost deterministic if large differences, almost uniform if small differences dont use!

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 13 Evolutionary Algorithm Basics Selection methods population P = (x 1, x 2,..., x ) with individuals rank-proportional selection order individuals according to their fitness values assign ranks fitness-proportional selection based on ranks ) avoids all problems of fitness-proportional selection but: best individual has only small selection advantage (can be lost!) outdated! k-ary tournament selection draw k individuals uniformly at random (typically with replacement) from P choose individual with best fitness (break ties at random) ) has all advantages of rank-based selection and probability that best individual does not survive:

Lecture 10 G. Rudolph: Computational Intelligence Winter Term 2009/10 14 Evolutionary Algorithm Basics Selection methods without replacement population P = (x 1, x 2,..., x ) with parents and population Q = (y 1, y 2,..., y ) with offspring (, )-selection or truncation selection on offspring or comma-selection rank offspring according to their fitness select offspring with best ranks ) best individual may get lost, required ( + )-selection or truncation selection on parents + offspring or plus-selection merge offspring and parents rank them according to their fitness select individuals with best ranks ) best individual survives for sure