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.

Slides:



Advertisements
Similar presentations
1 Tabu Search Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Advertisements

Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Knapsack Problem Section 7.6. Problem Suppose we have n items U={u 1,..u n }, that we would like to insert into a knapsack of size C. Each item u i has.
MIT and James Orlin © Dynamic Programming 1 –Recursion –Principle of Optimality.
ISE480 Sequencing and Scheduling Izmir University of Economics ISE Fall Semestre.
Operations Scheduling
Greedy Algorithms Be greedy! always make the choice that looks best at the moment. Local optimization. Not always yielding a globally optimal solution.
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 )
Dynamic Programming Part 1: intro and the assembly-line scheduling problem.
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 Single Machine Deterministic Models Jobs: J 1, J 2,..., J n Assumptions: The machine is always available throughout the scheduling period. The machine.
MIT and James Orlin © Dynamic Programming 2 –Review –More examples.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Sections : Dispatching rules and filtered beam search.
1 Set # 3 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
Accept or Reject: Can we get the work done in time? Marjan van den Akker Joint work with Han Hoogeveen.
Deterministic Scheduling
1 Set # 4 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
1 IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Section 14.4: Local search (Simulated annealing and tabu search)
1 IOE/MFG 543 Chapter 3: Single machine models (Sections )
Dynamic Programming 0-1 Knapsack These notes are taken from the notes by Dr. Steve Goddard at
Material Management 2010 Mid-Term Exam-#2 Solution By: Prof. Y. Peter Chiu 5 / 2010.
1 Dynamic Programming Jose Rolim University of Geneva.
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Getting rid of stochasticity (applicable sometimes) Han Hoogeveen Universiteit Utrecht Joint work with Marjan van den Akker.
16.Greedy algorithms Hsu, Lih-Hsing. Computer Theory Lab. Chapter 16P An activity-selection problem Suppose we have a set S = {a 1, a 2,..., a.
INTRODUCTION TO SCHEDULING
Introduction to LEKIN Gareth Beddoe
Contents of Chapter 5 Chapter 5 Dynamic Programming
Operational Research & ManagementOperations Scheduling Introduction Operations Scheduling 1.Setting up the Scheduling Problem 2.Single Machine Problems.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Extensions of the Basic Model Chapter 6 Elements of Sequencing and Scheduling by Kenneth R. Baker Byung-Hyun Ha R1.
1 Fuzzy Scheduling Contents 1. Introduction to Fuzzy Sets 2. Application of Fuzzy Sets to Scheduling Problems 3. A Genetic Algorithm for Fuzzy Flowshop.
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
Dynamic Programming Discrete time frame Multi-stage decision problem Solves backwards.
Tuesday, April 30 Dynamic Programming – Recursion – Principle of Optimality Handouts: Lecture Notes.
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 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Simulated Annealing Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
1 Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations Genetic Algorithm (GA)
1 CPSC 320: Intermediate Algorithm Design and Analysis July 30, 2014.
1 Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations Simulated Annealing (SA)
1 Job Shop Scheduling. 2 Job shop environment: m machines, n jobs objective function Each job follows a predetermined route Routes are not necessarily.
1 4.7 TIME ALIGNMENT AND NORMALIZATION Linear time normalization:
Single Machine Scheduling Problem Lesson 5. Maximum Lateness and Related Criteria Problem 1|r j |L max is NP-hard.
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Dynamic Programming Sequence of decisions. Problem state.
Algorithm Design Methods
Job Shop Scheduling Contents 1. Problem Statement 2. Disjunctive Graph
CHAPTER 8 Operations Scheduling
4.7 TIME ALIGNMENT AND NORMALIZATION
Project Scheduling Contents 1. Problem Statement
General Purpose Procedures Applied to Scheduling
Dynamic Programming General Idea
Sequencing and Scheduling Introduction and Chapter 1
Lecture 11 Overview Self-Reducibility.
4.7 TIME ALIGNMENT AND NORMALIZATION
Dynamic Programming General Idea
Algorithm Design Methods
IOE/MFG 543 Chapter 14: General purpose procedures for scheduling in practice Sections : Dispatching rules and filtered beam search.
Algorithm Design Methods
Dynamic Programming 動態規劃
Single Machine Deterministic Models
Advance Algorithm Dynamic Programming
Algorithm Design Methods
Presentation transcript:

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 gives an optimal schedule with the minimum total tardiness 1 ||  T j Literature: Scheduling, Theory, Algorithms, and Systems, Michael Pinedo, Prentice Hall, 1995, Chapters 3.3 and 3.4 or new: Second Addition, 2002, Chapter 3.

2 Optimal schedule has this form j d 1,...,j d k, j t 1,...,j t l Notation Jset of jobs already scheduled J C set of jobs still to be scheduled J d set of jobs already considered for scheduling, but which have been discarded because they will not meet their due date in the optimal schedule meet their due dates EDD rule do not meet their due dates Moor’s algorithm for 1 ||  U j

3 Step 1. J =  J d =  J C = {1,...,n} Step 2. Let j* be such that Add j* to J Delete j* from J C Step 3. If else let k* be such that Delete k* from J Add k* to J d Step 4. If J d =  STOP else go to Step 2. then go to Step 4.

4 Example J = , J d = , J C = {1,...,5} j*=1J = {1}, J d = , J C = {2, 3, 4, 5}, t=7 < 9 = d j*=2J = {1, 2}, J d = , J C = {3, 4, 5}, t=15 < 17 = d 2 j*=3J = {1, 2, 3}, J d = , J C = {4, 5}, t=19 > 18 = d 3 k*=2J = {1, 3}, J d = {2}, t=11

5 j*=4J = {1, 3, 4}, J d = {2}, J C = {5}, t=17 < 19 = d 4 j*=5J = {1, 3, 4, 5}, J d = {2}, J C = , t=23 > 21 = d 5 k*=1J = {3, 4, 5}, J d = {2, 1}, t=16 < 21 = d 5 optimal schedule 3, 4, 5, 1, 2  U j =

6 The Total Tardiness 1 ||  T j is NP hard Lemma. If p j < p k and d j < d k then there exists an optimal sequence in which job j is scheduled before job k. d 1 ...  d n and p k = max(p 1,..., p n ) {1,...,k-1} any order k {k+1,...,n} Lemma.There exists an integer , 0    n-k such that there is an optimal schedule S in which job k is preceded by jobs j  k +  and followed by jobs j > k + . k {1,...,k-1, k+1,..., k+  } any order {k+  +1,..., n} any order completion time of job k

7 PRINCIPLE OF OPTIMALITY, Bellman An optimal policy has the property that whatever the initial state and the initial decision are, the remaining decisions must constitute an optimal policy with regard to the state resulting from the first decision. Algorithm Dynamic programming procedure: recursively the optimal solution for some job set J starting at time t is determined from the optimal solutions to subproblems defined by job subsets of S*  S with start times t*  t. J(j, l, k) contains all the jobs in a set {j, j+1,..., l} with processing time  p k V( J(j, l, k), t)total tardiness of the subset under an optimal sequence if this subset starts at time t

8 Initial conditions: V( , t) = 0 V( { j }, t ) = max (0, t + p j - d j ) Recursive conditions: where k' is such that p k' = max ( p j' | j'  J(j, l, k) ) Optimal value function is obtained for V( { 1,...,n }, 0 )

9 Example k'=3, 0    2 d k' = d 3 = 266 V( J(1, 3, 3), 0) = 01, 2 C 2 = 200 < 266 = d 2 T 1 + T 2 = 0 2, 1 C 1 = 200 < 260 = d 1 T 2 + T 1 = 0 C 3 (0) - d 3 = = = 81

10 V( J(4, 5, 3), 347) 4, 5 T 4 = = 94 T 5 = = 229 T 4 + T 4 = 317 5, 4 T 5 = = 140 T 4 = = 224 T 5 + T 4 = 364 C 3 (1) - d 3 = = = 164 C 3 (2) - d 3 = = = 294 V( J(1, 4, 3), 0)=0achieved with the sequence 1, 2, 4 and 2, 1, 4 V( J(5, 5, 3), 430)=223 V( J(1, 5, 3), 0)=76achieved with the sequence 1, 2, 4, 5 and 2, 1, 4, 5 V( , 560)=0 optimal sequences: 1, 2, 4, 5, 3 and 2, 1, 4, 5, 3

11 Summary * 1 ||  U j forward algorithm * 1 ||  w j U j is NP hard * 1 ||  T j is NP hard, pseudo-polynomial algorithm based on dynamic programming