Evolutionary Computing Chapter 1. / 20 Chapter 1: Problems to be solved Problems can be classified in different ways: Black box model Search problems.

Slides:



Advertisements
Similar presentations
Hard Problems Some problems are hard to solve. No polynomial time algorithm is known Most combinatorial optimization problems are hard Popular NP-hard.
Advertisements

What is the computational cost of automating brilliance or serendipity? (Computational complexity & P vs NP) COS 116, Spring 2012 Adam Finkelstein.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
What is the computational cost of automating brilliance or serendipity? (Computational complexity and P vs NP question) COS 116: 4/12/11 Sanjeev Arora.
Introduction to Evolutionary Computing I A.E. Eiben Free University Amsterdam with thanks to the EvoNet Training Committee and.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
CSE332: Data Abstractions Lecture 27: A Few Words on NP Dan Grossman Spring 2010.
The Theory of NP-Completeness
Analysis of Algorithms CS 477/677
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Chapter 11: Limitations of Algorithmic Power
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
NP and NP- Completeness Bryan Pearsaul. Outline Decision and Optimization Problems Decision and Optimization Problems P and NP P and NP Polynomial-Time.
1 Integrality constraints Integrality constraints are often crucial when modeling optimizayion problems as linear programs. We have seen that if our linear.
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
NP-Complete Problems CSC 331: Algorithm Analysis NP-Complete Problems.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
Applications of Evolutionary Algorithms Michael J. Watts
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Introduction Chapter 1. A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Introduction Contents The basic EC metaphor Historical perspective.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
RESOURCES, TRADE-OFFS, AND LIMITATIONS Group 5 8/27/2014.
Prabhas Chongstitvatana1 NP-complete proofs The circuit satisfiability proof of NP- completeness relies on a direct proof that L  p CIRCUIT-SAT for every.
TECH Computer Science NP-Complete Problems Problems  Abstract Problems  Decision Problem, Optimal value, Optimal solution  Encodings  //Data Structure.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
1 Chapter 34: NP-Completeness. 2 About this Tutorial What is NP ? How to check if a problem is in NP ? Cook-Levin Theorem Showing one of the most difficult.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Hard Problems Some problems are hard to solve.  No polynomial time algorithm is known.  E.g., NP-hard problems such as machine scheduling, bin packing,
Lecture 6 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
NP-Complete problems.
Hard Problems Sanghyun Park Fall 2002 CSE, POSTECH.
Limits to Computation How do you analyze a new algorithm? –Put it in the form of existing algorithms that you know the analysis. –For example, given 2.
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
Complexity & Computability. Limitations of computer science  Major reasons useful calculations cannot be done:  execution time of program is too long.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
Fundamentals of Informatics Lecture 14 Intractability and NP-completeness Bas Luttik.
LIMITATIONS OF ALGORITHM POWER
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear Chapter.
Chapter 5. Advanced Search Fall 2011 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Chapter 13 Backtracking Introduction The 3-coloring problem
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
CSC 413/513: Intro to Algorithms
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
1 Ch 10 - NP-completeness Tractable and intractable problems Decision/Optimization problems Deterministic/NonDeterministic algorithms Classes P and NP.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Conceptual Foundations © 2008 Pearson Education Australia Lecture slides for this course are based on teaching materials provided/referred by: (1) Statistics.
Hard Problems Some problems are hard to solve.  No polynomial time algorithm is known.  E.g., NP-hard problems such as machine scheduling, bin packing,
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Limitation of Computation Power – P, NP, and NP-complete
The NP class. NP-completeness
Introduction to Evolutionary Computing
Chapter 12: Theory of Computation
Hard Problems Some problems are hard to solve.
EMIS 8373: Integer Programming
Richard Anderson Lecture 26 NP-Completeness
Design and Analysis of Algorithm
Intro to Theory of Computation
Integer Programming (정수계획법)
Chapter 11 Limitations of Algorithm Power
Integer Programming (정수계획법)
Hard Problems Some problems are hard to solve.
Presentation transcript:

Evolutionary Computing Chapter 1

/ 20 Chapter 1: Problems to be solved Problems can be classified in different ways: Black box model Search problems Optimisation vs constraint satisfaction NP problems 2

/ 20 “Black box” model “Black box” model consists of 3 components When one component is unknown: new problem type 3

/ 20 “Black box” model: Optimisation Model and desired output is known, task is to find inputs 4 Examples: Time tables for university, call center, or hospital Design specifications Traveling salesman problem (TSP) Eight-queens problem, etc.

/ 20 “Black box” model: Optimisation example 1: university timetabling Enormously big search space Timetables must be good “Good” is defined by a number of competing criteria Timetables must be feasible Vast majority of search space is infeasible 5

/ 20

“Black box” model: Optimisation example 2: satellite structure Optimised satellite designs for NASA to maximize vibration isolation Evolving: design structures Fitness: vibration resistance Evolutionary “creativity” 7

/ 20 “Black box” model: Optimisation example 3: 8 queens problem 8 Given an 8-by-8 chessboard and 8 queens Place the 8 queens on the chessboard without any conflict Two queens conflict if they share same row, column or diagonal Can be extended to an n queens problem (n>8)

/ 20 “Black box” model: Modelling We have corresponding sets of inputs & outputs and seek model that delivers correct output for every known input Note: modelling problems can be transformed into optimisation problems 9 Evolutionary machine learning Predicting stock exchange Voice control system for smart homes

/ 20 “Black box” model: Modelling example: load applicant creditibility British bank evolved creditability model to predict loan paying behavior of new applicants Evolving: prediction models Fitness: model accuracy on historical data 10

/ 20 “Black box” model: Simulation We have a given model and wish to know the outputs that arise under different input conditions Often used to answer “what-if” questions in evolving dynamic environments – Evolutionary economics, Artificial Life – Weather forecast system – Impact analysis new tax systems 11

/ 20 “Black box” model: Simulation example: evolving artificial societies Simulating trade, economic competition, etc. to calibrate models Use models to optimise strategies and policies Evolutionary economy Survival of the fittest is universal (big/small fish) 11

/ 20 “Black box” model: Simulation example 2: biological interpretations Incest prevention keeps evolution from rapid degeneration (we knew this) Multi-parent reproduction, makes evolution more efficient (this does not exist on Earth in carbon) 2 nd sample of Life 13 Picture censored

/ 20 Search problems Simulation is different from optimisation/modelling Optimisation/modelling problems search through huge space of possibilities Search space: collection of all objects of interest including the desired solution Question: how large is the search space for different tours through n cities? Benefit of classifying these problems: distinction between - search problems, which define search spaces, and - problem-solvers, which tell how to move through search spaces. 14

/ 20 Optimisation vs. constraint satisfaction (1/2) Objective function: a way of assigning a value to a possible solution that reflects its quality on scale –Number of un-checked queens (maximize) –Length of a tour visiting given set of cities (minimize) Constraint: binary evaluation telling whether a given requirement holds or not –Find a configuration of eight queens on a chessboard such that no two queens check each other –Find a tour with minimal length where city X is visited after city Y 15

/ 20 Optimisation vs. constraint satisfaction (2/2) When combining the two: Where do the examples fit? Note: constraint problems can be transformed into optimisation problems Question: how can we formulate the 8-queens problem in to a FOP/CSP/COP? 16 Objective function ConstraintsYesNo YesConstrained optimisation problem Constraint satisfaction problem NoFree optimisation problem No problem

/ 20 NP problems We only looked at classifying the problem, not discussed problem solvers This classification scheme needs the properties of the problem solver Benefit of this scheme: possible to tell how difficult the problem is Explain the basics of this classifier for combinatorial optimisation problems (booleans or integers search space) 17

/ 20 NP problems: Key notions Problem size: dimensionality of the problem at hand and number of different values for the problem variables Running-time: number of operations the algorithm takes to terminate –Worst-case as a function of problem size –Polynomial, super-polynomial, exponential Problem reduction: transforming current problem into another via mapping 18

/ 20 NP problems: Class The difficultness of a problem can now be classified: –Class P: algorithm can solve the problem in polynomial time (worst-case running-time for problem size n is less than F(n) for some polynomial formula F) –Class NP: problem can be solved and any solution can be verified within polynomial time by some other algorithm (P subset of NP) –Class NP-complete: problem belongs to class NP and any other problem in NP can be reduced to this problem by al algorithm running in polynomial time –Class NP-hard: problem is at least as hard as any other problem in NP-complete but solution cannot necessarily be verified within polynomial time 19

/ 20 NP problems: Difference between classes P is different from NP-hard Not known whether P is different from NP P ≠ NPP = NP For now: use of approximation algorithms and metaheuristics 20