Creating Meaningful Training Data for Dicult Job Shop Scheduling Instances for Ordinal Regression
|
|
- Kristin Harmon
- 5 years ago
- Views:
Transcription
1 Creating Meaningful Training Data for Dicult Job Shop Scheduling Instances for Ordinal Regression Helga Ingimundardóttir University of Iceland March 28 th, 2012
2 Outline Introduction Job Shop Scheduling Ordinal Regression Generating Training Data Future Work 2 of 36
3 Introduction Job Shop Scheduling Ordinal Regression Generating Training Data Future Work 3 of 36
4 Motivation General Goal General goal is how to search for good solutions for an arbitrary problem domain. Automate the design of optimization algorithms. Use of randomly sampled problem instances and their corresponding optimal vs. suboptimal solutions. 4 of 36
5 Case Study: Job Shop Scheduling Problem There are many heuristic methods available for JSSP, where dierent methodologies outperform other depending on the particular problem instance. Relationship between problem structure and heuristic performance for JSSP Finding out how the problem instances dier in structure. Determine when a particular heuristic solution is likely to fail and explore in further detail the causes of such failures. Preliminary research was done in Ingimundardottir and Runarsson [2011] for a simple data distribution. This talk will be on how to deal with harder instances. 5 of 36
6 Case Study: Job Shop Scheduling Problem There are many heuristic methods available for JSSP, where dierent methodologies outperform other depending on the particular problem instance. Relationship between problem structure and heuristic performance for JSSP Finding out how the problem instances dier in structure. Determine when a particular heuristic solution is likely to fail and explore in further detail the causes of such failures. Preliminary research was done in Ingimundardottir and Runarsson [2011] for a simple data distribution. This talk will be on how to deal with harder instances. 5 of 36
7 Previous Work Methods previously proposed for investigating between problem structure and heuristic eectiveness: Footprints in instance space [Smith-Miles and Lopes, 2010, Corne and Reynolds, 2011] or landmarking [Pfahringer and Bensusan, 2000] which give an indicator how an algorithm generalizes over the instance space. The focus has been on searching through a large set of algorithms and determine the most suitable for a given subset of the instance space. However, there is a lack of research based on a single algorithm and understanding how it works on the instance space in the hopes of being able to extrapolate where it excels in order to aid its failing aspects. 6 of 36
8 Previous Work Methods previously proposed for investigating between problem structure and heuristic eectiveness: Footprints in instance space [Smith-Miles and Lopes, 2010, Corne and Reynolds, 2011] or landmarking [Pfahringer and Bensusan, 2000] which give an indicator how an algorithm generalizes over the instance space. The focus has been on searching through a large set of algorithms and determine the most suitable for a given subset of the instance space. However, there is a lack of research based on a single algorithm and understanding how it works on the instance space in the hopes of being able to extrapolate where it excels in order to aid its failing aspects. 6 of 36
9 Previous Work Methods previously proposed for investigating between problem structure and heuristic eectiveness: Footprints in instance space [Smith-Miles and Lopes, 2010, Corne and Reynolds, 2011] or landmarking [Pfahringer and Bensusan, 2000] which give an indicator how an algorithm generalizes over the instance space. The focus has been on searching through a large set of algorithms and determine the most suitable for a given subset of the instance space. However, there is a lack of research based on a single algorithm and understanding how it works on the instance space in the hopes of being able to extrapolate where it excels in order to aid its failing aspects. 6 of 36
10 Previous Work Methods previously proposed for investigating between problem structure and heuristic eectiveness: Footprints in instance space [Smith-Miles and Lopes, 2010, Corne and Reynolds, 2011] or landmarking [Pfahringer and Bensusan, 2000] which give an indicator how an algorithm generalizes over the instance space. The focus has been on searching through a large set of algorithms and determine the most suitable for a given subset of the instance space. However, there is a lack of research based on a single algorithm and understanding how it works on the instance space in the hopes of being able to extrapolate where it excels in order to aid its failing aspects. 6 of 36
11 Introduction Job Shop Scheduling Ordinal Regression Generating Training Data Future Work 7 of 36
12 Job Shop Scheduling (1) JSSP A simple job shop scheduling problem is where n jobs are scheduled on a set of m machines, subject to constraints: each job must follow a predened machine order, that a machine can handle at most one job at a time. The objective is to schedule the jobs so as to minimize the maximum completion time, known as the makespan, µ. Job j has an indivisible operation time on machine a, p(j, a), which is assumed to be integral, where j {1,.., n} and a {1,.., m}. 8 of 36
13 Job Shop Scheduling (2) Job j has a specied processing order through the machines, it is a permutation vector, σ, of {1,.., m}, i.e. j can be processed on σ(j, a) only after it has completed on σ(j, a 1). Problem instance generation A total of l = 1, 500 random problem instances were generated by xing number of jobs n = 6 and machines m = 6 and: Sampling discrete processing times from the uniform distribution, p U(1, 200). Ingimundardottir and Runarsson [2011] used a uniform distribution U(50, 100) and U(1, 100) with robust results. Machine order σ is a random permutation of {1,..., m}. 9 of 36
14 Job Shop Scheduling (3) Dispatching rules (DR) for constructing JSSP Starts with an empty schedule and adds on one job at a time. When a machine is free the DR inspects the waiting/available jobs and selects the job with the highest priority. (see Panwalkar and Iskander [1977] for a survey of over 100 DR). Complete schedule consists of l = n m sequential dispatches. At each dispatch/step k features ϕ(k) for the temporal schedule are calculated. Performance of DR is compared with its optimal makespan, as a ratio: ϱ = µ DR µ opt. 10 of 36
15 Features for JSSP ϕ ϕ 1 ϕ 2 ϕ 3 ϕ 4 ϕ 5 ϕ 6 ϕ 7 ϕ 8 ϕ 9 ϕ 10 ϕ 11 ϕ 12 ϕ 13 ϕ 14 ϕ 15 ϕ 16 Feature description processing time for job on machine start-time end-time when machine is next free current makespan work remaining most work remaining slack time for this particular machine slack time for all machines slack time weighted w.r.t. number of operations already assigned time job had to wait size of slot created by assignment total processing time for job total processing time for all jobs mean processing time for all jobs range of processing times over all jobs Table: Feature space F for JSSP based on Ingimundardottir and Runarsson [2011] which successfully captured the essence of a JSSP data structure. 11 of 36
16 Job Shop Scheduling Example A schedule being built at step k = 17. The dashed boxes represent six dierent possible jobs that could be scheduled next using a DR. 12 of 36
17 Introduction Job Shop Scheduling Ordinal Regression Generating Training Data Future Work 13 of 36
18 Ordinal Regression (1) Preference learning problem Specied by a set of preference pairs: { S = {z o, +1)} l, k=1 {z s, 1)} l k=1 o O(k), s S (k)} Φ Y where the set of point/rank pairs are: Optimal decision: z o = ϕ (o) ϕ (s), ranked +1 Sub-optimal decision: z s = ϕ (s) ϕ (o), ranked 1 In Ingimundardottir and Runarsson [2011] the training set is created from known optimal sequences of dispatch. 14 of 36
19 Ordinal Regression (2) Logistic regression Mapping of points to ranks: {h( ) : Φ Y } where ϕ o ϕ s h(ϕ o ) > h(ϕ s ) The preference is dened by a linear function: h(ϕ) = d w i ϕ = w ϕ. i=1 Logistic regression learns the optimal parameters w. 15 of 36
20 Introduction Job Shop Scheduling Ordinal Regression Generating Training Data Future Work 16 of 36
21 Problem Structure & Heuristic Eciency Rice [1976] framework for algorithm selection problem Problem space or instance space P = {(p j, σ j )} l j=1 Feature space F, measurable properties of the instances in P (see table on slide 9) Algorithm space A = {h}, set of all algorithms under inspection, Performance space Y = {ϱ j } l j=1, the outcome for P using an algorithm from A Y : A F Y is the mapping for algorithm and feature space onto the performance space, namely the step-by-step scheduling. 17 of 36
22 Preliminary Experiments Example Performance w.r.t. ϱ for training and test data using dierent algorithms for six-job six-machine JSSP when p U(1, 200). 18 of 36
23 Generating JSSP training data Determine the order/sequence of jobs assigned, at the rst available time slot (to the left) When job is assigned, new state occurs and features are updated At each time step, a good/bad ordinal data pair is only created if nal makespan is dierent. Comparison w.r.t. optimal decisions The approach taken in Ingimundardottir and Runarsson [2011] was to compare schedules w.r.t. known optimal solutions. The approach taken now is to verify analytically, by xing the current temporal schedule as an initial state, whether it is possible to obtain an optimal makespan for that state. This takes into consideration when there are multiple optimal solutions to the same problem instance. 19 of 36
24 Generating JSSP training data Determine the order/sequence of jobs assigned, at the rst available time slot (to the left) When job is assigned, new state occurs and features are updated At each time step, a good/bad ordinal data pair is only created if nal makespan is dierent. Comparison w.r.t. optimal decisions The approach taken in Ingimundardottir and Runarsson [2011] was to compare schedules w.r.t. known optimal solutions. The approach taken now is to verify analytically, by xing the current temporal schedule as an initial state, whether it is possible to obtain an optimal makespan for that state. This takes into consideration when there are multiple optimal solutions to the same problem instance. 19 of 36
25 Job Shop Scheduling Game Tree Example Game Tree for JSSP for the rst two dispatches. 20 of 36
26 Job Shop Scheduling Game Tree Example In the top layer one can see all possible dispatches (dashed) for an empty schedule. 21 of 36
27 Job Shop Scheduling Game Tree Example In the middle layer one can see all possible dispatches given that one of the dispatches from the layer above has been executed (solid). 22 of 36
28 Job Shop Scheduling Game Tree Example In the bottom layer, task j = 3 on machine M 4 has been dispatched and all possible next dispatches from that time step. 23 of 36
29 Job Shop Scheduling Game Tree Example Game Tree for JSSP for the rst two dispatches. 24 of 36
30 Game Tree Main Characteristics for JSSP Root node denotes the initial (empty) schedule Leaf nodes denote the complete schedule Height of the tree is l = n m Worst case scenario a full n-ary tree Traversing from root to leaf gives the sequence of dispatches that yielded the resulting schedule Tree creation can be done recursively for all possible dispatches. Such an exhaustive search would yield at the most n l leaf nodes. Even for small dimensions of n and m, it is too computationally expensive to investigate them all. 25 of 36
31 Game Tree Main Characteristics for JSSP Root node denotes the initial (empty) schedule Leaf nodes denote the complete schedule Height of the tree is l = n m Worst case scenario a full n-ary tree Traversing from root to leaf gives the sequence of dispatches that yielded the resulting schedule Tree creation can be done recursively for all possible dispatches. Such an exhaustive search would yield at the most n l leaf nodes. Even for small dimensions of n and m, it is too computationally expensive to investigate them all. 25 of 36
32 Size of training set (1) A seperate DR for each dispatch iteration At each dispatch k a number of data pairs are created for each of the N problem instance created. Deliberately create a separate data set for each dispatch Resulting in l linear scheduling rules for solving a n m JSSP. Dening the size of the training set as l = Φ, gives the size of the preference set as S = 2l. If l is too large, than sampling needs to be done. 26 of 36
33 Size of training set (2) Sampling approach in Ingimundardottir and Runarsson [2011] The strategy was to follow some single optimal job j O (k), thus creating O (k) S (k) feature pairs at each dispatch k, resulting in a training size of: ( N l ) l = O (k) S (k) q=1 k=1 For the data distribution considered there, this simple sampling was sucient for a favourable outcome. However for a considerably harder data distribution this strategy did not work well (see slide 15). 27 of 36
34 Size of training set (3) Applying CMA-ES to minimize ϱ w.r.t. w directly gave signicantly more favourable result in predicting optimal vs. suboptimal dispatches. Nature of CMA-ES is to explore suboptimal routes until it converges to an optimal one. 28 of 36
35 Size of training set (4) CMA-ES inspired approach Obviously looking only into one optimal route isn't sucient information. Training set should also make the distinction between suboptimal and sub-suboptimal features, etc. e.g. inspect the Pareto ranking at each dispatch k, creating an even greater training set that needs to be sampled. Due to the nature of the sequence representation, the earlier stages of the dispatching are more or less equivalent (and thus irrelevant), hence it could be appropriate to follow some random path to begin with and then follow some policy until completion at step l. 29 of 36
36 Size of training set (5) Main aspects for generating training data What sort of rankings should be compared during each step? Which path(s) should be investigated? Only one, some or all paths? 30 of 36
37 Introduction Job Shop Scheduling Ordinal Regression Generating Training Data Future Work 31 of 36
38 Future Work This talk pointed out some aspects that need to be taken into consideration when creating training data, especially since Ingimundardottir and Runarsson [2012] illustrated the interaction of a specic algorithm with a given data structure and its properties. Feature selection is of paramount importance in order for algorithms to become successful, therefore one needs to give great thought to how features are selected. What kind of feature behaviour yield bad schedules? And can they be steered onto the path of more promising feature characteristics? In general, this sort of investigation can be used in better algorithm design which is more equipped to deal with varying data instances. Which could tailor to individual data instances, i.e. footprint-oriented algorithm. 32 of 36
39 Future Work This talk pointed out some aspects that need to be taken into consideration when creating training data, especially since Ingimundardottir and Runarsson [2012] illustrated the interaction of a specic algorithm with a given data structure and its properties. Feature selection is of paramount importance in order for algorithms to become successful, therefore one needs to give great thought to how features are selected. What kind of feature behaviour yield bad schedules? And can they be steered onto the path of more promising feature characteristics? In general, this sort of investigation can be used in better algorithm design which is more equipped to deal with varying data instances. Which could tailor to individual data instances, i.e. footprint-oriented algorithm. 32 of 36
40 Future Work This talk pointed out some aspects that need to be taken into consideration when creating training data, especially since Ingimundardottir and Runarsson [2012] illustrated the interaction of a specic algorithm with a given data structure and its properties. Feature selection is of paramount importance in order for algorithms to become successful, therefore one needs to give great thought to how features are selected. What kind of feature behaviour yield bad schedules? And can they be steered onto the path of more promising feature characteristics? In general, this sort of investigation can be used in better algorithm design which is more equipped to deal with varying data instances. Which could tailor to individual data instances, i.e. footprint-oriented algorithm. 32 of 36
41 Future Work This talk pointed out some aspects that need to be taken into consideration when creating training data, especially since Ingimundardottir and Runarsson [2012] illustrated the interaction of a specic algorithm with a given data structure and its properties. Feature selection is of paramount importance in order for algorithms to become successful, therefore one needs to give great thought to how features are selected. What kind of feature behaviour yield bad schedules? And can they be steered onto the path of more promising feature characteristics? In general, this sort of investigation can be used in better algorithm design which is more equipped to deal with varying data instances. Which could tailor to individual data instances, i.e. footprint-oriented algorithm. 32 of 36
42 Future Work This talk pointed out some aspects that need to be taken into consideration when creating training data, especially since Ingimundardottir and Runarsson [2012] illustrated the interaction of a specic algorithm with a given data structure and its properties. Feature selection is of paramount importance in order for algorithms to become successful, therefore one needs to give great thought to how features are selected. What kind of feature behaviour yield bad schedules? And can they be steered onto the path of more promising feature characteristics? In general, this sort of investigation can be used in better algorithm design which is more equipped to deal with varying data instances. Which could tailor to individual data instances, i.e. footprint-oriented algorithm. 32 of 36
43 Future Work This talk pointed out some aspects that need to be taken into consideration when creating training data, especially since Ingimundardottir and Runarsson [2012] illustrated the interaction of a specic algorithm with a given data structure and its properties. Feature selection is of paramount importance in order for algorithms to become successful, therefore one needs to give great thought to how features are selected. What kind of feature behaviour yield bad schedules? And can they be steered onto the path of more promising feature characteristics? In general, this sort of investigation can be used in better algorithm design which is more equipped to deal with varying data instances. Which could tailor to individual data instances, i.e. footprint-oriented algorithm. 32 of 36
44 Bibliography (1) D. Corne and A. Reynolds. Optimisation and generalisation: footprints in instance space. Parallel Problem Solving from Nature, PPSN XI, pages 2231, N. Hansen and A. Ostermeier. Completely Derandomized Self-Adaptation in Evolution Strategies. Evol. Comput., 9(2): , June H. Ingimundardottir and T. Runarsson. Supervised learning linear priority dispatch rules for job-shop scheduling. In C. Coello, editor, Learning and Intelligent Optimization, volume 6683 of Lecture Notes in Computer Science, pages Springer Berlin, jan of 36
45 Bibliography (2) H. Ingimundardottir and T. P. Runarsson. Determining the Characteristic of Dicult Job Shop Scheduling Instances for a Heuristic Solution Method. In M. Schoenauer, editor, Learning and Intelligent Optimization, 6th International Conference, LION 6, Paris, jan Springer Lecture Notes in Computer Science. S. Panwalkar and W. Iskander. A Survey of Scheduling Rules. Operations Research, 25(1):4561, Jan B. Pfahringer and H. Bensusan. Meta-learning by landmarking various learning algorithms. on Machine Learning, J. R. Rice. The algorithm selection problem. Advances in Computers, 15:65118, of 36
46 Bibliography (3) K. Smith-Miles and L. Lopes. Generalising Algorithm Performance in Instance Space: A timetabling case study. In C. A. Coello Coello, editor, Learning and Intelligent Optimization, 5th International Conference, LION 5, Lecture Notes in Computer Science, of 36
47 Thank you for your attention Questions? Helga Ingimundardóttir, 36 of 36
48 Thank you for your attention Questions? Helga Ingimundardóttir, 36 of 36
Job Shop Scheduling Problem (JSSP) Genetic Algorithms Critical Block and DG distance Neighbourhood Search
A JOB-SHOP SCHEDULING PROBLEM (JSSP) USING GENETIC ALGORITHM (GA) Mahanim Omar, Adam Baharum, Yahya Abu Hasan School of Mathematical Sciences, Universiti Sains Malaysia 11800 Penang, Malaysia Tel: (+)
More informationData Mining. Part 2. Data Understanding and Preparation. 2.4 Data Transformation. Spring Instructor: Dr. Masoud Yaghini. Data Transformation
Data Mining Part 2. Data Understanding and Preparation 2.4 Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Normalization Attribute Construction Aggregation Attribute Subset Selection Discretization
More informationIntroduction to Optimization
Introduction to Optimization Approximation Algorithms and Heuristics November 21, 2016 École Centrale Paris, Châtenay-Malabry, France Dimo Brockhoff Inria Saclay Ile-de-France 2 Exercise: The Knapsack
More informationGrid Scheduling Strategy using GA (GSSGA)
F Kurus Malai Selvi et al,int.j.computer Technology & Applications,Vol 3 (5), 8-86 ISSN:2229-693 Grid Scheduling Strategy using GA () Dr.D.I.George Amalarethinam Director-MCA & Associate Professor of Computer
More informationAn Experimental Investigation into the Rank Function of the Heterogeneous Earliest Finish Time Scheduling Algorithm
An Experimental Investigation into the Rank Function of the Heterogeneous Earliest Finish Time Scheduling Algorithm Henan Zhao and Rizos Sakellariou Department of Computer Science, University of Manchester,
More informationLecture #11: The Perceptron
Lecture #11: The Perceptron Mat Kallada STAT2450 - Introduction to Data Mining Outline for Today Welcome back! Assignment 3 The Perceptron Learning Method Perceptron Learning Rule Assignment 3 Will be
More informationA Fast Taboo Search Algorithm for the Job Shop Scheduling Problem
A Fast Taboo Search Algorithm for the Job Shop Scheduling Problem Uffe Gram Christensen (uffe@diku.dk) Anders Bjerg Pedersen (andersbp@diku.dk) Kim Vejlin (vejlin@diku.dk) October 21, 2008 Abstract: In
More informationPETRI NET BASED SCHEDULING APPROACH COMBINING DISPATCHING RULES AND LOCAL SEARCH
PETRI NET BASED SCHEDULING APPROACH COMBINING DISPATCHING RULES AND LOCAL SEARCH Gašper Mušič (a) (a) University of Ljubljana Faculty of Electrical Engineering Tržaška 25, Ljubljana, Slovenia (a) gasper.music@fe.uni-lj.si
More informationConstraint Satisfaction Problems (CSPs)
Constraint Satisfaction Problems (CSPs) CPSC 322 CSP 1 Poole & Mackworth textbook: Sections 4.0-4.2 Lecturer: Alan Mackworth September 28, 2012 Problem Type Static Sequential Constraint Satisfaction Logic
More informationIntroduction to Optimization
Introduction to Optimization Approximation Algorithms and Heuristics November 6, 2015 École Centrale Paris, Châtenay-Malabry, France Dimo Brockhoff INRIA Lille Nord Europe 2 Exercise: The Knapsack Problem
More informationComparison Based Sorting Algorithms. Algorithms and Data Structures: Lower Bounds for Sorting. Comparison Based Sorting Algorithms
Comparison Based Sorting Algorithms Algorithms and Data Structures: Lower Bounds for Sorting Definition 1 A sorting algorithm is comparison based if comparisons A[i] < A[j], A[i] A[j], A[i] = A[j], A[i]
More informationAlgorithms and Data Structures: Lower Bounds for Sorting. ADS: lect 7 slide 1
Algorithms and Data Structures: Lower Bounds for Sorting ADS: lect 7 slide 1 ADS: lect 7 slide 2 Comparison Based Sorting Algorithms Definition 1 A sorting algorithm is comparison based if comparisons
More informationData Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi
Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 20 Priority Queues Today we are going to look at the priority
More informationRichard E. Korf. June 27, Abstract. divide them into two subsets, so that the sum of the numbers in
A Complete Anytime Algorithm for Number Partitioning Richard E. Korf Computer Science Department University of California, Los Angeles Los Angeles, Ca. 90095 korf@cs.ucla.edu June 27, 1997 Abstract Given
More informationGen := 0. Create Initial Random Population. Termination Criterion Satisfied? Yes. Evaluate fitness of each individual in population.
An Experimental Comparison of Genetic Programming and Inductive Logic Programming on Learning Recursive List Functions Lappoon R. Tang Mary Elaine Cali Raymond J. Mooney Department of Computer Sciences
More informationDecision Trees Dr. G. Bharadwaja Kumar VIT Chennai
Decision Trees Decision Tree Decision Trees (DTs) are a nonparametric supervised learning method used for classification and regression. The goal is to create a model that predicts the value of a target
More informationGT HEURISTIC FOR SOLVING MULTI OBJECTIVE JOB SHOP SCHEDULING PROBLEMS
GT HEURISTIC FOR SOLVING MULTI OBJECTIVE JOB SHOP SCHEDULING PROBLEMS M. Chandrasekaran 1, D. Lakshmipathy 1 and P. Sriramya 2 1 Department of Mechanical Engineering, Vels University, Chennai, India 2
More informationcoordinates ([6]); it turns out that this language is also useful for ecient scanning of the relevant part of the backtracking tree. The idea of learn
Designing algorithms by sampling Mark K. Goldberg, 1 Department of Computer Science Rensselaer Polytechnic Institute Troy, NY 12180 U.S.A. goldberg@cs.rpi.edu David L. Hollinger Department of Computer
More informationFB(9,3) Figure 1(a). A 4-by-4 Benes network. Figure 1(b). An FB(4, 2) network. Figure 2. An FB(27, 3) network
Congestion-free Routing of Streaming Multimedia Content in BMIN-based Parallel Systems Harish Sethu Department of Electrical and Computer Engineering Drexel University Philadelphia, PA 19104, USA sethu@ece.drexel.edu
More informationNetwork. Department of Statistics. University of California, Berkeley. January, Abstract
Parallelizing CART Using a Workstation Network Phil Spector Leo Breiman Department of Statistics University of California, Berkeley January, 1995 Abstract The CART (Classication and Regression Trees) program,
More informationFoundations of Computing
Foundations of Computing Darmstadt University of Technology Dept. Computer Science Winter Term 2005 / 2006 Copyright c 2004 by Matthias Müller-Hannemann and Karsten Weihe All rights reserved http://www.algo.informatik.tu-darmstadt.de/
More informationA Hyper-heuristic based on Random Gradient, Greedy and Dominance
A Hyper-heuristic based on Random Gradient, Greedy and Dominance Ender Özcan and Ahmed Kheiri University of Nottingham, School of Computer Science Jubilee Campus, Wollaton Road, Nottingham, NG8 1BB, UK
More informationAlgorithms and Data Structures. Marcin Sydow. Introduction. QuickSort. Sorting 2. Partition. Limit. CountSort. RadixSort. Summary
Sorting 2 Topics covered by this lecture: Stability of Sorting Quick Sort Is it possible to sort faster than with Θ(n log(n)) complexity? Countsort Stability A sorting algorithm is stable if it preserves
More informationStructural Advantages for Ant Colony Optimisation Inherent in Permutation Scheduling Problems
Structural Advantages for Ant Colony Optimisation Inherent in Permutation Scheduling Problems James Montgomery No Institute Given Abstract. When using a constructive search algorithm, solutions to scheduling
More informationBinary Search Trees. Carlos Moreno uwaterloo.ca EIT https://ece.uwaterloo.ca/~cmoreno/ece250
Carlos Moreno cmoreno @ uwaterloo.ca EIT-4103 https://ece.uwaterloo.ca/~cmoreno/ece250 Standard reminder to set phones to silent/vibrate mode, please! Previously, on ECE-250... We discussed trees (the
More informationCS224W: Social and Information Network Analysis Project Report: Edge Detection in Review Networks
CS224W: Social and Information Network Analysis Project Report: Edge Detection in Review Networks Archana Sulebele, Usha Prabhu, William Yang (Group 29) Keywords: Link Prediction, Review Networks, Adamic/Adar,
More informationII (Sorting and) Order Statistics
II (Sorting and) Order Statistics Heapsort Quicksort Sorting in Linear Time Medians and Order Statistics 8 Sorting in Linear Time The sorting algorithms introduced thus far are comparison sorts Any comparison
More information16 Greedy Algorithms
16 Greedy Algorithms Optimization algorithms typically go through a sequence of steps, with a set of choices at each For many optimization problems, using dynamic programming to determine the best choices
More informationAutolink. A Tool for the Automatic and Semi-Automatic Test Generation
Autolink A Tool for the Automatic and Semi-Automatic Test Generation Michael Schmitt, Beat Koch, Jens Grabowski and Dieter Hogrefe University of Lubeck, Institute for Telematics, Ratzeburger Allee 160,
More informationInteger Programming ISE 418. Lecture 7. Dr. Ted Ralphs
Integer Programming ISE 418 Lecture 7 Dr. Ted Ralphs ISE 418 Lecture 7 1 Reading for This Lecture Nemhauser and Wolsey Sections II.3.1, II.3.6, II.4.1, II.4.2, II.5.4 Wolsey Chapter 7 CCZ Chapter 1 Constraint
More informationIntroduction to Stochastic Combinatorial Optimization
Introduction to Stochastic Combinatorial Optimization Stefanie Kosuch PostDok at TCSLab www.kosuch.eu/stefanie/ Guest Lecture at the CUGS PhD course Heuristic Algorithms for Combinatorial Optimization
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition,
More informationB-Trees and External Memory
Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015 and External Memory 1 1 (2, 4) Trees: Generalization of BSTs Each internal node
More informationIn a two-way contingency table, the null hypothesis of quasi-independence. (QI) usually arises for two main reasons: 1) some cells involve structural
Simulate and Reject Monte Carlo Exact Conditional Tests for Quasi-independence Peter W. F. Smith and John W. McDonald Department of Social Statistics, University of Southampton, Southampton, SO17 1BJ,
More informationAn On-line Variable Length Binary. Institute for Systems Research and. Institute for Advanced Computer Studies. University of Maryland
An On-line Variable Length inary Encoding Tinku Acharya Joseph F. Ja Ja Institute for Systems Research and Institute for Advanced Computer Studies University of Maryland College Park, MD 242 facharya,
More informationSkip Lists: Done Right. What is a skip list?
17 Sep 2016 10 min. (2035 words) Skip Lists: Done Right What is a skip list? In short, skip lists are a linked-list-like structure which allows for fast search. It consists of a base list holding the elements,
More informationImplementing Scheduling Algorithms. Real-Time and Embedded Systems (M) Lecture 9
Implementing Scheduling Algorithms Real-Time and Embedded Systems (M) Lecture 9 Lecture Outline Implementing real time systems Key concepts and constraints System architectures: Cyclic executive Microkernel
More informationPattern Recognition. Kjell Elenius. Speech, Music and Hearing KTH. March 29, 2007 Speech recognition
Pattern Recognition Kjell Elenius Speech, Music and Hearing KTH March 29, 2007 Speech recognition 2007 1 Ch 4. Pattern Recognition 1(3) Bayes Decision Theory Minimum-Error-Rate Decision Rules Discriminant
More informationData Mining. 3.2 Decision Tree Classifier. Fall Instructor: Dr. Masoud Yaghini. Chapter 5: Decision Tree Classifier
Data Mining 3.2 Decision Tree Classifier Fall 2008 Instructor: Dr. Masoud Yaghini Outline Introduction Basic Algorithm for Decision Tree Induction Attribute Selection Measures Information Gain Gain Ratio
More informationB-Trees and External Memory
Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015 B-Trees and External Memory 1 (2, 4) Trees: Generalization of BSTs Each internal
More informationCourse Introduction. Scheduling: Terminology and Classification
Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 1 Course Introduction. Scheduling: Terminology and Classification 1. Course Introduction 2. Scheduling Problem Classification Marco Chiarandini
More informationDeclarative Machine Learning for Energy Efficient Compiler Optimisations
Declarative Machine Learning for Energy Efficient Compiler Optimisations 1 Year PhD Review Craig Blackmore Supervised by Dr. Oliver Ray and Dr. Kerstin Eder 28 th October 2015 Introduction Motivation:
More informationIntroduction to Evolutionary Computation
Introduction to Evolutionary Computation The Brought to you by (insert your name) The EvoNet Training Committee Some of the Slides for this lecture were taken from the Found at: www.cs.uh.edu/~ceick/ai/ec.ppt
More informationA4B36ZUI - Introduction ARTIFICIAL INTELLIGENCE
A4B36ZUI - Introduction to ARTIFICIAL INTELLIGENCE https://cw.fel.cvut.cz/wiki/courses/a4b33zui/start Michal Pechoucek, Branislav Bosansky, Jiri Klema & Olga Stepankova Department of Computer Science Czech
More informationCS 6783 (Applied Algorithms) Lecture 5
CS 6783 (Applied Algorithms) Lecture 5 Antonina Kolokolova January 19, 2012 1 Minimum Spanning Trees An undirected graph G is a pair (V, E); V is a set (of vertices or nodes); E is a set of (undirected)
More informationConstraint Satisfaction Problems Chapter 3, Section 7 and Chapter 4, Section 4.4 AIMA Slides cstuart Russell and Peter Norvig, 1998 Chapter 3, Section
Constraint Satisfaction Problems Chapter 3, Section 7 and Chapter 4, Section 4.4 AIMA Slides cstuart Russell and Peter Norvig, 1998 Chapter 3, Section 7 and Chapter 4, Section 4.4 1 Outline } CSP examples
More informationFITTING PIECEWISE LINEAR FUNCTIONS USING PARTICLE SWARM OPTIMIZATION
Suranaree J. Sci. Technol. Vol. 19 No. 4; October - December 2012 259 FITTING PIECEWISE LINEAR FUNCTIONS USING PARTICLE SWARM OPTIMIZATION Pavee Siriruk * Received: February 28, 2013; Revised: March 12,
More informationMIT 801. Machine Learning I. [Presented by Anna Bosman] 16 February 2018
MIT 801 [Presented by Anna Bosman] 16 February 2018 Machine Learning What is machine learning? Artificial Intelligence? Yes as we know it. What is intelligence? The ability to acquire and apply knowledge
More informationApproximation Basics
Milestones, Concepts, and Examples Xiaofeng Gao Department of Computer Science and Engineering Shanghai Jiao Tong University, P.R.China Spring 2015 Spring, 2015 Xiaofeng Gao 1/53 Outline History NP Optimization
More informationGenetic Algorithms for EQ-algebras Automatic Generation
Genetic Algorithms for EQ-algebras Automatic Generation Hashim Habiballa, Vilém Novák, Martin Dyba Centre of Excellence IT4Innovations - Division University of Ostrava Institute for Research and Applications
More informationModeling with Uncertainty Interval Computations Using Fuzzy Sets
Modeling with Uncertainty Interval Computations Using Fuzzy Sets J. Honda, R. Tankelevich Department of Mathematical and Computer Sciences, Colorado School of Mines, Golden, CO, U.S.A. Abstract A new method
More informationApproximate Evolution Strategy using Stochastic Ranking
Approximate Evolution Strategy using Stochastic Ranking Thomas Philip Runarsson, Member, IEEE Abstract The paper describes the approximation of an evolution strategy using stochastic ranking for nonlinear
More informationAn Agent-Based Adaptation of Friendship Games: Observations on Network Topologies
An Agent-Based Adaptation of Friendship Games: Observations on Network Topologies David S. Dixon University of New Mexico, Albuquerque NM 87131, USA Abstract. A friendship game in game theory is a network
More informationLECTURE 11 TREE TRAVERSALS
DATA STRUCTURES AND ALGORITHMS LECTURE 11 TREE TRAVERSALS IMRAN IHSAN ASSISTANT PROFESSOR AIR UNIVERSITY, ISLAMABAD BACKGROUND All the objects stored in an array or linked list can be accessed sequentially
More informationSearching. Algorithms and Data Structures. Marcin Sydow. Divide and Conquer. Searching. Positional Statistics. Summary
s s Topics covered by this lecture: s Rule The second smallest element (The - idea) Hoare's (idea) s One of the most important methods for design. Divide the problem into a couple of smaller sub-problems
More informationOperations on Heap Tree The major operations required to be performed on a heap tree are Insertion, Deletion, and Merging.
Priority Queue, Heap and Heap Sort In this time, we will study Priority queue, heap and heap sort. Heap is a data structure, which permits one to insert elements into a set and also to find the largest
More informationPreferences, Invariances, Optimization
Preferences, Invariances, Optimization Ilya Loshchilov, Marc Schoenauer, Michèle Sebag TAO, CNRS INRIA Université Paris-Sud Dagstuhl, March 2014 Position One goal of Machine learning: Preference learning:
More informationTree-Structured Indexes
Tree-Structured Indexes Yanlei Diao UMass Amherst Slides Courtesy of R. Ramakrishnan and J. Gehrke Access Methods v File of records: Abstraction of disk storage for query processing (1) Sequential scan;
More informationExploring Econometric Model Selection Using Sensitivity Analysis
Exploring Econometric Model Selection Using Sensitivity Analysis William Becker Paolo Paruolo Andrea Saltelli Nice, 2 nd July 2013 Outline What is the problem we are addressing? Past approaches Hoover
More informationThe problem of minimizing the elimination tree height for general graphs is N P-hard. However, there exist classes of graphs for which the problem can
A Simple Cubic Algorithm for Computing Minimum Height Elimination Trees for Interval Graphs Bengt Aspvall, Pinar Heggernes, Jan Arne Telle Department of Informatics, University of Bergen N{5020 Bergen,
More informationOn the other hand, the main disadvantage of the amortized approach is that it cannot be applied in real-time programs, where the worst-case bound on t
Randomized Meldable Priority Queues Anna Gambin and Adam Malinowski Instytut Informatyki, Uniwersytet Warszawski, Banacha 2, Warszawa 02-097, Poland, faniag,amalg@mimuw.edu.pl Abstract. We present a practical
More informationResource-Constrained Project Scheduling
DM204 Spring 2011 Scheduling, Timetabling and Routing Lecture 6 Resource-Constrained Project Scheduling Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline
More informationAdvanced Database Systems
Lecture IV Query Processing Kyumars Sheykh Esmaili Basic Steps in Query Processing 2 Query Optimization Many equivalent execution plans Choosing the best one Based on Heuristics, Cost Will be discussed
More informationClassification. Vladimir Curic. Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University
Classification Vladimir Curic Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University Outline An overview on classification Basics of classification How to choose appropriate
More informationANALYSIS COMPUTER SCIENCE Discovery Science, Volume 9, Number 20, April 3, Comparative Study of Classification Algorithms Using Data Mining
ANALYSIS COMPUTER SCIENCE Discovery Science, Volume 9, Number 20, April 3, 2014 ISSN 2278 5485 EISSN 2278 5477 discovery Science Comparative Study of Classification Algorithms Using Data Mining Akhila
More informationChapter 3: Solving Problems by Searching
Chapter 3: Solving Problems by Searching Prepared by: Dr. Ziad Kobti 1 Problem-Solving Agent Reflex agent -> base its actions on a direct mapping from states to actions. Cannot operate well in large environments
More informationA Population-Based Learning Algorithm Which Learns Both. Architectures and Weights of Neural Networks y. Yong Liu and Xin Yao
A Population-Based Learning Algorithm Which Learns Both Architectures and Weights of Neural Networks y Yong Liu and Xin Yao Computational Intelligence Group Department of Computer Science University College,
More informationInternational Conference on Modeling and SimulationCoimbatore, August 2007
International Conference on Modeling and SimulationCoimbatore, 27-29 August 2007 OPTIMIZATION OF FLOWSHOP SCHEDULING WITH FUZZY DUE DATES USING A HYBRID EVOLUTIONARY ALGORITHM M.S.N.Kiran Kumara, B.B.Biswalb,
More informationJOB SHOP SCHEDULING WITH UNIT LENGTH TASKS
JOB SHOP SCHEDULING WITH UNIT LENGTH TASKS MEIKE AKVELD AND RAPHAEL BERNHARD Abstract. In this paper, we consider a class of scheduling problems that are among the fundamental optimization problems in
More informationTelecommunication and Informatics University of North Carolina, Technical University of Gdansk Charlotte, NC 28223, USA
A Decoder-based Evolutionary Algorithm for Constrained Parameter Optimization Problems S lawomir Kozie l 1 and Zbigniew Michalewicz 2 1 Department of Electronics, 2 Department of Computer Science, Telecommunication
More informationAlgorithms for Data Structures: Uninformed Search. Phillip Smith 19/11/2013
lgorithms for Data Structures: Uninformed Search Phillip Smith 19/11/2013 Representations for Reasoning We know (at least) two models of a world: model of the static states of the world model of the effects
More informationSOLVED m- MACHINES, n- JOB FLOW SHOP SEQUENCING PROBLEM USING A HEURISTIC ALGORITHM
ISSN 2349-9368 (Online); EAPJMER/issn. 2349-9368/26; Volume 4 Issue 2 (28) www.elkjournals.com SOLVED m- MACHINES, n- JOB FLOW SHOP SEQUENCING PROBLEM USING A HEURISTIC ALGORITHM ANUJ GANGWAR (M.Tech Scholor)
More informationDistributed Systems Programming (F21DS1) Formal Verification
Distributed Systems Programming (F21DS1) Formal Verification Andrew Ireland Department of Computer Science School of Mathematical and Computer Sciences Heriot-Watt University Edinburgh Overview Focus on
More informationComputational Intelligence
Computational Intelligence Winter Term 2016/17 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund Slides prepared by Dr. Nicola Beume (2012) Multiobjective
More informationLecture 24: Image Retrieval: Part II. Visual Computing Systems CMU , Fall 2013
Lecture 24: Image Retrieval: Part II Visual Computing Systems Review: K-D tree Spatial partitioning hierarchy K = dimensionality of space (below: K = 2) 3 2 1 3 3 4 2 Counts of points in leaf nodes Nearest
More informationMachine Learning based Compilation
Machine Learning based Compilation Michael O Boyle March, 2014 1 Overview Machine learning - what is it and why is it useful? Predictive modelling OSE Scheduling and low level optimisation Loop unrolling
More informationGrid Scheduler. Grid Information Service. Local Resource Manager L l Resource Manager. Single CPU (Time Shared Allocation) (Space Shared Allocation)
Scheduling on the Grid 1 2 Grid Scheduling Architecture User Application Grid Scheduler Grid Information Service Local Resource Manager Local Resource Manager Local L l Resource Manager 2100 2100 2100
More informationSiemens TREC-4 Report: Further Experiments with Database. Merging. Ellen M. Voorhees. Siemens Corporate Research, Inc.
Siemens TREC-4 Report: Further Experiments with Database Merging Ellen M. Voorhees Siemens Corporate Research, Inc. Princeton, NJ ellen@scr.siemens.com Abstract A database merging technique is a strategy
More informationExtra readings beyond the lecture slides are important:
1 Notes To preview next lecture: Check the lecture notes, if slides are not available: http://web.cse.ohio-state.edu/~sun.397/courses/au2017/cse5243-new.html Check UIUC course on the same topic. All their
More informationMapping Heuristics in Heterogeneous Computing
Mapping Heuristics in Heterogeneous Computing Alexandru Samachisa Dmitriy Bekker Multiple Processor Systems (EECC756) May 18, 2006 Dr. Shaaban Overview Introduction Mapping overview Homogenous computing
More informationA Generalized Permutation Approach to. Department of Economics, University of Bremen, Germany
A Generalized Permutation Approach to Job Shop Scheduling with Genetic Algorithms? Christian Bierwirth Department of Economics, University of Bremen, Germany Abstract. In order to sequence the tasks of
More informationCredit card Fraud Detection using Predictive Modeling: a Review
February 207 IJIRT Volume 3 Issue 9 ISSN: 2396002 Credit card Fraud Detection using Predictive Modeling: a Review Varre.Perantalu, K. BhargavKiran 2 PG Scholar, CSE, Vishnu Institute of Technology, Bhimavaram,
More informationLecture outline. Decision-tree classification
Lecture outline Decision-tree classification Decision Trees Decision tree A flow-chart-like tree structure Internal node denotes a test on an attribute Branch represents an outcome of the test Leaf nodes
More informationComparison of Priority Queue algorithms for Hierarchical Scheduling Framework. Mikael Åsberg
Comparison of Priority Queue algorithms for Hierarchical Scheduling Framework Mikael Åsberg mag04002@student.mdh.se August 28, 2008 2 The Time Event Queue (TEQ) is a datastructure that is part of the implementation
More informationScalability of a parallel implementation of ant colony optimization
SEMINAR PAPER at the University of Applied Sciences Technikum Wien Game Engineering and Simulation Scalability of a parallel implementation of ant colony optimization by Emanuel Plochberger,BSc 3481, Fels
More informationOutline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search:
Outline for today s lecture Informed Search II Informed Search Optimal informed search: A* (AIMA 3.5.2) Creating good heuristic functions Hill Climbing 2 Review: Greedy best-first search: f(n): estimated
More informationUniversity of Maryland. fzzj, basili, Empirical studies (Desurvire, 1994) (Jeries, Miller, USABILITY INSPECTION
AN EMPIRICAL STUDY OF PERSPECTIVE-BASED USABILITY INSPECTION Zhijun Zhang, Victor Basili, and Ben Shneiderman Department of Computer Science University of Maryland College Park, MD 20742, USA fzzj, basili,
More informationProceedings of the 6th Int. Conf. on Computer Analysis of Images and Patterns. Direct Obstacle Detection and Motion. from Spatio-Temporal Derivatives
Proceedings of the 6th Int. Conf. on Computer Analysis of Images and Patterns CAIP'95, pp. 874-879, Prague, Czech Republic, Sep 1995 Direct Obstacle Detection and Motion from Spatio-Temporal Derivatives
More informationsize, runs an existing induction algorithm on the rst subset to obtain a rst set of rules, and then processes each of the remaining data subsets at a
Multi-Layer Incremental Induction Xindong Wu and William H.W. Lo School of Computer Science and Software Ebgineering Monash University 900 Dandenong Road Melbourne, VIC 3145, Australia Email: xindong@computer.org
More informationClustering. (Part 2)
Clustering (Part 2) 1 k-means clustering 2 General Observations on k-means clustering In essence, k-means clustering aims at minimizing cluster variance. It is typically used in Euclidean spaces and works
More informationBandit-based Search for Constraint Programming
Bandit-based Search for Constraint Programming Manuel Loth 1,2,4, Michèle Sebag 2,4,1, Youssef Hamadi 3,1, Marc Schoenauer 4,2,1, Christian Schulte 5 1 Microsoft-INRIA joint centre 2 LRI, Univ. Paris-Sud
More informationMultidimensional Divide and Conquer 2 Spatial Joins
Multidimensional Divide and Conque Spatial Joins Yufei Tao ITEE University of Queensland Today we will continue our discussion of the divide and conquer method in computational geometry. This lecture will
More information5. Computational Geometry, Benchmarks and Algorithms for Rectangular and Irregular Packing. 6. Meta-heuristic Algorithms and Rectangular Packing
1. Introduction 2. Cutting and Packing Problems 3. Optimisation Techniques 4. Automated Packing Techniques 5. Computational Geometry, Benchmarks and Algorithms for Rectangular and Irregular Packing 6.
More information336 THE STATISTICAL SOFTWARE NEWSLETTER where z is one (randomly taken) pole of the simplex S, g the centroid of the remaining d poles of the simplex
THE STATISTICAL SOFTWARE NEWSLETTER 335 Simple Evolutionary Heuristics for Global Optimization Josef Tvrdk and Ivan Krivy University of Ostrava, Brafova 7, 701 03 Ostrava, Czech Republic Phone: +420.69.6160
More information1 Introduction Data format converters (DFCs) are used to permute the data from one format to another in signal processing and image processing applica
A New Register Allocation Scheme for Low Power Data Format Converters Kala Srivatsan, Chaitali Chakrabarti Lori E. Lucke Department of Electrical Engineering Minnetronix, Inc. Arizona State University
More informationSupervised Learning: K-Nearest Neighbors and Decision Trees
Supervised Learning: K-Nearest Neighbors and Decision Trees Piyush Rai CS5350/6350: Machine Learning August 25, 2011 (CS5350/6350) K-NN and DT August 25, 2011 1 / 20 Supervised Learning Given training
More informationAPPLICATION OF THE FUZZY MIN-MAX NEURAL NETWORK CLASSIFIER TO PROBLEMS WITH CONTINUOUS AND DISCRETE ATTRIBUTES
APPLICATION OF THE FUZZY MIN-MAX NEURAL NETWORK CLASSIFIER TO PROBLEMS WITH CONTINUOUS AND DISCRETE ATTRIBUTES A. Likas, K. Blekas and A. Stafylopatis National Technical University of Athens Department
More informationPriority rule-based reconstruction for total weighted tardiness minimization of job-shop scheduling problem
Bulletin of the JSME Journal of Advanced Mechanical Design, Systems, and Manufacturing Vol.8, No.5, 2014 Priority rule-based reconstruction for total weighted tardiness minimization of job-shop scheduling
More informationGenetic Model Optimization for Hausdorff Distance-Based Face Localization
c In Proc. International ECCV 2002 Workshop on Biometric Authentication, Springer, Lecture Notes in Computer Science, LNCS-2359, pp. 103 111, Copenhagen, Denmark, June 2002. Genetic Model Optimization
More informationBig Data Methods. Chapter 5: Machine learning. Big Data Methods, Chapter 5, Slide 1
Big Data Methods Chapter 5: Machine learning Big Data Methods, Chapter 5, Slide 1 5.1 Introduction to machine learning What is machine learning? Concerned with the study and development of algorithms that
More information