1 IOE/MFG 543 Chapter 5: Parallel machine models (Sections 5.3-5.6)

Slides:



Advertisements
Similar presentations
On the Complexity of Scheduling
Advertisements

Machine scheduling Job 1Job 3 Job 4 Job 5Machine 1 Machine 2 time 0C max Job 2.
Algorithm Design Methods Spring 2007 CSE, POSTECH.
Lecture 6: Job Shop Scheduling Introduction
FLOW SHOPS: F2||Cmax. FLOW SHOPS: JOHNSON'S RULE2 FLOW SHOP SCHEDULING (n JOBS, m MACHINES) n JOBS BANK OF m MACHINES (SERIES) n M1 M2Mm.
1 IOE/MFG 543 Chapter 8: Open shops Section 8.1 (you may skip Sections 8.2 – 8.5)
ISE480 Sequencing and Scheduling Izmir University of Economics ISE Fall Semestre.
Lateness Models Contents
Spring, Scheduling Operations. Spring, Scheduling Problems in Operations Job Shop Scheduling. Personnel Scheduling Facilities Scheduling.
THE SINGLE MACHINE EARLY/TARDY PROBLEM* PENG SI OW & THOMAS E. MORTON IE Paper Presentation A. İrfan Mahmutoğulları *Ow, P. S., & Morton, T. E. (1989).
AMA522 SCHEDULING Set # 2 Dr. LEE Heung Wing Joseph
1 Logic-Based Benders Methods for Planning and Scheduling John Hooker Carnegie Mellon University August 2003.
1 IOE/MFG 543 Chapter 3: Single machine models (Sections 3.1 and 3.2)
1 IOE/MFG 543 Chapter 11: Stochastic single machine models with release dates.
1 IOE/MFG 543 Chapter 5: Parallel machine models (Sections )
Completion Time Scheduling Notes from Hall, Schulz, Shmoys and Wein, Mathematics of Operations Research, Vol 22, , 1997.
1 Tardiness Models Contents 1. Moor’s algorithm which gives an optimal schedule with the minimum number of tardy jobs 1 ||  U j 2. An algorithm which.
1 Single Machine Deterministic Models Jobs: J 1, J 2,..., J n Assumptions: The machine is always available throughout the scheduling period. The machine.
Chapter 2: Model of scheduling problem Components of any model: Decision variables –What we can change to optimize the system, i.e., model output Parameters.
1 IOE/MFG 543* Chapter 1: Introduction *Based in part on material from Izak Duenyas, University of Michigan, Scott Grasman, University of Missouri, Rakesh.
Approximation Algorithms
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Sections : Dispatching rules and filtered beam search.
1 IOE/MFG 543 Chapter 6: Flow shops Sections 6.1 and 6.2 (skip section 6.3)
Deterministic Scheduling
1 IOE/MFG 543 Chapter 3: Single machine models (Sections )
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
1 IOE/MFG 543 Chapter 10: Single machine stochastic models Sections 10.1 and 10.4 You may skip Sections
LP formulation of Economic Dispatch
10/31/02CSE Greedy Algorithms CSE Algorithms Greedy Algorithms.
Minimizing Makespan and Preemption Costs on a System of Uniform Machines Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir Univ. of Washington Gerhard.
Lecture 8: Dispatch Rules
INTRODUCTION TO SCHEDULING
EHSAN KHODDAM MOHAMMADI MILAD GANJALIZADEH BABAK YADEGARI First Steps to Study SCHEDULING بسم الله الرحمن الرحيم.
University Dortmund Faculty of Electrical Engineering Computer Engineering Institute Scheduling Problems and Solutions Uwe Schwiegelshohn CEI University.
Operational Research & ManagementOperations Scheduling Introduction Operations Scheduling 1.Setting up the Scheduling Problem 2.Single Machine Problems.
SOFTWARE / HARDWARE PARTITIONING TECHNIQUES SHaPES: A New Approach.
Extensions of the Basic Model Chapter 6 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
Workforce scheduling – Days off scheduling 1. n is the max weekend demand n = max(n 1,n 7 ) Surplus number of employees in day j is u j = W – n j for.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Outline Introduction Minimizing the makespan Minimizing total flowtime
Advanced Operating Systems - Spring 2009 Lecture 14 – February 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office.
Parallel Machine Scheduling
Earliness and Tardiness Penalties Chapter 5 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
Prof. Yuan-Shyi Peter Chiu
1 BECO 2004 When can one develop an FPTAS for a sequential decision problem? with apologies to Gerhard Woeginger James B. Orlin MIT working jointly with.
Raunak Singh (ras2192) IEOR 4405: Production Scheduling 28 th April 2009.
Product A Product B Product C A1A1 A2A2 A3A3 B1B1 B2B2 B3B3 B4B4 C1C1 C3C3 C4C4 Turret lathes Vertical mills Center lathes Drills From “Fundamentals of.
Great Theoretical Ideas in Computer Science.
Approximation Algorithms for Scheduling Lecture 11.
Linear program Separation Oracle. Rounding We consider a single-machine scheduling problem, and see another way of rounding fractional solutions to integer.
Some Topics in OR.
Algorithm Design Methods
CHAPTER 8 Operations Scheduling
Basic Project Scheduling
Lecture 8: Dispatch Rules
Parallel Machines (Q||ΣCi , Q|pmtn|ΣCi , R||ΣCi , R|pmtn|Cmax, R|pmtn|Lmax) Lesson 8.
Deterministic Models: Preliminaries
Chapter 6. Large Scale Optimization
Chapter 6: Flow shops Sections 6.1 and 6.2 (skip section 6.3)
Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Integer Programming (정수계획법)
IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Sections : Dispatching rules and filtered beam search.
Algorithm Design Methods
Single Machine Deterministic Models
Chapter 1. Formulations.
Algorithm Design Methods
Chapter 6. Large Scale Optimization
Presentation transcript:

1 IOE/MFG 543 Chapter 5: Parallel machine models (Sections )

2 Section 5.3: Total completion time Pm||  C j On a single machine On a single machine C j =  k=1  p (k) C j =  k=1  p (k) where p (j) is the processing time of the jth job processed on the machine Then Then  C j =np (1) +(n-1)p (2) +...+p (n) => Shortest Processing Time first rule minimizes  C j => Shortest Processing Time first rule minimizes  C j j

3 Total completion time Pm||  C j (2) The same argument can be extended to parallel machines The same argument can be extended to parallel machines Theorem Theorem –The SPT rule is optimal for Pm||  C j In fact, a number of optimal schedules exist In fact, a number of optimal schedules exist

4 Weighted total completion time Pm||  w j C j WSPT rule is not always optimal WSPT rule is not always optimal In practice it usually does pretty well In practice it usually does pretty well Worst case bound Worst case bound  w j C j (WSPT) < 1 (1+√2) ≈ 1.2  w j C j (OPT) 2

5 Other completion time models Precedence constraints Pm|prec|  C j Precedence constraints Pm|prec|  C j –Strongly NP-hard Non-identical machines Rm||  C j Non-identical machines Rm||  C j –Can be formulated as an integer program –The solution of the corresponding linear program gives an optimal schedule => Can be solved in polynomial time

6 Section 5.4: Preemptions Pm|prmp|  C j The SPT non-preemptive rule is still optimal The SPT non-preemptive rule is still optimal –A special case of a more general result for Qm|prmp|  C j Recall: v i is the speed on machine i in Qm models Recall: v i is the speed on machine i in Qm models –p j can be interpreted as the required work to complete job j (processing time = p j /v i )

7 Qm|prmp|  C j SRPT-FM rule: SRPT-FM rule: –Process the jobs such that the job with the shortest remaining processing time is put on the fastest machine. The job with the second shortest remaining processing time is put on the second fastest machine, etc. –Whenever the fastest machine completes a job, all the remaining jobs are moved up on the machines Theorem Theorem –The SRPT-FM rule is optimal for Qm|prmp|  C j

8 Example Qm|prmp|  C j 4 machines 4 machines 7 jobs 7 jobs Use the SRPT-FM to solve Qm|prmp|  C j Use the SRPT-FM to solve Qm|prmp|  C j machine i 1234 vivivivi4221 job j pjpjpjpj

9 Section 5.5 Due date related objectives Single machine problems that can be solved “easily” Single machine problems that can be solved “easily” –e.g., 1|prec|L max, 1|r j,prmp|L max Single machine tardiness problems (1||  T j ) are NP-hard Single machine tardiness problems (1||  T j ) are NP-hard If all due dates are 0 If all due dates are 0 –Then Pm||L max is equivalent to Pm||C max => Pm||L max is NP-hard

10 Qm|prmp|L max One of few parallel machine problems that can be solved in polynomial time One of few parallel machine problems that can be solved in polynomial time First question: Is there a schedule such that L max ≤ z ? First question: Is there a schedule such that L max ≤ z ? –This can be formulated (backwards) as Qm|r j,prmp|C max –Let d j =d j +z be a hard deadline

11 Qm|prmp|L max (2) Solve the problem backwards Solve the problem backwards –Find the job k with the latest deadline –Let r k =0 and r j =d k -d j Solve Qm|r j,prmp|C max by applying LRPT-FM Solve Qm|r j,prmp|C max by applying LRPT-FM –The backward schedule is optimal for Qm|prmp|L max

12 Example P2|prmp|L max 4 jobs 4 jobs Let z=0 Let z=0 Solve P2|r j,prmp|C max by LRPT rule Solve P2|r j,prmp|C max by LRPT rule job j 1234 pjpjpjpj3338 djdjdjdj pjpjpjpj3338 rjrjrjrj5410

13 Section 5.6 Discussion Parallel machine models are much harder than single machine models! Parallel machine models are much harder than single machine models! Later in the course we will study heuristics that can be used to obtain “good” schedules Later in the course we will study heuristics that can be used to obtain “good” schedules