Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution
|
|
- Anne Glenn
- 5 years ago
- Views:
Transcription
1 Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution W. Weyerman, D. West, S. Warnick Information Dynamics and Intelligent Systems Group Department of Computer Science, Brigham Young University, Provo, UT Abstract In order to determine necessary time to reach a desired quota, the manager of a flexible batch manufacturing system must know the best method of scheduling the factory. To determine a sub-optimal schedule, we first create a model of the factory. This model is used to simulate the factory. Using this simulation and an integer programming formulation, we determine a scheduling algorithm that attempts to minimize the amount of idle time of the factory. I. INTRODUCTION In a flexible batch manufacturing system (BMS), materials are processed by a chain of machines that each perform a different job. This chain of machines has the ability to process multiple types of goods. Managers of these manufacturing systems want to know not only what the plant production capacity is, but how to run more efficiently in order to increase the capacity. This information is important in making decisions such as determining how many orders a manufacturer can process and whether to make modifications or additions to existing plants in order to increase production. It is also important to know the expected capacity of a plant planned to be built or purchased. Manufacturers also have quotas that they must have the capability to meet in a certain amount of time. In order to find the highest capacity for an existing factory, it is desirable to know how to process the products in the fastest time possible; this is often posed as a scheduling problem. The manufacturing scheduling problem has been studied for non-batch flexible manufacturing systems in [4] and [5] among others. The scheduling problem for BMSs, however, has not received as much attention. When approaching the scheduling problem in a BMS with multiple workstations and a fixed quota, there is an optimal ordering of products that results in the BMS sitting idle for the least amount of time. If this idle time can be minimized, the manufacturing system can run as close to capacity as possible, thus minimizing the total time to reach quota, or make-span, and maximizing plant capacity. This is the approach taken in this paper. This paper presents a method of modeling a BMS using a discrete-time dynamic system. This model is used in a simulation to calculate a cost of switching products. The This work is supported in part by grants from ATK Thiokol, Sandia National Labs, and ORCA. Please direct comments and questions to W. Sam Weyerman at wsweyerman@gmail.com or Sean Warnick at sean@cs.byu.edu. optimization problem is then posed as a graph traversal problem and then solved using an integer programming method. The final section of this paper gives the solution to the problem of minimizing the time to produce a quota of 9 different products in a manufacturing system with 11 different types of machines. II. DESCRIPTION OF NOTATION AND PROBLEM A. Notation and Definitions Following are definitions of the terminology used in this paper. Let a machine be a general or specific-purpose resource that performs a specific job in processing a product. A machine may only be used or occupied by one product at any given time. A workstation contains one or more machines of the same type, or machines that perform the same job. A single machine requires a batch of product to be filled to capacity, the batch size of one machine may not be the same as another machine s batch size. The minimum amount of material required to run all of the material through the factory is a load; a load must be an integer amount of the largest batch in a particular route. Let an operation be represented by b,c,τ}, where b is the number of the prior machine s batches that are required to fill this machine and is limited to the positive rational numbers, c is the workstation on which this operation is to be performed, and τ is the cycle time of this machine for a certain product. Let a production line, or factory, P = F,O,Q} where F is the total number of each machine present in the factory, O is the operation matrix and defines the route of each product, and Q is the quota of each product in loads. O can be divided into three operation matrices, O b, O c, and O τ representing the three parts of an operation. The factory is said to be dominated by a product if that product has entered the final machine of its route. A product has entered the factory when it is loaded into the first machine of its route. A product is said to have left the factory when the entire load of that product has been processed. The run time, r, of a product is the time that passes from when a product dominates the factory until it leaves. The steady state run time, r ss, is the run time of a product from the empty factory. The delay, D, of a product is the time that passes from when a product enters the factory to the time it dominates the factory plus the difference of the actual run time and the steady state run time. The wait time of a product, W, is the time that a product must wait before
2 it can enter the factory. The transition time is the time it takes to switch from one product to another, specifically the time it takes for a new product to dominate the factory from when the previous product has left the factory. Transition time is used as the cost of running one load after having run a load, cost is determined not only for changing products, but also for continuing to process the same product. A strategy S tells the order to run the products and how many loads of each to run. B. Properties of the manufacturing system Several limitations, most of which are consistent with operation of a chemical plant, are put on the BMS considered in this paper. In this BMS, a general ordering of the workstations dictates the route of the batches of product travelling through the manufacturing line. In rare cases, feedback is allowed to a previous workstation, this introduces the possibility of deadlock as will be briefly addressed. The operation matrix, O, is fixed, thus not allowing modification to the production specifications of any product. Any machine type may have a workstation of multiple machines allowing for parallel processing at any stage of production. A workstation may be skipped by the route of any product: certain production steps are not necessary in the manufacture of certain products. At any given time, there may be a choice of products to load into a machine. When this choice is presented, we use a first come first served policy, the product that entered the factory first is given priority, this policy is slightly modified in the case of feedback. This policy disallows the possibility of a product passing another product in the manufacturing line. There is no queueing between machines, storage is only within the machines, so no product may proceed until there is an available machine in the next workstation of that product s route. Transport time between machines and emptying and filling time of machines is considered to be negligible. There may or may not be setup times when switching products, this time will be accounted for in the transition time. Machines will only run at capacity, so no machine will run until it has been completely filled. A machine may be partly filled with a product at which point it will wait until it has a full batch of that product before running. Yearly quota for the BMS is assumed to be known beforehand allowing for more flexibility in scheduling without forecasting demand, thus no product in the quota will have a deadline before the end of the year. In order to maintain the deterministic nature of this manufacturing system, machines are also assumed to never break down or need maintenance. C. The Problem This factory is to be used to meet given quotas in a minimum amount of time. Given a production line P, we want to minimize the make-span in when meeting quota, Q. Let C i be the completion time of product i, in a factory that makes m products, the make-span is given by C max = maxc 1,...,C m }. [2] gives a formulation for C i for a simple job-shop without parallel machines that does not hold for a factory with parallel machines. In the factory we are considering, there are no decisions once a product has entered the factory, it will flow through the factory until completion. So C i = r ssi + W i + D i. Because changing the b, c, or τ for any given operation will change the quality of the product, we must choose S such that the make-span is minimized. Thus we wish to solve: min C max S III. SIMULATION OF THE FACTORY A. Modeling the factory In order to simulate the factory, we first had to model it. Initially each machine can be viewed as a finite-state automata with a set of states Θ containing three states: loading (θ l ), running (θ r ), and unloading (θ u ). These states can be defined in terms of the portion of a full batch the machine contains, l [0,1], and the time the machine has been running, T Z. The current state, θ is defined as follows: θ = θ l l 1 T = 0 θ r l = 1 T < τ θ u T τ Assume a factory with n machines that can manufacture m different products. In order to model the factory as a dynamic system, let the state of a machine be defined by M = [l T π o], where l and T are defined as before, π N is the current product in the machine, and o N is the operation number of the product in the machine. Let R = [r 1... r m ],r i Z be the remaining supply, or raw materials, for each product given in number of batches of the first workstation for this product s route. Also, let Ψ = [ψ 1... ψ m ],ψ i Z be the amount of each product completed, given in batches of the final machine in the product s route. The state of a factory is given by x = [R M 1... M nψ ]. Allowing for workstations requires a trivial mapping from machine number to workstation number. The input to the factory, u, is the amount of raw materials added and completed product removed; the schedule is input into the factory through u. The factory can then be represented as a non-linear dynamic system: x(k + 1) = f(x,u,k) The function f(x,u,k) specifies the loading, running, and unloading of machines. When a machine is finished running, it makes the material in that machine available to the next workstation in that product s route. If a machine is empty or loading, it loads from the material that has been made available to it by a previous machine. If a loading machine is the first machine in the next product s route, then it loads from R. To determine which product to load next, the first machine checks the supply and loads the next available product, or the first non-zero entry in R. If the machine is the final machine in its product s route, then it unloads into Ψ. Loading from R and unloading to Ψ is done instantaniously.
3 The amount unloaded and loaded are given by the following equations: l i (k + 1) = l i(k) min l i (k),(1 l next (k))(o b,pnext )} l + i (k + 1) = l i(k) + min 1 l i (k), l } prev(k) O b,pprev The load of machine i changes according to: l + i (k + 1) θ i = θ l and θ prev = θ u l i (k + 1) θ i = θ u and θ next = θ l l i (k + 1) = 1 o i = 1 0 o i = o final l(k) otherwise When a machine (i) is running, T is incremented at each time step. If the machine is empty, T is reset to 0. The update function for T is given by: T i (k + 1) = T i (k) + 1 θ i = θ r 0 l i = 0 T i (k) otherwise The values for π and o are set when loading a product from machine i to machine j, the update functions for π and o are: πi (k) θ π j (k + 1) = i = θ u and l j = 0 (5) π j (k) otherwise oi (k) + 1 θ o j (k + 1) = i = θ u and l j = 0 (6) o j (k) otherwise R and Ψ only change when the first machine of a product s route is loaded, the last machine is unloaded, or an input to the system changes them. Let i be the first machine in a product s route and j be the last, R and Ψ are updated as: ri (k) + u r i (k + 1) = ri (k) 1 θ i = θ l (7) r i (k) + u ri (k) otherwise ψi (k) + u ψ i (k + 1) = ψi (k) + 1 θ j = θ u (8) ψ i (k) + u ψi (k) otherwise These functions combine to form f(x,u,k). B. Deadlock Due to Feedback When feedback is introduced into a BMS, deadlock becomes a possibility. In [1], four conditions for deadlock are given; each of these will be considered. 1) Mutual Exclusion: Mutual exclusion is a condition that requires that any resource may not be used by more than one task at any time. Since each machine may only be occupied by a single batch of a single product at any given time, mutual exclusion must be preserved. Due to this, this condition for deadlock must be kept. 2) Wait for: Wait for means that a task can hold a resource while waiting assignment of other resources. Since there is no queueing, each batch of product will hold the machine it is currently in while it waits for the next machine in its route to be available. If finite sized queues were allowed each batch would still have to hold a spot in the queue while it waits for the next machine to become available. Thus the wait for condition of deadlock must be kept. (1) (2) (3) (4) M1 M2 M3 M4 Fig. 1. Example of deadlock. Two products, green and red, have different routes. M1 and M2 are occupied by green while M3 and M4 are occupied by red. The route of red feeds back to M2. In this example circular wait is present: green is waiting for M3 and red is waiting for M2, both are held by the other product. M1 M2 M3 M4 Fig. 2. A possible solution. M1 is occupied by green while M3 and M4 are occupied by red, M2 is held by red. Since red holds M2 while it has any product in M3 or M4, both of these batches of product will be able to continue to completion. After red is completed, M2 will be released and green is free to proceed. 3) No preemption: Preemption is removing a resource from a task currently holding it. In a manufacturing environment preemption is an unreasonable thing to do. In order to remove a machine from a batch in process, the batch must be removed from the manufacturing line, thus destroying it. Preempting a batch in process would require wasting all of the material and time that has been used in that batch up to this point. Preemption is not an option. 4) Circular wait: When circular wait is present, there is a circular chain of tasks where each task holds a resource that the next task is requesting. In an open loop manufacturing chain, there is no chance for circular wait to happen since there cannot be a circular chain of products. Once feedback is introduced circular wait becomes a possibility. Figure 1 shows and example of the four conditions for deadlock being met. When creating a simulator, the issue of deadlock must be addressed to ensure that deadlock never happens during a simulation. In [6] it is shown that the first come, first served (FCFS) policy is unstable. When queue length restrictions are made, [3] shows that this leads to deadlock and gives a petri net scheduling solution to avoid deadlock in a flexible manufacturing system. To guarantee that the system did not enter a deadlocked state in our simulation, the circular wait condition was removed. This was accomplished by maintaining an empty machine if there is a product in process that will feedback into that machine. When the product reaches a machine with workstation number greater than or equal to the workstation that it feeds back into, the simulator will ensure that there is at least one machine within that workstation that is always available until the product has passed through the feedback loop. An example of using this method to avoid feedback is shown in figure 2. This collapses the feedback chain into a single wait making the whole route resemble an open loop
4 manufacturing chain. This method will cause unnecessary delays in a BMS with multiple feedback loops on multiple products. IV. METHOD OF SOLUTION In order to solve the time minimization problem it has been formulated as an integer programming (IP) problem. The objective is to minimize the running time required to satisfy the given quota. This will give us the order to run the products until we have reached quota. We will view scheduling as traversing a graph. If product a is run and then product b, it will be represented by a transition from node a to node b. The cost of transitioning from node a to node b will be given by the calculated transition time from product a to product b. The total minimum transition time will be the lowest cost of traversing the graph and visiting each node the required amount of times to reach quota. The resulting formulation is based on the IP formulation of the travelling salesperson problem (TSP) given in [7]. A. The IP Formulation Let the matrix C be the cost matrix for a directed graph representing the transition costs of every product that we desire to make. The cost matrix only represents the firstorder transition times, meaning the time to transition from a b is starting with an empty factory, running product a and then running product b. This graph must contain a dummy node (0) which represents the empty factory. It is not necessary to compute the time to transition to an empty factory since this is given by the time to run the final product and is not a transition, so the transition time to the empty factory is always 0. There must be exactly one transition from node 0 to any other node and one transition going to node 0. C is thus a [m + 1 m + 1] matrix. The matrix X specifies which transitions to make to reach quota and is the same size as C. If we let x ij represent the number of times the transition from node i to node j is traversed and c ij the cost of that traversal, the objective function for the IP problem is thus: minimize j=0 c ij x ij Because we eventually want a tour, each node must have the same number of incoming arcs as outgoing arcs. This adds the constraint: x ij x jl = 0j = 0,1,...,m l=0 If the vector q is the quota vector then there must be enough arcs entering each node to meet quota; we will set the quota of node 0 to be 1. This will constrain at least one arc coming in and one going out. The following constraint is added: x ij q j j = 0,1,...,m However if going over quota is allowed, the objective function must include the time the factory must run to make a load of any product (R), thus appropriately adding time for going over quota, so the new objective function is: minimize (c ij + r ssj )x ij j=0 The values of X are limited to be integer values because they are the number of times each transition is to be taken. The full IP problem is: minimize subject to j=0 (c ij + r ssj )x ij x ij x jl = 0 l=0 j = 0,1,...,m x ij q j j = 0,1,...,m x ij 0,1,...} This formulation allows for disjoint sets. Let ς be the smallest subtour or disjoint set, ς is a set containing each transition in the subtour. Since we want to find a single tour, this problem may be iteratively solved adding a constraint each iteration to break the smallest subtour, ς, of length ς length : (9) x ij < ς length (10) i,j ς Once there is a single tour, the matrix X may be used to create S by following the transitions starting with node 0 and ending with node 0 traversing every transition defined in X. B. Calculating the Cost Matrix The cost matrix is calculated by running every combination of two products (including the same product repeated) through the simulation. The time from when the first product leaves the factory until the second product dominates the factory is recorded as the cost from the first product to the second. C. Future Work This method of modeling the transition costs assumes that there is a high correlation between the first order transitions and higher order transitions. This model will not capture the difference of the transition time from product a to product b when starting from an empty factory, processing a then b and starting from an empty factory, processing b then a followed by b. We want to find a relation between the transition time and the delay of a product given a schedule. Such a result may present a method of determining bounds of goodness on the first order transition cost.
5 Further generalizations to the factory, such as allowing products in process to be passed by products with shorter manufacturing times may not result in a sensible transition time using the current heuristic. In order to allow for further generalization, we need to determine a different method of calculating costs. V. EXAMPLE Let P be a factory with 11 different workstations and nine products defined as follows (all times are in minutes): O b : F : ( ) O c : O τ : Q : ( ) The transition cost matrix (C) for these products was calculated to be: The solution to the LP using this cost matrix and allowing disjoint sets is:
6 Strategy IP Cost Sim. Time S OPTT SP S OPTtour S BLOCKT SP S OPTtour S BLOCKnaive S BLOCKrandom S RANDOM TABLE I TOTAL TIMES FOR EACH STRATEGY BASED ON C, R, AND SIMULATION TIMES By manually combining this solution and the corresponding solution to the TSP ( ), the optimal strategy with respect to the TSP (S OPTT SP ) was derived to be: [2] S. French. Sequencing and Scheduling: An Introduction to the Mathematics of the Job-Shop. Mathematics and its Applications. Ellis Horwood Limited, [3] A. Gürel, S. Bogdan, and F. L. Lewis. Matrix approach to deadlock-free dispatching in multi-class finite buffer flowlines. IEEE Transactions on Automatic Control, 45(11): , November [4] F. Martinelli and P. Valigi. The impact of finite buffers on the optimal scheduling of a single-machine two-part-type manufacturing system. IEEE Transactions on Automatic Control, 47(10): , October [5] J. F. O Kane, D. K. Harrison, and V. I. Vitanov. An AI approach to scheduling in flexible manufacturing systems. Factory 2000, Competitive Performance Through Advanced Technology., Third International Conference on, pages 24 28, July [6] T. I. Seidman. First come, first served can be unstable! IEEE Transactions on Automatic Control, 39(10): , October [7] R. J. Vanderbei. Linear Programming: Foundations and Extensions. Kluwer Academic Publishers, 2 nd edition, ,9,9,3,3,2,2,1,4,1,4,1,5,5,8,8,8,7 By iteratively adding subtour breaking constraints to the IP, it was possible to find two optimal tours (S OPTtour1,S OPTtour2 ) which respectively are: 6,9,3,8,9,3,2,1,4,1,4,1,5,5,2,8,8,7 6,9,3,8,9,3,2,2,1,4,1,4,1,5,5,8,8,7 Four more strategies were created for testing purposes, S BLOCKT SP, S BLOCKnaive, S BLOCKrandom, and S RANDOM. These strategies are: S BLOCKT SP :6,9,9,3,3,2,2,4,4,1,1,1,5,5,8,8,8,7 S BLOCKnaive :1,1,1,2,2,3,3,4,4,5,5,6,7,8,8,8,9,9 S BLOCKrandom :8,8,8,2,2,7,4,4,3,3,6,9,9,5,5,1,1,1 S RANDOM :8,6,8,3,9,9,7,3,5,1,1,2,1,8,5,4,2,4 The results of running each of these strategies are found in Table I. Although OPT tour1 and OPT tour2 had the best upper bound, OPT TSP had the best overall running time. There is a discrepancy between best upper bound and best actual running time, but it is relatively small when considering smart strategies. The discrepancy between the smart strategies derived using the IP and the other strategies is quite large. There is certainly an advantage to formulating the IP and finding the solution. VI. CONCLUSION We have derived a somewhat general model for a BMS. This model has been used to build a simulation. Using the simulation we determined the cost of transitioning from one product type to another. This cost is used to solve a minimization problem posed as an IP problem. The solution to this problem gives a sub-optimal ordering of product types in order to produce the most product in a minimum amount of time. REFERENCES [1] E. G. Coffman, Jr., M. J. Elphick, and A. Shoshani. System deadlocks. Computing Surveys, 3(2):67 78, June 1971.
Approximations with Improving Error Bounds for Makespan Minimization in Batch Manufacturing
Brigham Young University BYU ScholarsArchive All Theses and Dissertations 2008-03-14 Approximations with Improving Error Bounds for Makespan Minimization in Batch Manufacturing Whitney Samuel Weyerman
More informationMULTIPLE CHOICE QUESTIONS DECISION SCIENCE
MULTIPLE CHOICE QUESTIONS DECISION SCIENCE 1. Decision Science approach is a. Multi-disciplinary b. Scientific c. Intuitive 2. For analyzing a problem, decision-makers should study a. Its qualitative aspects
More informationSingle Machine Models
Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 8 Single Machine Models 1. Dispatching Rules 2. Single Machine Models Marco Chiarandini DM87 Scheduling, Timetabling and Routing 2 Outline Dispatching
More informationOptimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem
Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur Lecture - 20 Travelling Salesman Problem Today we are going to discuss the travelling salesman problem.
More informationApplied Integer Programming: Modeling and Solution
Applied Integer Programming: Modeling and Solution Chen, Batson, Dang Section 6. - 6.3 Blekinge Institute of Technology April 5, 05 Modeling Combinatorical Optimization Problems II Traveling Salesman Problem
More informationExercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems
Exercises Solutions Note, that we have not formulated the answers for all the review questions. You will find the answers for many questions by reading and reflecting about the text in the book. Chapter
More informationClock-driven scheduling
Clock-driven scheduling Also known as static or off-line scheduling Michal Sojka Czech Technical University in Prague, Faculty of Electrical Engineering, Department of Control Engineering November 8, 2017
More informationDeterministic Models: Preliminaries
Chapter 2 Deterministic Models: Preliminaries 2.1 Framework and Notation......................... 13 2.2 Examples... 20 2.3 Classes of Schedules... 21 2.4 Complexity Hierarchy... 25 Over the last fifty
More informationCSC501 Operating Systems Principles. Deadlock
CSC501 Operating Systems Principles Deadlock 1 Last Lecture q Priority Inversion Q Priority Inheritance Protocol q Today Q Deadlock 2 The Deadlock Problem q Definition Q A set of blocked processes each
More informationACHIEVING OPTIMAL DESIGN OF THE PRODUCTION LINE WITH OBTAINABLE RESOURCE CAPACITY. Miao-Sheng CHEN. Chun-Hsiung LAN
Yugoslav Journal of Operations Research 12 (2002), Number 2, 203-214 ACHIEVING OPTIMAL DESIGN OF THE PRODUCTION LINE WITH OBTAINABLE RESOURCE CAPACITY Miao-Sheng CHEN Graduate Institute of Management Nanhua
More informationModule 5: CPU Scheduling
Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation 5.1 Basic Concepts Maximum CPU utilization obtained
More informationSimulation of Process Scheduling Algorithms
Simulation of Process Scheduling Algorithms Project Report Instructor: Dr. Raimund Ege Submitted by: Sonal Sood Pramod Barthwal Index 1. Introduction 2. Proposal 3. Background 3.1 What is a Process 4.
More informationRCPSP Single Machine Problems
DM204 Spring 2011 Scheduling, Timetabling and Routing Lecture 3 Single Machine Problems Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Resource
More informationChapter 6: CPU Scheduling
Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation 6.1 Basic Concepts Maximum CPU utilization obtained
More informationCycle Time Analysis for Wafer Revisiting Process in Scheduling of Single-arm Cluster Tools
International Journal of Automation and Computing 8(4), November 2011, 437-444 DOI: 10.1007/s11633-011-0601-5 Cycle Time Analysis for Wafer Revisiting Process in Scheduling of Single-arm Cluster Tools
More informationNECESSARY AND SUFFICIENT CONDITIONS FOR DEADLOCKS IN FLEXIBLE MANUFACTURING SYSTEMS BASED ON A DIGRAPH MODEL
Asian Journal of Control, Vol. 6, No. 2, pp. 217-228, June 2004 217 NECESSARY AND SUFFICIENT CONDITIONS FOR DEADLOCKS IN FLEXIBLE MANUFACTURING SYSTEMS BASED ON A DIGRAPH MODEL Wenle Zhang, Robert P. Judd,
More informationSingle Machine Problems Polynomial Cases
DM204, 2011 SCHEDULING, TIMETABLING AND ROUTING Lecture 2 Single Machine Problems Polynomial Cases Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline
More informationStochastic Petri Nets. Jonatan Lindén. Modelling SPN GSPN. Performance measures. Almost none of the theory. December 8, 2010
Stochastic Almost none of the theory December 8, 2010 Outline 1 2 Introduction A Petri net (PN) is something like a generalized automata. A Stochastic Petri Net () a stochastic extension to Petri nets,
More informationCPU scheduling. CPU Scheduling
EECS 3221 Operating System Fundamentals No.4 CPU scheduling Prof. Hui Jiang Dept of Electrical Engineering and Computer Science, York University CPU Scheduling CPU scheduling is the basis of multiprogramming
More informationTDDB68 Concurrent programming and operating systems. Lecture: CPU Scheduling II
TDDB68 Concurrent programming and operating systems Lecture: CPU Scheduling II Mikael Asplund, Senior Lecturer Real-time Systems Laboratory Department of Computer and Information Science Copyright Notice:
More informationExact Mixed Integer Programming for Integrated Scheduling and Process Planning in Flexible Environment
Journal of Optimization in Industrial Engineering 15 (2014) 47-53 Exact ixed Integer Programming for Integrated Scheduling and Process Planning in Flexible Environment ohammad Saidi mehrabad a, Saeed Zarghami
More informationCPU Scheduling. CPU Scheduler
CPU Scheduling These slides are created by Dr. Huang of George Mason University. Students registered in Dr. Huang s courses at GMU can make a single machine readable copy and print a single copy of each
More informationCHAPTER 4. Networks of queues. 1. Open networks Suppose that we have a network of queues as given in Figure 4.1. Arrivals
CHAPTER 4 Networks of queues. Open networks Suppose that we have a network of queues as given in Figure 4.. Arrivals Figure 4.. An open network can occur from outside of the network to any subset of nodes.
More informationOperations Research Letters. Instability of FIFO in a simple queueing system with arbitrarily low loads
Operations Research Letters 37 (2009) 312 316 Contents lists available at ScienceDirect Operations Research Letters journal homepage: www.elsevier.com/locate/orl Instability of FIFO in a simple queueing
More informationScheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling
Scheduling I Today! Introduction to scheduling! Classical algorithms Next Time! Advanced topics on scheduling Scheduling out there! You are the manager of a supermarket (ok, things don t always turn out
More informationSingle-part-type, multiple stage systems
MIT 2.853/2.854 Introduction to Manufacturing Systems Single-part-type, multiple stage systems Stanley B. Gershwin Laboratory for Manufacturing and Productivity Massachusetts Institute of Technology Single-stage,
More informationChe-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University
Che-Wei Chang chewei@mail.cgu.edu.tw Department of Computer Science and Information Engineering, Chang Gung University } 2017/11/15 Midterm } 2017/11/22 Final Project Announcement 2 1. Introduction 2.
More informationProcess Scheduling. Process Scheduling. CPU and I/O Bursts. CPU - I/O Burst Cycle. Variations in Bursts. Histogram of CPU Burst Times
Scheduling The objective of multiprogramming is to have some process running all the time The objective of timesharing is to have the switch between processes so frequently that users can interact with
More informationAlgorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University
Algorithms NP -Complete Problems Dong Kyue Kim Hanyang University dqkim@hanyang.ac.kr The Class P Definition 13.2 Polynomially bounded An algorithm is said to be polynomially bounded if its worst-case
More informationResource-Oriented Petri Nets in Deadlock Avoidance of AGV Systems
Proceedings of the 2001 IEEE International Conference on Robotics & Automation Seoul, Korea May 21-26, 2001 Resource-Oriented Petri Nets in Deadlock Avoidance of AGV Systems Naiqi Wu Department of Mechatronics
More informationCSE 380 Computer Operating Systems
CSE 380 Computer Operating Systems Instructor: Insup Lee & Dianna Xu University of Pennsylvania, Fall 2003 Lecture Note 3: CPU Scheduling 1 CPU SCHEDULING q How can OS schedule the allocation of CPU cycles
More informationThe Tool Switching Problem Revisited
The Tool Switching Problem Revisited Yves Crama HEC Management School, University of Liège, Boulevard du Rectorat, 7 (B31), B-4000 Liège, Belgium, Y.Crama@ulg.ac.be Linda S. Moonen (corresponding author),
More informationA STAFFING ALGORITHM FOR CALL CENTERS WITH SKILL-BASED ROUTING: SUPPLEMENTARY MATERIAL
A STAFFING ALGORITHM FOR CALL CENTERS WITH SKILL-BASED ROUTING: SUPPLEMENTARY MATERIAL by Rodney B. Wallace IBM and The George Washington University rodney.wallace@us.ibm.com Ward Whitt Columbia University
More informationMACHINE DEDICATION UNDER PRODUCT AND PROCESS DIVERSITY. Darius Rohan. IBM Microelectonics Division East Fishkill, NY 12533, U.S.A.
Proceedings of the 1999 Winter Simulation Conference P. A. Farrington, H. B. Nembhard, D. T. Sturrock, and G. W. Evans, eds. MACHINE DEDICATION UNDER PRODUCT AND PROCESS DIVERSITY Darius Rohan IBM Microelectonics
More informationCombinatorial optimization problems
Combinatorial optimization problems Heuristic Algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) Optimization In general an optimization problem can be formulated as:
More informationScheduling I. Today Introduction to scheduling Classical algorithms. Next Time Advanced topics on scheduling
Scheduling I Today Introduction to scheduling Classical algorithms Next Time Advanced topics on scheduling Scheduling out there You are the manager of a supermarket (ok, things don t always turn out the
More informationEDF Feasibility and Hardware Accelerators
EDF Feasibility and Hardware Accelerators Andrew Morton University of Waterloo, Waterloo, Canada, arrmorton@uwaterloo.ca Wayne M. Loucks University of Waterloo, Waterloo, Canada, wmloucks@pads.uwaterloo.ca
More informationElementary Siphons of Petri Nets and Deadlock Control in FMS
Journal of Computer and Communications, 2015, 3, 1-12 Published Online July 2015 in SciRes. http://www.scirp.org/journal/jcc http://dx.doi.org/10.4236/jcc.2015.37001 Elementary Siphons of Petri Nets and
More informationCPU Scheduling. Heechul Yun
CPU Scheduling Heechul Yun 1 Recap Four deadlock conditions: Mutual exclusion No preemption Hold and wait Circular wait Detection Avoidance Banker s algorithm 2 Recap: Banker s Algorithm 1. Initialize
More informationNon-Preemptive and Limited Preemptive Scheduling. LS 12, TU Dortmund
Non-Preemptive and Limited Preemptive Scheduling LS 12, TU Dortmund 09 May 2017 (LS 12, TU Dortmund) 1 / 31 Outline Non-Preemptive Scheduling A General View Exact Schedulability Test Pessimistic Schedulability
More informationPart III: Traveling salesman problems
Transportation Logistics Part III: Traveling salesman problems c R.F. Hartl, S.N. Parragh 1/282 Motivation Motivation Why do we study the TSP? c R.F. Hartl, S.N. Parragh 2/282 Motivation Motivation Why
More informationSession-Based Queueing Systems
Session-Based Queueing Systems Modelling, Simulation, and Approximation Jeroen Horters Supervisor VU: Sandjai Bhulai Executive Summary Companies often offer services that require multiple steps on the
More informationDuration of online examination will be of 1 Hour 20 minutes (80 minutes).
Program Name: SC Subject: Production and Operations Management Assessment Name: POM - Exam Weightage: 70 Total Marks: 70 Duration: 80 mins Online Examination: Online examination is a Computer based examination.
More informationEmbedded Systems 14. Overview of embedded systems design
Embedded Systems 14-1 - Overview of embedded systems design - 2-1 Point of departure: Scheduling general IT systems In general IT systems, not much is known about the computational processes a priori The
More informationThe Asynchronous t-step Approximation for Scheduling Batch Flow Systems
Brigham Young University BYU ScholarsArchive All Theses and Dissertations 2016-06-01 The Asynchronous t-step Approximation for Scheduling Batch Flow Systems David R. Grimsman Brigham Young University Follow
More informationScheduling. Uwe R. Zimmer & Alistair Rendell The Australian National University
6 Scheduling Uwe R. Zimmer & Alistair Rendell The Australian National University References for this chapter [Bacon98] J. Bacon Concurrent Systems 1998 (2nd Edition) Addison Wesley Longman Ltd, ISBN 0-201-17767-6
More informationOperations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras
Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture - 27 Flow Shop Scheduling - Heuristics - Palmer, Campbell Dudek
More informationProvably Correct Persistent Surveillance for Unmanned Aerial Vehicles Subject to Charging Constraints
Provably Correct Persistent Surveillance for Unmanned Aerial Vehicles Subject to Charging Constraints Kevin Leahy, Dingjiang Zhou, Cristian-Ioan Vasile, Konstantinos Oikonomopoulos, Mac Schwager, and Calin
More informationCS 453 Operating Systems. Lecture 7 : Deadlock
CS 453 Operating Systems Lecture 7 : Deadlock 1 What is Deadlock? Every New Yorker knows what a gridlock alert is - it s one of those days when there is so much traffic that nobody can move. Everything
More informationλ 2 1 = 2 = 2 2 2P 1 =4P 2 P 0 + P 1 + P 2 =1 P 0 =, P 1 =, P 2 = ρ 1 = P 1 + P 2 =, ρ 2 = P 1 + P 2 =
Urban Operations Research Compiled by James S. Kang Fall 001 Quiz Solutions 1//001 Problem 1 (Larson, 001) 1 (a) One is tempted to say yes by setting ρ = Nµ = =.But = is not the rate at which customers
More informationA comparison of sequencing formulations in a constraint generation procedure for avionics scheduling
A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling Department of Mathematics, Linköping University Jessika Boberg LiTH-MAT-EX 2017/18 SE Credits: Level:
More information[4] T. I. Seidman, \\First Come First Serve" is Unstable!," tech. rep., University of Maryland Baltimore County, 1993.
[2] C. J. Chase and P. J. Ramadge, \On real-time scheduling policies for exible manufacturing systems," IEEE Trans. Automat. Control, vol. AC-37, pp. 491{496, April 1992. [3] S. H. Lu and P. R. Kumar,
More informationLecture 20 : Markov Chains
CSCI 3560 Probability and Computing Instructor: Bogdan Chlebus Lecture 0 : Markov Chains We consider stochastic processes. A process represents a system that evolves through incremental changes called
More informationCIS 4930/6930: Principles of Cyber-Physical Systems
CIS 4930/6930: Principles of Cyber-Physical Systems Chapter 11 Scheduling Hao Zheng Department of Computer Science and Engineering University of South Florida H. Zheng (CSE USF) CIS 4930/6930: Principles
More informationChapter 3: Discrete Optimization Integer Programming
Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Website: http://home.deib.polimi.it/amaldi/opt-16-17.shtml Academic year 2016-17
More informationReal Time Operating Systems
Real Time Operating ystems hared Resources Luca Abeni Credits: Luigi Palopoli, Giuseppe Lipari, and Marco Di Natale cuola uperiore ant Anna Pisa -Italy Real Time Operating ystems p. 1 Interacting Tasks
More informationControl Synthesis of Discrete Manufacturing Systems using Timed Finite Automata
Control Synthesis of Discrete Manufacturing Systems using Timed Finite utomata JROSLV FOGEL Institute of Informatics Slovak cademy of Sciences ratislav Dúbravská 9, SLOVK REPULIC bstract: - n application
More informationTime-optimal scheduling for high throughput screening processes using cyclic discrete event models
Mathematics and Computers in Simulation 66 2004 181 191 ime-optimal scheduling for high throughput screening processes using cyclic discrete event models E. Mayer a,, J. Raisch a,b a Fachgruppe System
More informationA REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS
A REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS Francesco Basile, Ciro Carbone, Pasquale Chiacchio Dipartimento di Ingegneria Elettrica e dell Informazione, Università
More informationM.SC. MATHEMATICS - II YEAR
MANONMANIAM SUNDARANAR UNIVERSITY DIRECTORATE OF DISTANCE & CONTINUING EDUCATION TIRUNELVELI 627012, TAMIL NADU M.SC. MATHEMATICS - II YEAR DKM24 - OPERATIONS RESEARCH (From the academic year 2016-17)
More informationReal Time Operating Systems
Real Time Operating ystems Luca Abeni luca.abeni@unitn.it Interacting Tasks Until now, only independent tasks... A job never blocks or suspends A task only blocks on job termination In real world, jobs
More informationSlides 9: Queuing Models
Slides 9: Queuing Models Purpose Simulation is often used in the analysis of queuing models. A simple but typical queuing model is: Queuing models provide the analyst with a powerful tool for designing
More informationCMSC 451: Lecture 7 Greedy Algorithms for Scheduling Tuesday, Sep 19, 2017
CMSC CMSC : Lecture Greedy Algorithms for Scheduling Tuesday, Sep 9, 0 Reading: Sects.. and. of KT. (Not covered in DPV.) Interval Scheduling: We continue our discussion of greedy algorithms with a number
More informationDeadlock. CSE 2431: Introduction to Operating Systems Reading: Chap. 7, [OSC]
Deadlock CSE 2431: Introduction to Operating Systems Reading: Chap. 7, [OSC] 1 Outline Resources Deadlock Deadlock Prevention Deadlock Avoidance Deadlock Detection Deadlock Recovery 2 Review: Synchronization
More informationOnline Packet Routing on Linear Arrays and Rings
Proc. 28th ICALP, LNCS 2076, pp. 773-784, 2001 Online Packet Routing on Linear Arrays and Rings Jessen T. Havill Department of Mathematics and Computer Science Denison University Granville, OH 43023 USA
More informationStochastic Optimization
Chapter 27 Page 1 Stochastic Optimization Operations research has been particularly successful in two areas of decision analysis: (i) optimization of problems involving many variables when the outcome
More informationDiscrete Event Systems Exam
Computer Engineering and Networks Laboratory TEC, NSG, DISCO HS 2016 Prof. L. Thiele, Prof. L. Vanbever, Prof. R. Wattenhofer Discrete Event Systems Exam Friday, 3 rd February 2017, 14:00 16:00. Do not
More informationIndustrial Automation (Automação de Processos Industriais)
Industrial Automation (Automação de Processos Industriais) Discrete Event Systems http://users.isr.ist.utl.pt/~jag/courses/api1516/api1516.html Slides 2010/2011 Prof. Paulo Jorge Oliveira Rev. 2011-2015
More informationChapter 29 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M.
29 Markov Chains Definition of a Markov Chain Markov chains are one of the most fun tools of probability; they give a lot of power for very little effort. We will restrict ourselves to finite Markov chains.
More informationCPU SCHEDULING RONG ZHENG
CPU SCHEDULING RONG ZHENG OVERVIEW Why scheduling? Non-preemptive vs Preemptive policies FCFS, SJF, Round robin, multilevel queues with feedback, guaranteed scheduling 2 SHORT-TERM, MID-TERM, LONG- TERM
More information2/5/07 CSE 30341: Operating Systems Principles
page 1 Shortest-Job-First (SJR) Scheduling Associate with each process the length of its next CPU burst. Use these lengths to schedule the process with the shortest time Two schemes: nonpreemptive once
More informationTDDI04, K. Arvidsson, IDA, Linköpings universitet CPU Scheduling. Overview: CPU Scheduling. [SGG7] Chapter 5. Basic Concepts.
TDDI4 Concurrent Programming, Operating Systems, and Real-time Operating Systems CPU Scheduling Overview: CPU Scheduling CPU bursts and I/O bursts Scheduling Criteria Scheduling Algorithms Multiprocessor
More informationSPT is Optimally Competitive for Uniprocessor Flow
SPT is Optimally Competitive for Uniprocessor Flow David P. Bunde Abstract We show that the Shortest Processing Time (SPT) algorithm is ( + 1)/2-competitive for nonpreemptive uniprocessor total flow time
More informationOn Two Class-Constrained Versions of the Multiple Knapsack Problem
On Two Class-Constrained Versions of the Multiple Knapsack Problem Hadas Shachnai Tami Tamir Department of Computer Science The Technion, Haifa 32000, Israel Abstract We study two variants of the classic
More informationNew Theory and Algorithms for Scheduling Arc Shutdown Jobs in Networks
New Theory and Algorithms for Scheduling Arc Shutdown Jobs in Networks Patrick Andersen February 27, 2014 This project explores a recently developed type of scheduling problem that combines the two Operations
More informationKnapsack and Scheduling Problems. The Greedy Method
The Greedy Method: Knapsack and Scheduling Problems The Greedy Method 1 Outline and Reading Task Scheduling Fractional Knapsack Problem The Greedy Method 2 Elements of Greedy Strategy An greedy algorithm
More informationMachine Scheduling with Deliveries to Multiple Customer Locations
This is the Pre-Published Version. Machine Scheduling with Deliveries to Multiple Customer Locations Chung-Lun Li George Vairaktarakis Chung-Yee Lee April 2003 Revised: November 2003 Abstract One important
More informationHYBRID FLOW-SHOP WITH ADJUSTMENT
K Y BERNETIKA VOLUM E 47 ( 2011), NUMBER 1, P AGES 50 59 HYBRID FLOW-SHOP WITH ADJUSTMENT Jan Pelikán The subject of this paper is a flow-shop based on a case study aimed at the optimisation of ordering
More informationChapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation
Chapter 6 Queueing Models Banks, Carson, Nelson & Nicol Discrete-Event System Simulation Purpose Simulation is often used in the analysis of queueing models. A simple but typical queueing model: Queueing
More informationBranch-and-Bound. Leo Liberti. LIX, École Polytechnique, France. INF , Lecture p. 1
Branch-and-Bound Leo Liberti LIX, École Polytechnique, France INF431 2011, Lecture p. 1 Reminders INF431 2011, Lecture p. 2 Problems Decision problem: a question admitting a YES/NO answer Example HAMILTONIAN
More informationDesign of Manufacturing Systems Manufacturing Cells
Design of Manufacturing Systems Manufacturing Cells Outline General features Examples Strengths and weaknesses Group technology steps System design Virtual cellular manufacturing 2 Manufacturing cells
More informationPlanning and Scheduling of batch processes. Prof. Cesar de Prada ISA-UVA
Planning and Scheduling of batch processes Prof. Cesar de Prada ISA-UVA prada@autom.uva.es Outline Batch processes and batch plants Basic concepts of scheduling How to formulate scheduling problems Solution
More informationShared resources. Sistemi in tempo reale. Giuseppe Lipari. Scuola Superiore Sant Anna Pisa -Italy
istemi in tempo reale hared resources Giuseppe Lipari cuola uperiore ant Anna Pisa -Italy inher.tex istemi in tempo reale Giuseppe Lipari 7/6/2005 12:35 p. 1/21 Interacting tasks Until now, we have considered
More informationA lower bound for scheduling of unit jobs with immediate decision on parallel machines
A lower bound for scheduling of unit jobs with immediate decision on parallel machines Tomáš Ebenlendr Jiří Sgall Abstract Consider scheduling of unit jobs with release times and deadlines on m identical
More informationLecture Note #6: More on Task Scheduling EECS 571 Principles of Real-Time Embedded Systems Kang G. Shin EECS Department University of Michigan
Lecture Note #6: More on Task Scheduling EECS 571 Principles of Real-Time Embedded Systems Kang G. Shin EECS Department University of Michigan Note 6-1 Mars Pathfinder Timing Hiccups? When: landed on the
More informationIntuitionistic Fuzzy Estimation of the Ant Methodology
BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 9, No 2 Sofia 2009 Intuitionistic Fuzzy Estimation of the Ant Methodology S Fidanova, P Marinov Institute of Parallel Processing,
More informationVulnerability Analysis of Feedback Systems
Vulnerability Analysis of Feedback Systems Nathan Woodbury Advisor: Dr. Sean Warnick Honors Thesis Defense 11/14/2013 Acknowledgements Advisor Dr. Sean Warnick Honors Committee Dr. Scott Steffensen Dr.
More informationarxiv: v2 [cs.dm] 2 Mar 2017
Shared multi-processor scheduling arxiv:607.060v [cs.dm] Mar 07 Dariusz Dereniowski Faculty of Electronics, Telecommunications and Informatics, Gdańsk University of Technology, Gdańsk, Poland Abstract
More informationSingle-part-type, multiple stage systems. Lecturer: Stanley B. Gershwin
Single-part-type, multiple stage systems Lecturer: Stanley B. Gershwin Flow Line... also known as a Production or Transfer Line. M 1 B 1 M 2 B 2 M 3 B 3 M 4 B 4 M 5 B 5 M 6 Machine Buffer Machines are
More informationSolving a Production Scheduling Problem as a Time-Dependent Traveling Salesman Problem
Solving a Production Scheduling Problem as a Time-Dependent Traveling Salesman Problem GABRIELLA STECCO Department of Applied Mathematics, University Ca Foscari of Venice, Dorsoduro n. 3825/E, 30123 Venice,
More informationMVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg
MVE165/MMG630, Integer linear programming: models and applications; complexity Ann-Brith Strömberg 2011 04 01 Modelling with integer variables (Ch. 13.1) Variables Linear programming (LP) uses continuous
More informationThe Traveling Salesman Problem: An Overview. David P. Williamson, Cornell University Ebay Research January 21, 2014
The Traveling Salesman Problem: An Overview David P. Williamson, Cornell University Ebay Research January 21, 2014 (Cook 2012) A highly readable introduction Some terminology (imprecise) Problem Traditional
More informationRouting. Topics: 6.976/ESD.937 1
Routing Topics: Definition Architecture for routing data plane algorithm Current routing algorithm control plane algorithm Optimal routing algorithm known algorithms and implementation issues new solution
More informationDES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models
4. Petri Nets Introduction Different Classes of Petri Net Petri net properties Analysis of Petri net models 1 Petri Nets C.A Petri, TU Darmstadt, 1962 A mathematical and graphical modeling method. Describe
More informationDynamic Control of Parallel-Server Systems
Dynamic Control of Parallel-Server Systems Jim Dai Georgia Institute of Technology Tolga Tezcan University of Illinois at Urbana-Champaign May 13, 2009 Jim Dai (Georgia Tech) Many-Server Asymptotic Optimality
More informationAlgorithm Design Strategies V
Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin
More informationSolutions to Homework Discrete Stochastic Processes MIT, Spring 2011
Exercise 6.5: Solutions to Homework 0 6.262 Discrete Stochastic Processes MIT, Spring 20 Consider the Markov process illustrated below. The transitions are labelled by the rate q ij at which those transitions
More informationThe Markov Decision Process (MDP) model
Decision Making in Robots and Autonomous Agents The Markov Decision Process (MDP) model Subramanian Ramamoorthy School of Informatics 25 January, 2013 In the MAB Model We were in a single casino and the
More informationNon-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions
Non-Work-Conserving Non-Preemptive Scheduling: Motivations, Challenges, and Potential Solutions Mitra Nasri Chair of Real-time Systems, Technische Universität Kaiserslautern, Germany nasri@eit.uni-kl.de
More informationAperiodic Task Scheduling
Aperiodic Task Scheduling Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund, Informatik 12 Germany Springer, 2010 2017 年 11 月 29 日 These slides use Microsoft clip arts. Microsoft copyright
More information