Approximation Algorithms for Scheduling Lecture 11.

Slides:



Advertisements
Similar presentations
1 Chapter 8 Approximation Algorithms (Part II). 2 Outline Scheduling Independent tasks Bin packing.
Advertisements

Covers, Dominations, Independent Sets and Matchings AmirHossein Bayegan Amirkabir University of Technology.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
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)
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
Lateness Models Contents
1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Exercise 2: Scheduling Real-Time Aperiodic Tasks.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Spring, Scheduling Operations. Spring, Scheduling Problems in Operations Job Shop Scheduling. Personnel Scheduling Facilities Scheduling.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
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 Single Machine Deterministic Models Jobs: J 1, J 2,..., J n Assumptions: The machine is always available throughout the scheduling period. The machine.
1 Set # 3 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
Load Balancing, Multicast routing, Price of Anarchy and Strong Equilibrium Computational game theory Spring 2008 Michal Feldman.
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
1 Set # 4 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Ecole Polytechnique, Nov 11, List Scheduling on Related Machines processors Related machines: machines may have different speeds  0.25 
1 IOE/MFG 543 Chapter 3: Single machine models (Sections )
The Stackelberg Minimum Spanning Tree Game J. Cardinal, E. Demaine, S. Fiorini, G. Joret, S. Langerman, I. Newman, O. Weimann, The Stackelberg Minimum.
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
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.
INTRODUCTION TO SCHEDULING
A Study on Two-machine Flowshop Scheduling Problem with an Availability Constraint Team: Tianshu Guo Yixiao Sha Jun Tian.
1 Approximation Algorithm Instructor: yedeshi
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
9/8/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Adam Smith Algorithm Design and Analysis L ECTURE 6 Greedy Algorithms.
Operational Research & ManagementOperations Scheduling Introduction Operations Scheduling 1.Setting up the Scheduling Problem 2.Single Machine Problems.
1 Combinatorial Algorithms Parametric Pruning. 2 Metric k-center Given a complete undirected graph G = (V, E) with nonnegative edge costs satisfying the.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Approximation Schemes Open Shop Problem. O||C max and Om||C max {J 1,..., J n } is set of jobs. {M 1,..., M m } is set of machines. J i : {O i1,..., O.
5.2 Trees  A tree is a connected graph without any cycles.
The Stackelberg Minimum Spanning Tree Game J. Cardinal, E. Demaine, S. Fiorini, G. Joret, S. Langerman, I. Newman, O. Weimann, The Stackelberg Minimum.
6. Application mapping 6.1 Problem definition
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.
1 Chapter 5-1 Greedy Algorithms Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Problems in Combinatorial Optimization. Linear Programming.
11 -1 Chapter 12 On-Line Algorithms On-Line Algorithms On-line algorithms are used to solve on-line problems. The disk scheduling problem The requests.
Feb 23, 2010 University of Liverpool Minimizing Total Busy Time in Parallel Scheduling with Application to Optical Networks Michele Flammini – University.
The Stackelberg Minimum Spanning Tree Game J. Cardinal, E. Demaine, S. Fiorini, G. Joret, S. Langerman, I. Newman, O. Weimann, The Stackelberg Minimum.
Single Machine Scheduling Problem Lesson 5. Maximum Lateness and Related Criteria Problem 1|r j |L max is NP-hard.
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.
Chapter 5 Limits and Continuity.
Chapter 7 Integration.
Assignment Problem, Dynamic Programming
Chapter 3 The Real Numbers.
Shop Scheduling Problem
Computability and Complexity
Chapter 16: Greedy Algorithms
Lecture 11 Overview Self-Reducibility.
Richard Anderson Lecture 6 Greedy Algorithms
Richard Anderson Autumn 2016 Lecture 7
Richard Anderson Lecture 7 Greedy Algorithms
Selfish Load Balancing
György Dósa – M. Grazia Speranza – Zsolt Tuza:
Richard Anderson Winter 2019 Lecture 7
Single Machine Deterministic Models
Richard Anderson Autumn 2015 Lecture 7
Kleene’s Theorem (Part-3)
IE 3265 – POM R. Lindeke Spring 2005
Richard Anderson Autumn 2019 Lecture 7
Presentation transcript:

Approximation Algorithms for Scheduling Lecture 11

P |r j, prec |L max Now we consider the problem to schedule n jobs on m parallel identical processors with precedence constraints between these jobs. Also each job has release date and delivery time and the objective is to minimize the maximum delivery-completion time (equivalent to “ lateness ” ) of any job.

List Scheduling In this model we modify the definition of list scheduling so that whenever the machine becomes available we process the next available job on the list, meaning one that has been released and whose predecessors have all completed processing.

Algorithm LS Theorem 11.1 (Hall & Schmoys [1989]) List scheduling is a 2-approximation algorithm for the scheduling problem P|r j, prec |L max.

Proof J1J1 q1q1 0 Consider a schedule produced by the algorithm, and let J 1 be a job whose delivery completion time attains that of the schedule.

Idea of Proof We will partition the total time of the schedule into two sets of intervals such that the total time of the intervals belonging to each of the sets is bounded above by OPT. Thus, the constructed schedule will have L max  2OPT.

Proof J1J1 q1q1 t1t1 J2J2 0 Consider the latest time t 1 before starting time of J 1 that some machine is idle.

Proof J1J1 q1q1 t1t1 J2J2 t2t2 J3J3 0 Consider the latest time t 2 before starting time of J 2 that some machine is idle.

Proof J1J1 q1q1 t1t1 J2J2 t2t2 t3t3 J3J3 r4r4 0 J4J4 We construct a string of jobs whereby job J k is not available before t k because t k  r k.

Proof J1J1 q1q1 t1t1 J2J2 t2t2 t3t3 J3J3 r4r4 0 J4J4

The LPT Rule for P||C max JkJk M1M1 M2M2 M3M3 M4M4 sksk CkCk t = 0 We apply list scheduling, ordering the job list by non-decreasing processing times: p 1 ≥ p 2 ≥... ≥ p n and J k is the job that completes last.

The LPT Rule for P||C max JkJk M1M1 M2M2 M3M3 M4M4 sksk CkCk t = 0 We apply list scheduling, ordering the job list by non-decreasing processing times: p 1 ≥ p 2 ≥... ≥ p n and J k is the job that completes last.

The LPT Rule for P||C max JkJk M1M1 M2M2 M3M3 M4M4 sksk CkCk t = 0 We apply list scheduling, ordering the job list by non-decreasing processing times: p 1 ≥ p 2 ≥... ≥ p n and J k is the job that completes last.

J h+ 1 J h+ 2 M m-3 M2M2 M3M3 M4M4 sksk CkCk t = 0 J1J1 J2J2 J 2m - h = J k J3J3 J4J4 M1M1 M m-2 M m-1 MmMm J 2m – h - 1 h W.l.o.g. we assume that is J k the last job on the list, since otherwise we can truncate the instance at this point and obtain a new instance on which LPT performs at least as badly relative to the optimal schedule.

J h+ 1 J h+ 2 M m-3 M2M2 M3M3 M4M4 sksk CkCk t = 0 J1J1 J2J2 J 2m - h = J k J3J3 J4J4 M1M1 M m-2 M m-1 MmMm J 2m – h - 1 h

The LPT Rule for P||C max Theorem 11.2 (Graham [1966])

Tight Instances t = 0 3l + 4 3l + 2 3l3l 2l + 2 t = 0 4l - 2 4l - 4 4l - 6 4l - 8 2l + 4 3l 3l - 2 3l - 4 2l + 8 2l + 6 2l LPT schedule OPT schedule 6l6l 8l - 4 3l + 4 3l + 2 3l3l 4l - 2 4l - 4 4l - 6 4l - 8 3l 3l - 2 3l - 4 3l - 6 3l - 8 2l + 4 2l + 2 2l

P|r j |C max We may consider a dynamic version of the LPT rule in the case that jobs have release dates; whenever a machine is idle, schedule a longest available (already released) job, if there is one.

The LPT Rule for P|r j |C max Theorem 11.3 (Chen & Vestjens [1995])

Proof (by contradiction)

Last Job Let J l be the last job to finish in the LPT schedule.

Last Job Let J l be the last job to finish in the LPT schedule.

Last Job Let J l be the last job to finish in the LPT schedule. JlJl slsl rlrl There are m jobs undergoing processing just before J l begins.

Non-empty Interval J j begins after r l JlJl slsl rlrl J j begins before r l p j ≥ p l There is a non-empty interval [t s, t f ], before r l, during which some machine is idle.

Bound on p l Lemma 11.4 Let t f be the latest point before r l that some machine is idle. Then,

Proof of Lemma 11.4 JlJl slsl rlrl tsts tftf Type 1 Type 2 + J l (LPT) Let us fix an optimal schedule σ*. Now two of these m + 1 jobs must be scheduled on the same machine in σ*. Denote these jobs J 1 and J 2. Consider again the m jobs that are processing just before J l begins.

Case 1: J 1 is a Type-1 job. JlJl slsl rlrl J1J1 tsts tftf (LPT) r1r1 s1s1

Case 2: J 1 is a Type-2 job. JlJl slsl rlrl J1J1 tsts tftf (LPT) r1r1 s1s1

Special Job Lemma 11.5 In the LPT schedule, some job begins at or before t s and completes at or after t f. Proof. Suppose that such a job did not exist. Consider the set J of jobs that begin processing after time t s in the LPT schedule.

Proof of Lemma 11.5 JlJl slsl tsts tftf (LPT) Set J

Proof of Lemma 11.5 (2) JlJl slsl tsts tftf (LPT) Set J

Proof of Theorem 11.3 JlJl slsl tsts tftf (LPT) JjJj sjsj rjrj 

Proof of Theorem 11.3 (2) JlJl slsl tsts tftf (LPT) JjJj sjsj rjrj 

Proof of Theorem 11.3(3) JlJl slsl tsts tftf (LPT) JjJj sjsj rjrj 

End of Proof