1 Single Machine Deterministic Models Jobs: J 1, J 2,..., J n Assumptions: The machine is always available throughout the scheduling period. The machine.

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
1 IOE/MFG 543 Chapter 8: Open shops Section 8.1 (you may skip Sections 8.2 – 8.5)
Mehdi Kargahi School of ECE University of Tehran
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 Project Scheduling Contents 1. Problem Statement 2. Critical Path Method 3. Extensions to the classical project scheduling problems Literature Operations.
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 3: Single machine models (Sections 3.1 and 3.2)
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.
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 Set #1 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
1 IOE/MFG 543* Chapter 1: Introduction *Based in part on material from Izak Duenyas, University of Michigan, Scott Grasman, University of Missouri, Rakesh.
1 Set # 3 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
1 Set # 4 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
1 IOE/MFG 543 Chapter 3: Single machine models (Sections )
1 IOE/MFG 543 Chapter 10: Single machine stochastic models Sections 10.1 and 10.4 You may skip Sections
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
Scheduling and Scheduling Philosophies By Nilesh Sivaramakrishnan For IEM 5303.
Introduction to LEKIN Gareth Beddoe
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.
Extensions of the Basic Model Chapter 6 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
1 Operations Scheduling Act I – The Single Machine Problem General problem: given processing times, setups times, due dates, and job flows on machines.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Outline Introduction Minimizing the makespan Minimizing total flowtime
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
Outline Schedule and scheduling Mathematical models
Network Flows. Menger ’ s Theorem Theorem 7.1. (Menger [1927] ) Let G be a graph (directed or undirected), let s and t be two vertices, and k  N. Then.
Earliness and Tardiness Penalties Chapter 5 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
Algorithm Design Methods 황승원 Fall 2011 CSE, POSTECH.
1 Simulated Annealing Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Single-Machine Sequencing with Independent Jobs Chapter 2 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R4.
1 Job Shop Scheduling. 2 Job shop environment: m machines, n jobs objective function Each job follows a predetermined route Routes are not necessarily.
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.
Approximation Algorithms for Scheduling
Some Topics in OR.
Richard Anderson Lecture 26 NP-Completeness
Job Shop Scheduling Contents 1. Problem Statement 2. Disjunctive Graph
Lecture 8: Dispatch Rules
Parallel Machines (Q||ΣCi , Q|pmtn|ΣCi , R||ΣCi , R|pmtn|Cmax, R|pmtn|Lmax) Lesson 8.
Project Scheduling Contents 1. Problem Statement
Design and Analysis of Algorithm
Deterministic Models: Preliminaries
General Purpose Procedures Applied to Scheduling
Deterministic Models: Preliminaries
Sequencing and Scheduling Introduction and Chapter 1
Richard Anderson Lecture 6 Greedy Algorithms
Richard Anderson Autumn 2016 Lecture 7
Richard Anderson Lecture 7 Greedy Algorithms
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
Sequencing Sequencing: Determine the order in which jobs at a work center will be processed. Workstation: An area where one person works, usually with.
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 Single Machine Deterministic Models Jobs: J 1, J 2,..., J n Assumptions: The machine is always available throughout the scheduling period. The machine cannot process more than one job at a time. Each job must spend on the machine a prescribed length of time.

J1J1 J2J2 J3J3... S(t)S(t) t

3 Requirements that may restrict the feasibility of schedules: precedence constraints no preemptions release dates deadlines * Whether some feasible schedule exist? NP hard Objective function f is used to compare schedules. f(S) < f(S') whenever schedule S is considered to be better than S' problem of minimising f(S) over the set of feasible schedules.

4 1. Completion Time Models Due date related objectives: 2. Lateness Models 3. Tardiness Models 4. Sequence-Dependent Setup Problems

5 Completion Time Models Contents 1. An algorithm which gives an optimal schedule with the minimum total weighted completion time 1 ||  w j C j 2. An algorithm which gives an optimal schedule with the minimum total weighted completion time when the jobs are subject to precedence relationship that take the form of chains 1 | chain |  w j C j

6 Literature: Scheduling, Theory, Algorithms, and Systems, Michael Pinedo, Prentice Hall, 1995, or new: Second Addition, 2002, Chapter 3.

7 1 ||  w j C j Theorem. The weighted shortest processing time first rule (WSPT) is optimal for 1 ||  w j C j WSPT: jobs are ordered in decreasing order of w j /p j The next follows trivially: The problem 1 ||  C j is solved by a sequence S with jobs arranged in nondecreasing order of processing times.

8 Proof. By contradiction. S is a schedule, not WSPT, that is optimal. j and k are two adjacent jobs such that which implies that w j p k < w k p j t t + p j + p k j k S:S: t kj S’S’... S: (t+p j ) w j + (t+p j +p k ) w k = t w j + p j w j + t w k + p j w k + p k w k S’: (t+p k ) w k + (t+p k +p j ) w j = t w k + p k w k + t w j + p k w j + p j w j the completion time for S’ < completion time for S contradiction!

9 1 | chain |  w j C j chain 1: 1  2 ...  k chain 2: k+1  k+2 ...  n Lemma. If the chain of jobs 1,...,k precedes the chain of jobs k+1,...,n. Let l* satisfy  factor of chain 1,...,k l* is the job that determines the  factor of the chain

10 Lemma. If job l* determines  (1,...,k), then there exists an optimal sequence that processes jobs 1,...,l* one after another without interruption by jobs from other chains. Algorithm Whenever the machine is free, select among the remaining chains the one with the highest  factor. Process this chain up to and including the job l* that determines its  factor.

11 Example chain 1: 1  2  3  4 chain 2:5  6  7  factor of chain 1 is determined by job 2: (6+18)/(3+6)=2.67  factor of chain 2 is determined by job 6: (8+17)/(4+8)=2.08 chain 1 is selected: jobs 1, 2  factor of the remaining part of chain 1 is determined by job 3: 12/6=2  factor of chain 2 is determined by job 6: 2.08 chain 2 is selected: jobs 5, 6

12  factor of the remaining part of chain 1 is determined by job 3: 2  factor of the remaining part of chain 2 is determined by job 7: 18/10=1.8 chain 1 is selected: job 3  factor of the remaining part of chain 1 is determined by job 4: 8/5=1.6  factor of the remaining part of chain 2 is determined by job 7: 1.8 chain 2 is selected: job 7 job 4 is scheduled last the final schedule: 1, 2, 5, 6, 3, 7, 4

13 1 | prec |  w j C j * Polynomial time algorithms for the more complex precedence constraints than the simple chains are developed. * The problems with arbitrary precedence relation are NP hard. * 1 | r j, prmp |  w j C j preemptive version of the WSPT rule does not always lead to an optimal solution, the problem is NP hard * 1 | r j, prmp |  C j preemptive version of the SPT rule is optimal * 1 | r j |  C j is NP hard

14 Summary * 1 ||  w j C j WSPT rule * 1 | chain |  w j C j a polynomial time algorithm is given * 1 | prec |  w j C j with arbitrary precedence relation is NP hard * 1 | r j, prmp |  w j C j the problem is NP hard * 1 | r j, prmp |  C j preemptive version of the SPT rule is optimal * 1 | r j |  C j is NP hard