1 IOE/MFG 543 Chapter 3: Single machine models (Sections 3.1 and 3.2)

Slides:



Advertisements
Similar presentations
Algorithm Design Methods Spring 2007 CSE, POSTECH.
Advertisements

Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Chapter 3 Workforce scheduling.
Branch and Bound Example. Initial lower bound Jrpd Use 1 machine preemptive schedule as lower bound Job 2 has a lateness of 5,
1 IOE/MFG 543 Chapter 8: Open shops Section 8.1 (you may skip Sections 8.2 – 8.5)
Evaluating Heuristics for the Fixed-Predecessor Subproblem of Pm | prec, p j = 1 | C max.
ISE480 Sequencing and Scheduling Izmir University of Economics ISE Fall Semestre.
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Lateness Models Contents
1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Exercise 2: Scheduling Real-Time Aperiodic Tasks.
Spring, Scheduling Operations. Spring, Scheduling Problems in Operations Job Shop Scheduling. Personnel Scheduling Facilities Scheduling.
1 IOE/MFG 543 Chapter 5: Parallel machine models (Sections )
AMA522 SCHEDULING Set # 2 Dr. LEE Heung Wing Joseph
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.
Ecole Polytechnique, Nov 7, Minimizing Total Completion Time Each job specified by  procesing time (length p j )  release time r j Goal: compute.
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.
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 6 SCHEDULING E
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)
1 Set # 3 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
Deterministic Scheduling
1 Set # 4 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
1 IOE/MFG 543 Chapter 3: Single machine models (Sections )
Online Scheduling of Precedence Constrained Tasks Yumei Huo Department of Computer Science New Jersey Institute.
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.
1 IOE/MFG 543 Chapter 10: Single machine stochastic models Sections 10.1 and 10.4 You may skip Sections
Minimizing Flow Time on Multiple Machines Nikhil Bansal IBM Research, T.J. Watson.
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
University Dortmund Faculty of Electrical Engineering Computer Engineering Institute Scheduling Problems and Solutions Uwe Schwiegelshohn CEI University.
© J. Christopher Beck Lecture 5: Project Planning 2.
Operational Research & ManagementOperations Scheduling Introduction Operations Scheduling 1.Setting up the Scheduling Problem 2.Single Machine Problems.
Extensions of the Basic Model Chapter 6 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
Production SchedulingP.C. Chang, IEM, YZU. 1 Modeling: Parameters Typical scheduling parameters: Number of resources (m machines, operators) Configuration.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 8.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Operational Research & ManagementOperations Scheduling Project Scheduling 1.Project Planning (revisited) 2.Resource Constrained Project Scheduling 3.Parallel.
6. Application mapping 6.1 Problem definition
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.
Earliness and Tardiness Penalties Chapter 5 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
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.
Branch-and-Bound & Beam-Search. Branch and bound Enumeration in a search tree each node is a partial solution, i.e. a part of the solution space... root.
Single-Machine Sequencing with Independent Jobs Chapter 2 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R4.
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.
Single Machine Scheduling Problem Lesson 5. Maximum Lateness and Related Criteria Problem 1|r j |L max is NP-hard.
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.
Solving IPs – Implicit Enumeration Similar to Binary IP Branch and Bound General Idea: Fixed variables – those for which a value has been fixed. Free Variable.
Approximation Algorithms for Scheduling
Some Topics in OR.
Chapter 6: CPU Scheduling
Richard Anderson Lecture 6 Greedy Algorithms
Richard Anderson Autumn 2016 Lecture 7
Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Richard Anderson Lecture 7 Greedy Algorithms
Branch and Bound Example
IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Sections : Dispatching rules and filtered beam search.
Richard Anderson Winter 2019 Lecture 7
Single Machine Deterministic Models
Richard Anderson Autumn 2015 Lecture 7
Richard Anderson Autumn 2019 Lecture 7
Presentation transcript:

1 IOE/MFG 543 Chapter 3: Single machine models (Sections 3.1 and 3.2)

2 Sec. 3.1: The total weighted completion time 1||  w j C j Criteria for scheduling Criteria for scheduling –Shorter jobs processed first => more jobs finish early –The higher the weight the earlier a job should finish Weighted shortest processing time first rule (WSPT) Weighted shortest processing time first rule (WSPT) –order the jobs in decreasing order of w j /p j Theorem Theorem –The WSPT is optimal for 1||  w j C j

3 Precedence constraints Chains 1  2 ...  k Chains 1  2 ...  k  -factor (largest ratio of weight and processing times)  -factor (largest ratio of weight and processing times)

4 Algorithm for chains 1.Whenever a machine is freed, schedule among the remaining chains the one with the highest  –factor 2.Process this chain without interruption up to and including the job l* that determines the  –factor Do example on slide 7

5 1|| Σw j (1-e -rC j ) Weighted discounted shortest processing time first rule (WDSPT) Weighted discounted shortest processing time first rule (WDSPT) –Order jobs in non-increasing order of w j e -rp j w j e -rp j 1-e -rp j 1-e -rp j –Gives the optimal schedule (Thm ) Algorithms for chains also exist Algorithms for chains also exist

6 Summary of other completion time models 1 | prec |  w j C j with arbitrary precedence relation strongly NP-hard 1 | r j, prmp |  w j C j NP-hard 1 | r j, prmp |  C j SRPT rule 1 | r j |  C j NP-hard

7 Example There are 2 chains There are 2 chains 1  2  3  4 and 5  6  7 The weights and processing times are The weights and processing times are Determine the schedule that minimizes the total weighted completion time Determine the schedule that minimizes the total weighted completion time job j wjwjwjwj pjpjpjpj

8 Section 3.2 The maximum lateness Due date related Due date related The problem 1 || L max is easy The problem 1 || L max is easy –For a single machine problem with regular objective functions C max =  p j –L max =max i  {1,…,n} L i (L i =C i -d i ) –Select jobs in increasing order of their due dates => earliest due date first rule (EDD)

9 Backward algorithm for 1| prec | h max h max =max(h 1 (C 1 ),…,h n (C n )) h max =max(h 1 (C 1 ),…,h n (C n )) –The functions h i are nondecreasing J is the set of jobs already scheduled J is the set of jobs already scheduled –Jobs in J are processed in the interval J c is the set of jobs still to be scheduled J c is the set of jobs still to be scheduled J' is the set of jobs that can be scheduled (schedulable jobs) J' is the set of jobs that can be scheduled (schedulable jobs) [ C max -   p j, C max ] j  J j  J

10 Algorithm for 1|prec|h max 1.Set J= , J c ={1,…,n} and let J' be all jobs that have no successors 2.Determine Add j* to J Delete j* from J c Modify J' to represent the new set of schedulable jobs (have no successors) 3.If J c =  STOP, otherwise go to 2

11 Example Use Algorithm to determine the schedule that minimizes h max and compute the optimal value Use Algorithm to determine the schedule that minimizes h max and compute the optimal value job j 123 pjpjpjpj235 h j (C j ) 1+ C C 2 10

12 Theorem Algorithm yields an optimal schedule for 1 | prec | h max Algorithm yields an optimal schedule for 1 | prec | h max Proof: Proof:

13 Release dates 1 | r j | L max Significantly harder than 1 | prec | L max Significantly harder than 1 | prec | L max It may be optimal to keep the machine idle to wait for the release of a new job (not a nondelay schedule) It may be optimal to keep the machine idle to wait for the release of a new job (not a nondelay schedule) Theorem Theorem –The problem 1 | r j | L max is strongly NP- hard –Reduces from 3- PARTITION

14 Branch and bound A method of effective enumeration A method of effective enumeration –Generate a node tree Compute the objective of a feasible schedule (feasible node) Compute the objective of a feasible schedule (feasible node) Compute lower bounds for a class of schedules (node) Compute lower bounds for a class of schedules (node) The node can be eliminated if the lower bound is higher than the cost of a schedule obtained earlier The node can be eliminated if the lower bound is higher than the cost of a schedule obtained earlier

15 Branch and bound for 1 | r j | L max Branching Branching –Level 0 : single node and no jobs have been scheduled –Level 1 : n nodes such that job j is scheduled first at node j –Level k : jobs in the first k positions have been specified

16 Branch and bound for 1 | r j | L max (2) Branching Branching –At a node let J be the set of jobs that have not been scheduled –Also let t be the time when a job can start processing at the node –Only create a node for job j at the node if r j <min l  J (max(t,r l )+p l )

17 Branch and bound for 1 | r j | L max (3) Bounding Bounding –At each node compute the optimal value using 1 | r j, prmp | L max for the remaining jobs –Preemptive EDD rule is optimal for 1 | r j, prmp | L max –If the preemptive solution gives a non- preemptive schedule then it is feasible

18 Example Use branch and bound to determine the schedule for 1 | r j | L max and compute the optimal value for Use branch and bound to determine the schedule for 1 | r j | L max and compute the optimal value for job j 1234 pjpjpjpj4265 rjrjrjrj0135 djdjdjdj