Balancing the flow. Part 3. Two-Machine Flowshop SCHEDULING SCHEDULING MODELS. Two-Machine Flowshop Two-Machine Job Shop Extensions

Size: px
Start display at page:

Download "Balancing the flow. Part 3. Two-Machine Flowshop SCHEDULING SCHEDULING MODELS. Two-Machine Flowshop Two-Machine Job Shop Extensions"

Transcription

1 PRODUCTION PLANNING AND SCHEDULING Part 3 Andrew Kusiak 3 Seamans Center Iowa City, Iowa Tel: Fax: andrew-kusiak@uiowa.edu SCHEDULING Assignment of operations to s in time PS RP Balancing Scheduling SCHEDULING ODELS Two-achine Flowshop Two-achine Job Shop Extensions Two-achine Flowshop Flow of parts odified Johnson s Algorithm inimization of ax Flow (in Fax) What does inimization of the ax Flow (in Fax) mean Balancing the flow Two-achine Flowshop odel odified Johnson s Algorithm Step. Set k =, l = n. Step. For each part, store the shortest processing time and the corresponding number. Step 3. Sort the resulting list, including the triplets "part number/time/ number" in increasing value of processing time. Step 4. For each entry in the sorted list: IF number is, then (i) set the corresponding part number in position k, (ii) set k = k +. ELSE (i) set the corresponding part number in position l, (ii) set l = l -. END-IF. Step 5. Stop if the entire list of parts has been exhausted.

2 Example: Two-achine Flowshop odel Schedule 7 parts Two operations per part, each performed on a different Part Number Processing t ij of Part i on achine j i j= j = in For each part calculate in {ti, ti} in processing time calculated Part Number min {t i, t i } achine Number Triplets ordered on the processing time (4,, ) (5,, ) (,, ) (3, 3, ) (, 3, ) (6, 4, ) (7, 6, ) (4,, ) (5,, ) (,, ) (3, 3, ) (, 3, ) (6, 4, ) (7, 6, ) Optimal Schedule: (4,, 6, 7,, 3, 5) achine achine Think of incorporating in Johnson s Algorithm: Due dates Precedence Constraints Two-achine Job Shop Use of Johnson s algorithm by dividing parts into four types Two-achine Job Shop Type A: parts to be processed only on. D A B C Type B: parts to be processed only on. Type C: parts to be processed on both s in the order,. Type D: parts to be processed on both s in the order,.

3 Step. Step. Step 3. Step 4. Step 5. Schedule the parts of type A in any order to obtain the sequence SA. Schedule the parts of type B in any order to obtain the sequence SB. Scheduling the parts of type C according to Johnson s algorithm produces the sequence SC. Scheduling the parts of type D according to Johnson s algorithm produces the sequence SD (Note that is the first, whereas is the second one). Construct an optimal schedule as follows: The Optimal Schedule (SC, SA, SD ) (SD, SB, SC ) Example: Two-achine Job Shop First Second Processing Order and First achine Second achine Type A parts: Parts 7 and 8 are to be processed on alone. An arbitrary order SA = (7, 8) is selected. Type B parts: Parts and 0 require alone. Select an arbitrary order SB = (, 0). Type A: parts to be processed only on. Type B: parts to be processed only on. Processing Order and First achine Second achine Type C parts: Parts,, 3, and 4 require first and then. SC =(4, 3,, ) Type C Parts Number achine achine in {ti, ti} Processing Order and First achine Second achine Type D parts: Parts 5 and 6 require first and then. SD = (5, 6) Type D Parts Number achine achine in {ti, ti} 5 6 st() 6 5 st() 6 5 st () 5 6 st () Optimal Schedule Partial Schedules Optimal Schedule : (SC, SA, SD) : (SD, SB, SC) SA = (7, 8) SB = (, 0) SC = (4, 3,, ) SD = (5, 6) : (4, 3,,, 7, 8, 5, 6) : (5, 6,, 0,4, 3,, )

4 Optimal Schedule : (4, 3,,, 7, 8, 5, 6) : (5, 6,,0,4, 3,, ) Gantt Chart of the Optimal Schedule in F max = 46 for the optimal schedule What is the main difference between Two flow shop schedule and Two job shop schedule both solved with Johnson s algorithm Answer: The Sequence of Operations Two flow shop schedule Two job shop schedule SAE on the two s DIFFERENT on each Special Case of Three-achine Flow Shop odel n n Either in {ti} ax {ti} i= i= n n or in {ti3} ax{ti} i= i= ai = ti + ti bi = ti + ti3 Example: Special Case of Three-achine Flow Shop odel Scheduling Data Actual Processing s t i t i t i3 Part Constructed Processing s Actual Processing s a i b i First achine Second achine ti ti ti3 Part in {ti } = 3; ax {ti} = 3; and in {ti3} = i= i= i= The first condition is met 6 6 in {ti} = 3 3 = ax {ti } i = i=

5 Number achine achine in {ti, ti} (, 4, 5,, 3, 6) Gantt Chart of the Optimal Solution Optimal Solution (, 4, 5,, 3, 6)

DM and Cluster Identification Algorithm

DM and Cluster Identification Algorithm DM and Cluster Identification Algorithm Andrew Kusiak, Professor oratory Seamans Center Iowa City, Iowa - Tel: 9-9 Fax: 9- E-mail: andrew-kusiak@uiowa.edu Homepage: http://www.icaen.uiowa.edu/~ankusiak

More information

Outline. Graph Representation of Dependencies. Dependency (Design) Structure Matrix

Outline. Graph Representation of Dependencies. Dependency (Design) Structure Matrix Dependency (Design) Structure Matrix Outline Andrew Kusiak Seamans Center Iowa City, Iowa - Tel: - ax: - andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak DSM definition DSM and innovation Topological

More information

Evolutionary Computation: Solution Representation. Set Covering Problem. Set Covering Problem. Set Covering Problem 2/28/2008.

Evolutionary Computation: Solution Representation. Set Covering Problem. Set Covering Problem. Set Covering Problem 2/28/2008. Evolutionary Computation: Solution Representation Andrew Kusiak 9 Seamans Center Iowa City, Iowa - Tel: 9-9 Fax: 9-669 andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak Set Covering Problem

More information

Data Mining and Evolutionary Computation Algorithms for Process Modeling and Optimization

Data Mining and Evolutionary Computation Algorithms for Process Modeling and Optimization Data Mining and Evolutionary Computation Algorithms for Process Modeling and Optimization Zhe Song, Andrew Kusiak 2139 Seamans Center Iowa City, Iowa 52242-1527 andrew-kusiak@uiowa.edu Tel: 319-335-5934

More information

Cluster Analysis in Data Mining

Cluster Analysis in Data Mining Cluster Analysis in Data Mining Part II Andrew Kusiak 9 Seamans Center Iowa City, IA - 7 andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak Tel. 9-9 Cluster Analysis Decomposition Aggregation

More information

Ruled Based Approach for Scheduling Flow-shop and Job-shop Problems

Ruled Based Approach for Scheduling Flow-shop and Job-shop Problems Ruled Based Approach for Scheduling Flow-shop and Job-shop Problems Mohammad Komaki, Shaya Sheikh, Behnam Malakooti Case Western Reserve University Systems Engineering Email: komakighorban@gmail.com Abstract

More information

The University of Iowa Intelligent Systems Laboratory The University of Iowa Intelligent Systems Laboratory

The University of Iowa Intelligent Systems Laboratory The University of Iowa Intelligent Systems Laboratory Warehousing Outline Andrew Kusiak 2139 Seamans Center Iowa City, IA 52242-1527 andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak Tel. 319-335 5934 Introduction warehousing concepts Relationship

More information

Neural Networks. Neural Network. Neural Network. Neural Network 2/21/2008. Andrew Kusiak. Intelligent Systems Laboratory Seamans Center

Neural Networks. Neural Network. Neural Network. Neural Network 2/21/2008. Andrew Kusiak. Intelligent Systems Laboratory Seamans Center Neural Networks Neural Network Input Andrew Kusiak Intelligent t Systems Laboratory 2139 Seamans Center Iowa City, IA 52242-1527 andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak Tel. 319-335

More information

Contents PROCESS DECOMPOSITION INTRODUCTION. Decomposition Approaches Desirable Properties

Contents PROCESS DECOMPOSITION INTRODUCTION. Decomposition Approaches Desirable Properties PRCESS DECMPSTN Contents Andrew Kusiak ntelligent Systems Laboratory Seamans Center The University of owa owa City, owa - Tel: - Fax: - andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak NTRDUCTN

More information

3/2/2010. SCADA Defined. What They re Generally Best At (Although All Systems Vary) Three Levels of SCADA Systems

3/2/2010. SCADA Defined. What They re Generally Best At (Although All Systems Vary) Three Levels of SCADA Systems SCADA Data Mining and IT Needs to Improve Plant Operation and Downtime AWEA Wind Power Asset Management Workshop Adopted for Wind Power Management class http://www.icaen.uiowa.edu/~ie_155/ by Andrew Kusiak

More information

Data Set. What is Data Mining? Data Mining (Big Data Analytics) Illustrative Applications. What is Knowledge Discovery?

Data Set. What is Data Mining? Data Mining (Big Data Analytics) Illustrative Applications. What is Knowledge Discovery? Data Mining (Big Data Analytics) Andrew Kusiak Intelligent Systems Laboratory 2139 Seamans Center The University of Iowa Iowa City, IA 52242-1527 andrew-kusiak@uiowa.edu http://user.engineering.uiowa.edu/~ankusiak/

More information

Trees, Trees and More Trees

Trees, Trees and More Trees Trees, Trees and More Trees August 9, 01 Andrew B. Kahng abk@cs.ucsd.edu http://vlsicad.ucsd.edu/~abk/ How You ll See Trees in CS Trees as mathematical objects Trees as data structures Trees as tools for

More information

Fast Sorting and Selection. A Lower Bound for Worst Case

Fast Sorting and Selection. A Lower Bound for Worst Case Lists and Iterators 0//06 Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 0 Fast Sorting and Selection USGS NEIC. Public domain government

More information

Open Access A Sequence List Algorithm For The Job Shop Scheduling Problem

Open Access A Sequence List Algorithm For The Job Shop Scheduling Problem Send Orders of Reprints at reprints@benthamscience.net The Open Electrical & Electronic Engineering Journal, 2013, 7, (Supple 1: M6) 55-61 55 Open Access A Sequence List Algorithm For The Job Shop Scheduling

More information

Wind Plant Systems Grid Integration Plant and Turbine Controls SCADA

Wind Plant Systems Grid Integration Plant and Turbine Controls SCADA GE Energy Wind Plant Systems Grid Integration Plant and Turbine Controls SCADA Mahesh Morjaria Manager, Wind Plant Systems Platform Adopted for Wind Power Management class http://www.icaen.uiowa.edu/ edu/~ie_155/

More information

Improving Residential Address. August 28, 2010

Improving Residential Address. August 28, 2010 Improving Residential Address August 28, 2010 Improving Data Collection The State Office of AIDS is now working with providers to improve the quality of data that is collected and entered into ARIES. Today

More information

d) Consider the single item inventory model. D = 20000/year, C0 = Rs 1000/order, C = Rs 200/item, i = 20%, TC at EOQ is a) 1000 b) 15000

d) Consider the single item inventory model. D = 20000/year, C0 = Rs 1000/order, C = Rs 200/item, i = 20%, TC at EOQ is a) 1000 b) 15000 Assignment 12 1. A model of the form Y = a + bt was fit with data for four periods. The two equations are 90 = 4a + 10b and 240 = 10a + 30b. The forecast for the fifth period is a) 120 b) 30 c) 160 d)

More information

Network Analysis. Links, nodes, trees, graphs, paths and cycles what does it all mean? Minimal spanning tree shortest route maximum flow

Network Analysis. Links, nodes, trees, graphs, paths and cycles what does it all mean? Minimal spanning tree shortest route maximum flow Network Analysis Minimal spanning tree shortest route maximum flow Links, nodes, trees, graphs, paths and cycles what does it all mean? Real OR in action! 1 Network Terminology Graph - set of points (nodes)

More information

Sorting Goodrich, Tamassia Sorting 1

Sorting Goodrich, Tamassia Sorting 1 Sorting Put array A of n numbers in increasing order. A core algorithm with many applications. Simple algorithms are O(n 2 ). Optimal algorithms are O(n log n). We will see O(n) for restricted input in

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpenCourseWare http://ocw.mit.edu 6.854J / 18.415J Advanced Algorithms Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.415/6.854 Advanced

More information

Metaheuristic Algorithms for Hybrid Flow-Shop Scheduling Problem with Multiprocessor Tasks

Metaheuristic Algorithms for Hybrid Flow-Shop Scheduling Problem with Multiprocessor Tasks MIC 2001-4th Metaheuristics International Conference 477 Metaheuristic Algorithms for Hybrid Flow-Shop Scheduling Problem with Multiprocessor Tasks Ceyda Oğuz Adam Janiak Maciej Lichtenstein Department

More information

Algorithmic Paradigms

Algorithmic Paradigms Algorithmic Paradigms Greedy. Build up a solution incrementally, myopically optimizing some local criterion. Divide-and-conquer. Break up a problem into two or more sub -problems, solve each sub-problem

More information

Properties of Processes

Properties of Processes CPU Scheduling Properties of Processes CPU I/O Burst Cycle Process execution consists of a cycle of CPU execution and I/O wait. CPU burst distribution: CPU Scheduler Selects from among the processes that

More information

Homework Assignment #5

Homework Assignment #5 Homework Assignment #5 Question 1: Scheduling a) Which of the following scheduling algorithms could result in starvation? For those algorithms that could result in starvation, describe a situation in which

More information

What is Data Mining? Data Mining. Data Mining Architecture. Illustrative Applications. Pharmaceutical Industry. Pharmaceutical Industry

What is Data Mining? Data Mining. Data Mining Architecture. Illustrative Applications. Pharmaceutical Industry. Pharmaceutical Industry Data Mining Andrew Kusiak Intelligent Systems Laboratory 2139 Seamans Center The University it of Iowa Iowa City, IA 52242-1527 andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak Tel. 319-335

More information

What is Data Mining? Data Mining. Data Mining Architecture. Illustrative Applications. Pharmaceutical Industry. Pharmaceutical Industry

What is Data Mining? Data Mining. Data Mining Architecture. Illustrative Applications. Pharmaceutical Industry. Pharmaceutical Industry Data Mining Andrew Kusiak Intelligent Systems Laboratory 2139 Seamans Center The University of Iowa Iowa City, IA 52242-1527 andrew-kusiak@uiowa.edu http://www.icaen.uiowa.edu/~ankusiak Tel. 319-335 5934

More information

CPU Scheduling: Part I ( 5, SGG) Operating Systems. Autumn CS4023

CPU Scheduling: Part I ( 5, SGG) Operating Systems. Autumn CS4023 Operating Systems Autumn 2017-2018 Outline 1 CPU Scheduling: Part I ( 5, SGG) Outline CPU Scheduling: Part I ( 5, SGG) 1 CPU Scheduling: Part I ( 5, SGG) Basic Concepts Typical program behaviour CPU Scheduling:

More information

Brute Force: Selection Sort

Brute Force: Selection Sort Brute Force: Intro Brute force means straightforward approach Usually based directly on problem s specs Force refers to computational power Usually not as efficient as elegant solutions Advantages: Applicable

More information

Chapter 16. Greedy Algorithms

Chapter 16. Greedy Algorithms Chapter 16. Greedy Algorithms Algorithms for optimization problems (minimization or maximization problems) typically go through a sequence of steps, with a set of choices at each step. A greedy algorithm

More information

Optimization Methods: Linear Programming Applications Transportation Problem 1. Module 4 Lecture Notes 2. Transportation Problem

Optimization Methods: Linear Programming Applications Transportation Problem 1. Module 4 Lecture Notes 2. Transportation Problem Optimization ethods: Linear Programming Applications Transportation Problem odule 4 Lecture Notes Transportation Problem Introduction In the previous lectures, we discussed about the standard form of a

More information

Transaction Management: Concurrency Control

Transaction Management: Concurrency Control Transaction Management: Concurrency Control Yanlei Diao Slides Courtesy of R. Ramakrishnan and J. Gehrke DBMS Architecture Query Parser Query Rewriter Query Optimizer Query Executor Lock Manager Concurrency

More information

Quick-Sort. Quick-Sort 1

Quick-Sort. Quick-Sort 1 Quick-Sort 7 4 9 6 2 2 4 6 7 9 4 2 2 4 7 9 7 9 2 2 9 9 Quick-Sort 1 Outline and Reading Quick-sort ( 4.3) Algorithm Partition step Quick-sort tree Execution example Analysis of quick-sort (4.3.1) In-place

More information

Chapter 4: Sorting. Spring 2014 Sorting Fun 1

Chapter 4: Sorting. Spring 2014 Sorting Fun 1 Chapter 4: Sorting 7 4 9 6 2 2 4 6 7 9 4 2 2 4 7 9 7 9 2 2 9 9 Spring 2014 Sorting Fun 1 What We ll Do! Quick Sort! Lower bound on runtimes for comparison based sort! Radix and Bucket sort Spring 2014

More information

Start of Lecture: February 10, Chapter 6: Scheduling

Start of Lecture: February 10, Chapter 6: Scheduling Start of Lecture: February 10, 2014 1 Reminders Exercise 2 due this Wednesday before class Any questions or comments? 2 Scheduling so far First-Come-First Serve FIFO scheduling in queue without preempting

More information

So far. Next: scheduling next process from Wait to Run. 1/31/08 CSE 30341: Operating Systems Principles

So far. Next: scheduling next process from Wait to Run. 1/31/08 CSE 30341: Operating Systems Principles So far. Firmware identifies hardware devices present OS bootstrap process: uses the list created by firmware and loads driver modules for each detected hardware. Initializes internal data structures (PCB,

More information

University of Toronto Department of Electrical and Computer Engineering. Midterm Examination. ECE 345 Algorithms and Data Structures Fall 2012

University of Toronto Department of Electrical and Computer Engineering. Midterm Examination. ECE 345 Algorithms and Data Structures Fall 2012 1 University of Toronto Department of Electrical and Computer Engineering Midterm Examination ECE 345 Algorithms and Data Structures Fall 2012 Print your name and ID number neatly in the space provided

More information

Lecture 18 Solving Shortest Path Problem: Dijkstra s Algorithm. October 23, 2009

Lecture 18 Solving Shortest Path Problem: Dijkstra s Algorithm. October 23, 2009 Solving Shortest Path Problem: Dijkstra s Algorithm October 23, 2009 Outline Lecture 18 Focus on Dijkstra s Algorithm Importance: Where it has been used? Algorithm s general description Algorithm steps

More information

CS 4100/5100: Foundations of AI

CS 4100/5100: Foundations of AI CS 4100/5100: Foundations of AI Constraint satisfaction problems 1 Instructor: Rob Platt r.platt@neu.edu College of Computer and information Science Northeastern University September 5, 2013 1 These notes

More information

Approximation Algorithms

Approximation Algorithms Chapter 8 Approximation Algorithms Algorithm Theory WS 2016/17 Fabian Kuhn Approximation Algorithms Optimization appears everywhere in computer science We have seen many examples, e.g.: scheduling jobs

More information

Problem:Given a list of n orderable items (e.g., numbers, characters from some alphabet, character strings), rearrange them in nondecreasing order.

Problem:Given a list of n orderable items (e.g., numbers, characters from some alphabet, character strings), rearrange them in nondecreasing order. BRUTE FORCE 3.1Introduction Brute force is a straightforward approach to problem solving, usually directly based on the problem s statement and definitions of the concepts involved.though rarely a source

More information

Readings. Priority Queue ADT. FindMin Problem. Priority Queues & Binary Heaps. List implementation of a Priority Queue

Readings. Priority Queue ADT. FindMin Problem. Priority Queues & Binary Heaps. List implementation of a Priority Queue Readings Priority Queues & Binary Heaps Chapter Section.-. CSE Data Structures Winter 00 Binary Heaps FindMin Problem Quickly find the smallest (or highest priority) item in a set Applications: Operating

More information

Computer Integrated Manufacturing

Computer Integrated Manufacturing Computer Integrated anufacturing Performance Objectives 1 Fundamentals Demonstrate the ability to store, retrieve copy, and output drawing files depending upon system setup. Show-e Content Show-e Goals

More information

Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015

Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015 Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015 Quick-Sort 7 4 9 6 2 2 4 6 7 9 4 2 2 4 7 9 7 9 2 2 9 9 2015 Goodrich and Tamassia

More information

A tabu search approach for makespan minimization in a permutation flow shop scheduling problems

A tabu search approach for makespan minimization in a permutation flow shop scheduling problems A tabu search approach for makespan minimization in a permutation flow shop scheduling problems Sawat Pararach Department of Industrial Engineering, Faculty of Engineering, Thammasat University, Pathumthani

More information

Lecture 19. Software Pipelining. I. Example of DoAll Loops. I. Introduction. II. Problem Formulation. III. Algorithm.

Lecture 19. Software Pipelining. I. Example of DoAll Loops. I. Introduction. II. Problem Formulation. III. Algorithm. Lecture 19 Software Pipelining I. Introduction II. Problem Formulation III. Algorithm I. Example of DoAll Loops Machine: Per clock: 1 read, 1 write, 1 (2-stage) arithmetic op, with hardware loop op and

More information

1 Points and Distances

1 Points and Distances Ale Zorn 1 Points and Distances 1. Draw a number line, and plot and label these numbers: 0, 1, 6, 2 2. Plot the following points: (A) (3,1) (B) (2,5) (C) (-1,1) (D) (2,-4) (E) (-3,-3) (F) (0,4) (G) (-2,0)

More information

Dynamic-Programming algorithms for shortest path problems: Bellman-Ford (for singlesource) and Floyd-Warshall (for all-pairs).

Dynamic-Programming algorithms for shortest path problems: Bellman-Ford (for singlesource) and Floyd-Warshall (for all-pairs). Lecture 13 Graph Algorithms I 13.1 Overview This is the first of several lectures on graph algorithms. We will see how simple algorithms like depth-first-search can be used in clever ways (for a problem

More information

Exam Sample Questions CS3212: Algorithms and Data Structures

Exam Sample Questions CS3212: Algorithms and Data Structures Exam Sample Questions CS31: Algorithms and Data Structures NOTE: the actual exam will contain around 0-5 questions. 1. Consider a LinkedList that has a get(int i) method to return the i-th element in the

More information

Sorting. Divide-and-Conquer 1

Sorting. Divide-and-Conquer 1 Sorting Divide-and-Conquer 1 Divide-and-Conquer 7 2 9 4 2 4 7 9 7 2 2 7 9 4 4 9 7 7 2 2 9 9 4 4 Divide-and-Conquer 2 Divide-and-Conquer Divide-and conquer is a general algorithm design paradigm: Divide:

More information

Acknowledgement ACKNOWLEDGEMENT

Acknowledgement ACKNOWLEDGEMENT Summary SUMMARY The aim of this project is to study the flow shop scheduling problem and the known algorithms for solving it. The project looks into the algorithm of Johnson, Gonzalez & Sahni (1978) and

More information

Binary Heaps. CSE 373 Data Structures Lecture 11

Binary Heaps. CSE 373 Data Structures Lecture 11 Binary Heaps CSE Data Structures Lecture Readings and References Reading Sections.1-. //0 Binary Heaps - Lecture A New Problem Application: Find the smallest ( or highest priority) item quickly Operating

More information

Quick-Sort fi fi fi 7 9. Quick-Sort Goodrich, Tamassia

Quick-Sort fi fi fi 7 9. Quick-Sort Goodrich, Tamassia Quick-Sort 7 4 9 6 2 fi 2 4 6 7 9 4 2 fi 2 4 7 9 fi 7 9 2 fi 2 9 fi 9 Quick-Sort 1 Quick-Sort ( 10.2 text book) Quick-sort is a randomized sorting algorithm based on the divide-and-conquer paradigm: x

More information

Course Introduction. Scheduling: Terminology and Classification

Course 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 information

SAS Viya 3.3 Administration: Mobile

SAS Viya 3.3 Administration: Mobile SAS Viya 3.3 Administration: Mobile Mobile: Overview The SAS Mobile BI app enables mobile device users to view and interact with reports that can contain a variety of charts, graphs, gauges, tables, and

More information

1. (a) O(log n) algorithm for finding the logical AND of n bits with n processors

1. (a) O(log n) algorithm for finding the logical AND of n bits with n processors 1. (a) O(log n) algorithm for finding the logical AND of n bits with n processors on an EREW PRAM: See solution for the next problem. Omit the step where each processor sequentially computes the AND of

More information

A Variable Neighborhood Migrating Birds Optimization Algorithm for Flexible Job Shop Scheduling

A Variable Neighborhood Migrating Birds Optimization Algorithm for Flexible Job Shop Scheduling Available online at www.ijpe-online.com vol. 13, no. 7, November 2017, pp. 1020-1029 DOI: 10.23940/ijpe.17.07.p3.10201029 A Variable Neighborhood Migrating Birds Optimization Algorithm for Flexible Job

More information

A Comparative Study of Two-phase Heuristic Approaches to General Job Shop Scheduling Problem

A Comparative Study of Two-phase Heuristic Approaches to General Job Shop Scheduling Problem IE Vol. 7, No. 2, pp. 84-92, Septeber 2008. A Coparative Study of Two-phase Heuristic Approaches to General Job Shop Scheduling Proble Ji Ung Sun School of Industrial and Managent Engineering Hankuk University

More information

CS Algorithms and Complexity

CS Algorithms and Complexity CS 350 - Algorithms and Complexity Basic Sorting Sean Anderson 1/18/18 Portland State University Table of contents 1. Core Concepts of Sort 2. Selection Sort 3. Insertion Sort 4. Non-Comparison Sorts 5.

More information

Arrays. CS10001: Programming & Data Structures. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur

Arrays. CS10001: Programming & Data Structures. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Arrays CS10001: Programming & Data Structures Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Array Many applications require multiple data items that have common

More information

Dynamic Programming (Part #2)

Dynamic Programming (Part #2) Dynamic Programming (Part #) Introduction to Algorithms MIT Press (Chapter 5) Matrix-Chain Multiplication Problem: given a sequence A, A,, A n, compute the product: A A A n Matrix compatibility: C = A

More information

Orthogonal range searching. Orthogonal range search

Orthogonal range searching. Orthogonal range search CG Lecture Orthogonal range searching Orthogonal range search. Problem definition and motiation. Space decomposition: techniques and trade-offs 3. Space decomposition schemes: Grids: uniform, non-hierarchical

More information

A competitive memetic algorithm for the distributed two-stage assembly flow-shop scheduling problem

A competitive memetic algorithm for the distributed two-stage assembly flow-shop scheduling problem A competitive memetic algorithm for the distributed two-stage assembly flow-shop scheduling problem Jin Deng, Ling Wang, Sheng-yao Wang & Xiao-long Zheng(2015) Zhou Yidong 2016.01.03 Contents Production

More information

Discrete Optimization. Lecture Notes 2

Discrete Optimization. Lecture Notes 2 Discrete Optimization. Lecture Notes 2 Disjunctive Constraints Defining variables and formulating linear constraints can be straightforward or more sophisticated, depending on the problem structure. The

More information

Parallel Programming

Parallel Programming Parallel Programming Midterm Exam Wednesday, April 27, 2016 Your points are precious, don t let them go to waste! Your Time All points are not equal. Note that we do not think that all exercises have the

More information

ALGORITHM DESIGN DYNAMIC PROGRAMMING. University of Waterloo

ALGORITHM DESIGN DYNAMIC PROGRAMMING. University of Waterloo ALGORITHM DESIGN DYNAMIC PROGRAMMING University of Waterloo LIST OF SLIDES 1-1 List of Slides 1 2 Dynamic Programming Approach 3 Fibonacci Sequence (cont.) 4 Fibonacci Sequence (cont.) 5 Bottom-Up vs.

More information

COP472-3 Liquid Crystal Display Controller

COP472-3 Liquid Crystal Display Controller COP472-3 Liquid Crystal Display Controller General Description The COP472 3 Liquid Crystal Display (LCD) Controller is a peripheral member of the COPSTM family fabricated using CMOS technology The COP472-3

More information

ACO and other (meta)heuristics for CO

ACO and other (meta)heuristics for CO ACO and other (meta)heuristics for CO 32 33 Outline Notes on combinatorial optimization and algorithmic complexity Construction and modification metaheuristics: two complementary ways of searching a solution

More information

BI-OBJECTIVE EVOLUTIONARY ALGORITHM FOR FLEXIBLE JOB-SHOP SCHEDULING PROBLEM. Minimizing Make Span and the Total Workload of Machines

BI-OBJECTIVE EVOLUTIONARY ALGORITHM FOR FLEXIBLE JOB-SHOP SCHEDULING PROBLEM. Minimizing Make Span and the Total Workload of Machines International Journal of Mathematics and Computer Applications Research (IJMCAR) ISSN 2249-6955 Vol. 2 Issue 4 Dec - 2012 25-32 TJPRC Pvt. Ltd., BI-OBJECTIVE EVOLUTIONARY ALGORITHM FOR FLEXIBLE JOB-SHOP

More information

Design Proposal: Outline

Design Proposal: Outline Design Proposal: Outline This outline should be used as a checklist to help each member of the team make sure that every section of the document meets the requirements for a design proposal. Writing Style

More information

Programming Assignment HW5: CPU Scheduling draft v04/02/18 4 PM Deadline April 7th, 2018, 5 PM. Late deadline with penalty April 9th, 2018, 5 PM

Programming Assignment HW5: CPU Scheduling draft v04/02/18 4 PM Deadline April 7th, 2018, 5 PM. Late deadline with penalty April 9th, 2018, 5 PM Programming Assignment HW5: CPU Scheduling draft v04/02/18 4 PM Deadline April 7th, 2018, 5 PM. Late deadline with penalty April 9th, 2018, 5 PM Purpose: The objective of this assignment is to become familiar

More information

Lecture 3. Brute Force

Lecture 3. Brute Force Lecture 3 Brute Force 1 Lecture Contents 1. Selection Sort and Bubble Sort 2. Sequential Search and Brute-Force String Matching 3. Closest-Pair and Convex-Hull Problems by Brute Force 4. Exhaustive Search

More information

Compiler Construction

Compiler Construction Compiler Construction Exercises 1 Review of some Topics in Formal Languages 1. (a) Prove that two words x, y commute (i.e., satisfy xy = yx) if and only if there exists a word w such that x = w m, y =

More information

Enhancing Parallelism

Enhancing Parallelism CSC 255/455 Software Analysis and Improvement Enhancing Parallelism Instructor: Chen Ding Chapter 5,, Allen and Kennedy www.cs.rice.edu/~ken/comp515/lectures/ Where Does Vectorization Fail? procedure vectorize

More information

Algorithms for Integer Programming

Algorithms for Integer Programming Algorithms for Integer Programming Laura Galli November 9, 2016 Unlike linear programming problems, integer programming problems are very difficult to solve. In fact, no efficient general algorithm is

More information

An FMS Dynamic Production Scheduling Algorithm Considering Cutting Tool Failure and Cutting Tool Life

An FMS Dynamic Production Scheduling Algorithm Considering Cutting Tool Failure and Cutting Tool Life IOP Conference Series: aterials Science and Engineering PAPER OPEN ACCESS An FS Dynamic Production Scheduling Algorithm Considering Cutting Tool Failure and Cutting Tool Life To cite this article: A Setiawan

More information

Grid Scheduler. Grid Information Service. Local Resource Manager L l Resource Manager. Single CPU (Time Shared Allocation) (Space Shared Allocation)

Grid 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 information

Computer Science 385 Design and Analysis of Algorithms Siena College Spring Topic Notes: Brute-Force Algorithms

Computer Science 385 Design and Analysis of Algorithms Siena College Spring Topic Notes: Brute-Force Algorithms Computer Science 385 Design and Analysis of Algorithms Siena College Spring 2019 Topic Notes: Brute-Force Algorithms Our first category of algorithms are called brute-force algorithms. Levitin defines

More information

1 Non greedy algorithms (which we should have covered

1 Non greedy algorithms (which we should have covered 1 Non greedy algorithms (which we should have covered earlier) 1.1 Floyd Warshall algorithm This algorithm solves the all-pairs shortest paths problem, which is a problem where we want to find the shortest

More information

Dynamic modelling and network optimization

Dynamic modelling and network optimization Dynamic modelling and network optimization Risto Lahdelma Aalto University Energy Technology Otakaari 4, 25 Espoo, Finland risto.lahdelma@aalto.fi Risto Lahdelma Feb 4, 26 Outline Dynamic systems Dynamic

More information

2.8 An application of Dynamic Programming to machine renewal

2.8 An application of Dynamic Programming to machine renewal ex-.6-. Foundations of Operations Research Prof. E. Amaldi.6 Shortest paths with nonnegative costs Given the following directed graph, find a set of shortest paths from node to all the other nodes, using

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 4 Graphs Definitions Traversals Adam Smith 9/8/10 Exercise How can you simulate an array with two unbounded stacks and a small amount of memory? (Hint: think of a

More information

An Overview of Search Algorithms With a Focus in Simulated Annealing

An Overview of Search Algorithms With a Focus in Simulated Annealing An Overview of Search Algorithms With a Focus in Simulated Annealing K Jones Appalachian State University joneskp1@appstate.edu May 7, 2014 Definition of Annealing Definition: Annealing, in metallurgy

More information

GE-SNP Protocol Serial Driver

GE-SNP Protocol Serial Driver Doc. No. Ver: 1.0 FS80066 Rev: 1 1 DESCRIPTION The GESNP Serial driver allows the to transfer data to and from devices over either RS or RS8 using GE SNP Serial protocol. The can emulate either a Server

More information

Context Free Languages

Context Free Languages Context Free Languages COMP2600 Formal Methods for Software Engineering Katya Lebedeva Australian National University Semester 2, 2016 Slides by Katya Lebedeva and Ranald Clouston. COMP 2600 Context Free

More information

(Refer Slide Time: 05:25)

(Refer Slide Time: 05:25) Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering IIT Delhi Lecture 30 Applications of DFS in Directed Graphs Today we are going to look at more applications

More information

An Algorithm for Solving the Traveling Salesman Problem

An Algorithm for Solving the Traveling Salesman Problem JKAU: Eng. Sci.. vol. 4, pp. 117 122 (1412 A.H.l1992 A.D.) An Algorithm for Solving the Traveling Salesman Problem M. HAMED College ofarts and Science, Bahrain University, [sa Town, Bahrain ABSTRACT. The

More information

ACP 1703 Ax 1703 CM Fieldbus Interface Ring (3x FO, 1x el.)

ACP 1703 Ax 1703 CM Fieldbus Interface Ring (3x FO, 1x el.) ACP 1703 Ax 1703 CM-0821 Fieldbus Interface Ring (3x FO, 1x el.) Bus interface for an optical field bus or multi-point traffic as optical ring or optical star Features: 3 optical transmitter and receiver

More information

Graph Coloring Facets from a Constraint Programming Formulation

Graph Coloring Facets from a Constraint Programming Formulation Graph Coloring Facets from a Constraint Programming Formulation David Bergman J. N. Hooker Carnegie Mellon University INFORMS 2011 Motivation 0-1 variables often encode choices that can be represented

More information

King Saud University. College of Computer & Information Sciences. Information Technology Department. IT425: Operating Systems.

King Saud University. College of Computer & Information Sciences. Information Technology Department. IT425: Operating Systems. King Saud University College of Computer & Information Sciences Information Technology Department IT425: Operating Systems Assignment 6 Second Semester 1433/1434H 2012/2013 Homework policy: 1) Copying

More information

An approach to solve job shop scheduling problem

An approach to solve job shop scheduling problem San Jose State University SJSU ScholarWorks Master's Projects Master's Theses and Graduate Research Fall 2012 An approach to solve job shop scheduling problem Shashidhar Reddy Karnati San Jose State University

More information

Graph. Vertex. edge. Directed Graph. Undirected Graph

Graph. Vertex. edge. Directed Graph. Undirected Graph Module : Graphs Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS E-mail: natarajan.meghanathan@jsums.edu Graph Graph is a data structure that is a collection

More information

Added item 33 and assigned to Paul Entzel Revision 0 Reopened item 1 and tentatively assigned to Michael Banther.

Added item 33 and assigned to Paul Entzel Revision 0 Reopened item 1 and tentatively assigned to Michael Banther. TO: T10 embership FRO: Paul A. Suhler, Quantum Corporation DATE: 6 November 2006 SUBJECT: T10/ 06-060r4, 06-060 Revision 4 Dropped items 8 and 21 Corrected name of state machine in item 24 06-060 Revision

More information

Quick-Sort. Quick-sort is a randomized sorting algorithm based on the divide-and-conquer paradigm:

Quick-Sort. Quick-sort is a randomized sorting algorithm based on the divide-and-conquer paradigm: Presentation for use with the textbook Data Structures and Algorithms in Java, 6 th edition, by M. T. Goodrich, R. Tamassia, and M. H. Goldwasser, Wiley, 2014 Quick-Sort 7 4 9 6 2 2 4 6 7 9 4 2 2 4 7 9

More information

Department of Computer Science Admission Test for PhD Program. Part I Time : 30 min Max Marks: 15

Department of Computer Science Admission Test for PhD Program. Part I Time : 30 min Max Marks: 15 Department of Computer Science Admission Test for PhD Program Part I Time : 30 min Max Marks: 15 Each Q carries 1 marks. ¼ mark will be deducted for every wrong answer. Part II of only those candidates

More information

CSE 373 Final Exam 3/14/06 Sample Solution

CSE 373 Final Exam 3/14/06 Sample Solution Question 1. (6 points) A priority queue is a data structure that supports storing a set of values, each of which has an associated key. Each key-value pair is an entry in the priority queue. The basic

More information

CSL 860: Modern Parallel

CSL 860: Modern Parallel CSL 860: Modern Parallel Computation PARALLEL ALGORITHM TECHNIQUES: BALANCED BINARY TREE Reduction n operands => log n steps Total work = O(n) How do you map? Balance Binary tree technique Reduction n

More information

CPU Scheduling (1) CPU Scheduling (Topic 3) CPU Scheduling (2) CPU Scheduling (3) Resources fall into two classes:

CPU Scheduling (1) CPU Scheduling (Topic 3) CPU Scheduling (2) CPU Scheduling (3) Resources fall into two classes: CPU Scheduling (Topic 3) 홍성수 서울대학교공과대학전기공학부 Real-Time Operating Systems Laboratory CPU Scheduling (1) Resources fall into two classes: Preemptible: Can take resource away, use it for something else, then

More information

Sample Exam 1 Questions

Sample Exam 1 Questions CSE 331 Sample Exam 1 Questions Name DO NOT START THE EXAM UNTIL BEING TOLD TO DO SO. If you need more space for some problem, you can link to extra space somewhere else on this exam including right here.

More information

A Fast Recursive Mapping Algorithm. Department of Computer and Information Science. New Jersey Institute of Technology.

A Fast Recursive Mapping Algorithm. Department of Computer and Information Science. New Jersey Institute of Technology. A Fast Recursive Mapping Algorithm Song Chen and Mary M. Eshaghian Department of Computer and Information Science New Jersey Institute of Technology Newark, NJ 7 Abstract This paper presents a generic

More information

COMP 3361: Operating Systems 1 Midterm Winter 2009

COMP 3361: Operating Systems 1 Midterm Winter 2009 COMP 3361: Operating Systems 1 Midterm Winter 2009 Name: Instructions This is an open book exam. The exam is worth 100 points, and each question indicates how many points it is worth. Read the exam from

More information