1 A Core Course on Modeling ACCEL (continued) a 4 categories model dominance and Pareto optimality strength algorithm Examples Week 5 – Roles of Quantities.

Slides:



Advertisements
Similar presentations
A core course on Modeling kees van Overveld Week-by-week summary.
Advertisements

1 A Core Course on Modeling Contents Functional Models The 4 Categories Approach Constructing the Functional Model Input of the Functional Model: Category.
Advanced Programming 15 Feb The “OI” Programming Process Reading the problem statement Thinking Coding + Compiling Testing + Debugging Finalizing.
MOEAs University of Missouri - Rolla Dr. T’s Course in Evolutionary Computation Matt D. Johnson November 6, 2006.
A core Course on Modeling Introduction to Modeling 0LAB0 0LBB0 0LCB0 0LDB0 P.10.
Analysis of Algorithms
A core Course on Modeling Introduction to Modeling 0LAB0 0LBB0 0LCB0 0LDB0 S.24.
CSCI 347 / CS 4206: Data Mining Module 07: Implementations Topic 03: Linear Models.
A core Course on Modeling Introduction to Modeling 0LAB0 0LBB0 0LCB0 0LDB0 P.13.
©GoldSim Technology Group LLC., 2012 Optimization in GoldSim Jason Lillywhite and Ryan Roper June 2012 Webinar.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Recursion and Exhaustion Hong Kong Olympiad in Informatics 2009 Hackson Leung
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
458 Interlude (Optimization and other Numerical Methods) Fish 458, Lecture 8.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Multi-Objective Evolutionary Algorithms Matt D. Johnson April 19, 2007.
Multimodal Problems and Spatial Distribution Chapter 9.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
1 Error Analysis Part 1 The Basics. 2 Key Concepts Analytical vs. numerical Methods Representation of floating-point numbers Concept of significant digits.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2004.
Principles of Procedural Programming
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
IE 607 Constrained Design: Using Constraints to Advantage in Adaptive Optimization in Manufacturing.
Evolutionary Multi-objective Optimization – A Big Picture Karthik Sindhya, PhD Postdoctoral Researcher Industrial Optimization Group Department of Mathematical.
 Value, Variable and Data Type  Type Conversion  Arithmetic Expression Evaluation  Scope of variable.
Design Space Exploration
A core Course on Modeling Introduction to Modeling 0LAB0 0LBB0 0LCB0 0LDB0 S.21.
Evolutionary Algorithms BIOL/CMSC 361: Emergence Lecture 4/03/08.
PYTHON: PART 2 Catherine and Annie. VARIABLES  That last program was a little simple. You probably want something a little more challenging.  Let’s.
Input, Output, and Processing
Genetic Algorithms Michael J. Watts
The art of Devising Thumnail Models Kees van Overveld for Marie Curie International PhD exchange Program.
Design of a real time strategy game with a genetic AI By Bharat Ponnaluri.
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Design of an Evolutionary Algorithm M&F, ch. 7 why I like this textbook and what I don’t like about it!
1 A Core Course on Modeling Examples street lanterns planets and gravity Week 4 – The Function of Functions.
Omni-Optimizer A Procedure for Single and Multi-objective Optimization Prof. Kalyanmoy Deb and Santosh Tiwari.
A core Course on Modeling Introduction to Modeling 0LAB0 0LBB0 0LCB0 0LDB0 P.12.
Term 2, 2011 Week 1. CONTENTS Problem-solving methodology Programming and scripting languages – Programming languages Programming languages – Scripting.
Chapter 5: More on the Selection Structure Programming with Microsoft Visual Basic 2005, Third Edition.
A core Course on Modeling Introduction to Modeling 0LAB0 0LBB0 0LCB0 0LDB0 P.14.
Lecture 4: Statistics Review II Date: 9/5/02  Hypothesis tests: power  Estimation: likelihood, moment estimation, least square  Statistical properties.
1 A Core Course on Modeling     The modeling process     define conceptualize conclude execute formalize formulate purpose formulate purpose identify.
Programming with Microsoft Visual Basic th Edition
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Chapter 3 Syntax, Errors, and Debugging Fundamentals of Java.
A core Course on Modeling Introduction to Modeling 0LAB0 0LBB0 0LCB0 0LDB0 S.25.
Quantum Computing MAS 725 Hartmut Klauck NTU
Neural and Evolutionary Computing - Lecture 9 1 Evolutionary Multiobjective Optimization  Particularities of multiobjective optimization  Multiobjective.
Controlling Program Flow with Decision Structures.
1 Autonomic Computer Systems Evolutionary Computation Pascal Paysan.
Evolutionary multi-objective algorithm design issues Karthik Sindhya, PhD Postdoctoral Researcher Industrial Optimization Group Department of Mathematical.
Evolutionary Computing Chapter 12. / 26 Chapter 12: Multiobjective Evolutionary Algorithms Multiobjective optimisation problems (MOP) -Pareto optimality.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Chapter 3 Brute Force Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Selected Topics in CI I Genetic Programming Dr. Widodo Budiharto 2014.
Types for Programs and Proofs
Type Checking Generalizes the concept of operands and operators to include subprograms and assignments Type checking is the activity of ensuring that the.
Ryan Lekivetz JMP Division of SAS Abstract Covering Arrays
Non-linear Minimization
Solver & Optimization Problems
Object Oriented Programming
Comparing Genetic Algorithm and Guided Local Search Methods
Multi-Objective Optimization
A core course on Modeling kees van Overveld
Beyond Classical Search
Presentation transcript:

1 A Core Course on Modeling ACCEL (continued) a 4 categories model dominance and Pareto optimality strength algorithm Examples Week 5 – Roles of Quantities in a Functional Model

2 A Core Course on Modeling to-do list keeps track of incomplete expressions to-do list empty: script is compiled script compiles correctly: script starts running Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model

3 A Core Course on Modeling ACCEL: a four-categories model quantities are automatically categorized: x=17  constant: cat. III x=slider(3,0,10)  user input: cat I x not in right hand part:  output only: cat. II otherwise:  cat. IV Week 5 – Roles of Quantities in a Functional Model

4 A Core Course on Modeling Category I: slider (number), checkbox (boolean), button (boolean event), input (arbitrary), cursorX, cursorY, cursorB cannot occur in expressions: a=slider(10,0,20) *p slider with integer parameters gives integer results slider with  1 float parameter gives float results Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model

5 A Core Course on Modeling Category I: to use slider for non-numeric input: r=[ch0, ch1, ch2, …, chn] myChoice=slider(0,0,n) p=r[myChoice] (p can have arbitrary properties) Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model

6 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model Category II: all cat.-II quantities are given as output dynamic models: p = f( p{1}, q{1} ) : p is not in cat.-II to enforce a quantity in cat.-II: pp = p visual output with 'descartes()'; this is a function and produces output  cat.-II (usually 'plotOK')

7 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model Category II: in IO/edit tab: show / hide values: values of all quantities results output: (too …) few decimals

8 A Core Course on Modeling Category III: cat.-III is automatically detected for numbers or strings Cat-III is detected for expressions with constants only: X = 3 * sin (7.14 / 5) don't use numerical constants in expressions: x = pricePerUnit * nrUnits x = * nrUnits x = 2 * PI * r (built-in constants: PI and E) Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model why not?

9 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model image: Category IV: Expressions should be simple as possible: Prefer y = x * p, p = z + t over y = x * (z+t) when in doubt: inspect! make temporary cat.-II quantity (even) better trick: next week

10 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model Category IV: efficiency: re-use common sub- expressions consider user defined functions image:

11 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model Category IV: efficiency: re-use common sub- expressions consider user defined functions u = a + b*log(c)*sin(d) v = e + b*log(c)*sin(d) term = b*log(c)*sin(d) u=a + term v=e + term re-using same value

12 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: a four-categories model Category IV: efficiency: re-use common sub- expressions consider user defined functions u = a + b*log(c)*sin(d) v = e + p*log(q)*sin(r) term(x,y,z) = x*log(y)*sin(z) u = a + term(b,c,d) v = e + term(p,q,r) re-using same thinking

13 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: dominance & pareto optimality image: submission-from.html

14 A Core Course on Modeling Dominance Ordinal cat.-II quantities: C 1 dominates C 2  C 1.q i is better than C 2.q i for all q i ; ‘better’: ‘ ’ (e.g., profit); more cat.-II quantities: fewer dominated solutions. Week 5-Roles of Quantities in a Functional Model ACCEL: dominance & pareto optimality

15 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model q 1 (e.g., profit) q 2 (e.g., waste) C2C2 C1C1 C3C3 C 1 dominates C 2 C 2,C 3 : no dominance C 1 dominates C 3 ACCEL: dominance & pareto optimality Dominance Ordinal cat.-II quantities: C 1 dominates C 2  C 1.q i is better than C 2.q i for all q i ; ‘better’: ‘ ’ (e.g., profit); more cat.-II quantities: fewer dominated solutions.

16 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model ACCEL: dominance & pareto optimality image Dominance Only non-dominated solutions are relevant Dominance: prune cat.-I space; More cat.-II quantities: more none-dominated solutions  nr. cat.-II quantities should be small.

17 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: dominance & pareto optimality Dominance in ACCEL y=paretoMax(expression)  enlist for maximum y=paretoMin(expression)  enlist for minimum To use Pareto algorithm, express all conditions into penalties For inspection of the results: Paretoplot paretoHor(x) paretoVer(x)

18 A Core Course on Modeling Week 5 – Roles of Quantities in a Functional Model ACCEL: dominance & pareto optimality Dominance in ACCEL myArea=paretoHor(paretoMax(p[myProv].area)) myPop=paretoVer(paretoMin(p[myProv].pop)) p=[Pgr,Pfr,Pdr,Pov,Pgl,Put,Pnh,Pzh,Pzl,Pnb,Pli] myProv=slider(0,0,11) myCap=p[myProv].cap Pfr=['cap':'leeuwarden','pop':647239,'area': ]... Pli=['cap':'maastricht','pop': ,'area': ]

19 A Core Course on Modeling D Week 5-Roles of Quantities in a Functional Model ACCEL: dominance & pareto optimality Dominance in ACCEL Dominated areas: bounded by iso-cat.-II quantitiy lines; Solutions in dominated areas: ignore; Non-dominated solutions: Pareto front.

20 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model ACCEL: strength-algorithm Optimization in practice Find 'best' concepts in cat.-I space. Mathematical optimization: single- valued functions. The 'mounteneer approach'; Only works for 1 cat.-II quantity. image:

21 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model ACCEL: strength-algorithm Optimization in practice Eckart Zitzler: Pareto + Evolution. genotype = blueprint of individual (‘cat.-I’); genotype is passed over to offspring; genotype  phenotype, determines fitness (‘cat.-II’); variation in genotypes  variation among phenotypes; fitter phenotypes  beter gene-spreading.

22 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model ACCEL: strength-algorithm Optimization in practice Start: population of random individuals (tuples of values for cat.-I quantities); Fitness: fitter when dominated by fewer; Next generation: preserve non-dominated ones; Complete population: mutations and crossing-over; Convergence: Pareto front stabilizes. image:

23 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model ACCEL: strength-algorithm Optimization in practice: caveats Too large % non-dominated concepts: no progress; Find individuals in narrow niche: problematic; Analytical alternatives may not exist Need guarantee for optimal solution  DON’T use Pareto-Genetic. image:

24 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model ACCEL: strength-algorithm Optimization in practice: brute force If anything else fails: local optimization for individual elements of the Pareto-front; Split cat.-I space in sub spaces if model function behaves different in different regimes; Temporarily fix some cat.-IV quantities (pretend that they are in category-III).

25 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal province: spaciousness = area / population or area population  paretoMax  paretoMin 1 cat.-II quantity 2 cat.-II quantities meaningful quantity, related to purpose

26 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal street lamps: efficiency = power * penalty or power penalty  paretoMin 1 cat.-II quantity 2 cat.-II quantities not too much light not too little light contrived quantity, not related to purpose

27 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal street lamps: dL=slider(25.5,5,50) h=slider(5.5,3,30) p=slider(500.1,100,2000) intPenalty=paretoMin(paretoHor(- min(minP,minInt)+max(maxP,maxInt)-(maxP-minP))) roadLength=40 roadWidth=15... problem: too slow to do optimization

28 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal street lamps: dL=slider(25.5,5,50) h=slider(5.5,3,30) p=slider(500.1,100,2000) intPenalty=paretoMin(paretoHor(- min(minP,minInt)+max(maxP,maxInt)-(maxP-minP))) roadLength=40 roadWidth=15... problem: too slow to do optimization Minimal intensity computed by the model Minimal intensity to see road marks Maximal intensity computed by the model Maximal intensity tnot to be blinded

29 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal street lamps: dL=slider(25.5,5,50) h=slider(5.5,3,30) p=slider(500.1,100,2000) intPenalty=paretoMin(paretoHor(- min(minP,minInt)+max(maxP,maxInt)-(maxP-minP))) roadLength=40 roadWidth=2... problem: too slow to do optimization  use symmetry problem: awkward metric in cat.-II space

30 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal street lamps: dL=slider(25.5,5,50) h=slider(5.5,3,30) p=slider(500.1,100,2000) intPenalty=paretoMin(paretoHor(log( min(minP,minInt)+max(maxP,maxInt)-(maxP-minP)))) roadLength=40 roadWidth=2... problem: awkward metric in cat.-II space  scale penaltyproblem: border optima ??? intPenalty minPmaxP minIntmaxInt

31 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal street lamps: dL=slider(25.5,5,50) h=slider(5.5,1,30) p=slider(500.1,50,2000) intPenalty=paretoMin(paretoHor(log( min(minP,minInt)+max(maxP,maxInt)-(maxP-minP)))) roadLength=40 roadWidth=2... problem: border optima ???  expand cat.-I ranges

32 A Core Course on Modeling Week 5-Roles of Quantities in a Functional Model Examples Optimal street lamps: Summary: check if model exploits symmetries check if penalty functions represent intuition check if optima are not on arbitrary borders keep thinking: interpret trends (h  0, l  0 … 1D approximation …?)