Scheduling: Open Shop Problems. R. Chandrasekaran

Similar documents
LPT rule: Whenever a machine becomes free for assignment, assign that job whose. processing time is the largest among those jobs not yet assigned.

Algorithm Design. Scheduling Algorithms. Part 2. Parallel machines. Open-shop Scheduling. Job-shop Scheduling.

Approximation Algorithms for scheduling

Approximation Algorithms (Load Balancing)

Lecture 2: Scheduling on Parallel Machines

This means that we can assume each list ) is

On Machine Dependency in Shop Scheduling

An improved approximation algorithm for two-machine flow shop scheduling with an availability constraint

CMSC 722, AI Planning. Planning and Scheduling

Minimizing Mean Flowtime and Makespan on Master-Slave Systems

Single Machine Models

Lecture 13. Real-Time Scheduling. Daniel Kästner AbsInt GmbH 2013

On Preemptive Scheduling on Uniform Machines to Minimize Mean Flow Time

No-Idle, No-Wait: When Shop Scheduling Meets Dominoes, Eulerian and Hamiltonian Paths

Single Machine Scheduling with a Non-renewable Financial Resource

Partition is reducible to P2 C max. c. P2 Pj = 1, prec Cmax is solvable in polynomial time. P Pj = 1, prec Cmax is NP-hard

A lower bound on deterministic online algorithms for scheduling on related machines without preemption

P C max. NP-complete from partition. Example j p j What is the makespan on 2 machines? 3 machines? 4 machines?

arxiv: v2 [cs.dm] 2 Mar 2017

Contents college 5 and 6 Branch and Bound; Beam Search (Chapter , book)! general introduction

Single Machine Problems Polynomial Cases

Priority-driven Scheduling of Periodic Tasks (1) Advanced Operating Systems (M) Lecture 4

A note on proving the strong NP-hardness of some scheduling problems with start time dependent job processing times

1 Ordinary Load Balancing

RCPSP Single Machine Problems

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i

Preemptive Online Scheduling: Optimal Algorithms for All Speeds

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

HYBRID FLOW-SHOP WITH ADJUSTMENT

Planning and Scheduling of batch processes. Prof. Cesar de Prada ISA-UVA

CSE101: Design and Analysis of Algorithms. Ragesh Jaiswal, CSE, UCSD

Complexity of preemptive minsum scheduling on unrelated parallel machines Sitters, R.A.

Schedulability analysis of global Deadline-Monotonic scheduling

Embedded Systems 14. Overview of embedded systems design

CS 370. FCFS, SJF and Round Robin. Yashwanth Virupaksha and Abhishek Yeluri

Scheduling Lecture 1: Scheduling on One Machine

The polynomial solvability of selected bicriteria scheduling problems on parallel machines with equal length jobs and release dates

Minimizing the weighted completion time on a single machine with periodic maintenance

Approximation Schemes for Parallel Machine Scheduling Problems with Controllable Processing Times

Real-time Scheduling of Periodic Tasks (2) Advanced Operating Systems Lecture 3

4 Sequencing problem with heads and tails

Embedded Systems Development

Scheduling Online Algorithms. Tim Nieberg

arxiv: v1 [cs.ds] 6 Jun 2018

Rate-monotonic scheduling on uniform multiprocessors

Minimizing the total flow-time on a single machine with an unavailability period

Real-Time Systems. Lecture #14. Risat Pathan. Department of Computer Science and Engineering Chalmers University of Technology

Lecture 4 Scheduling 1

On the Soft Real-Time Optimality of Global EDF on Multiprocessors: From Identical to Uniform Heterogeneous

FH2(P 2,P2) hybrid flow shop scheduling with recirculation of jobs

The Power of Preemption on Unrelated Machines and Applications to Scheduling Orders

Flow Shop and Job Shop Models

Process Scheduling. Process Scheduling. CPU and I/O Bursts. CPU - I/O Burst Cycle. Variations in Bursts. Histogram of CPU Burst Times

arxiv:cs/ v1 [cs.ds] 18 Oct 2004

Exact Mixed Integer Programming for Integrated Scheduling and Process Planning in Flexible Environment

Real-time Systems: Scheduling Periodic Tasks

On-line Scheduling to Minimize Max Flow Time: An Optimal Preemptive Algorithm

Parallel machines scheduling with applications to Internet ad-slot placement

Approximation Schemes for Job Shop Scheduling Problems with Controllable Processing Times

Heuristics Algorithms For Job Sequencing Problems

Solving a Production Scheduling Problem as a Time-Dependent Traveling Salesman Problem

Combinatorial Structure of Single machine rescheduling problem

Logic-based Benders Decomposition

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

There are three priority driven approaches that we will look at

Networked Embedded Systems WS 2016/17

The makespan problem of scheduling multi groups of jobs on multi processors at different speeds

Real-Time Systems. Event-Driven Scheduling

Scheduling on Unrelated Parallel Machines. Approximation Algorithms, V. V. Vazirani Book Chapter 17

Scheduling for Parallel Dedicated Machines with a Single Server

PREEMPTIVE RESOURCE CONSTRAINED SCHEDULING WITH TIME-WINDOWS

Metode şi Algoritmi de Planificare (MAP) Curs 2 Introducere în problematica planificării

Polynomially solvable and NP-hard special cases for scheduling with heads and tails

Real-time operating systems course. 6 Definitions Non real-time scheduling algorithms Real-time scheduling algorithm

CS521 CSE IITG 11/23/2012

Research Article Minimizing the Number of Tardy Jobs on a Single Machine with an Availability Constraint

An on-line approach to hybrid flow shop scheduling with jobs arriving over time

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on

Time-optimal scheduling for high throughput screening processes using cyclic discrete event models

A comparison of sequencing formulations in a constraint generation procedure for avionics scheduling

Santa Claus Schedules Jobs on Unrelated Machines

Memorandum COSOR 97-23, 1997, Eindhoven University of Technology

Single machine scheduling with forbidden start times

SCHEDULING UNRELATED MACHINES BY RANDOMIZED ROUNDING

Research Article Batch Scheduling on Two-Machine Flowshop with Machine-Dependent Setup Times

Multi-agent scheduling on a single machine to minimize total weighted number of tardy jobs

2 Martin Skutella modeled by machine-dependent release dates r i 0 which denote the earliest point in time when ob may be processed on machine i. Toge

CHAPTER 16: SCHEDULING

Lecture 4: Products of Matrices

Single Machine Scheduling with Job-Dependent Machine Deterioration

Non-clairvoyant Scheduling Games

HEURISTICS FOR TWO-MACHINE FLOWSHOP SCHEDULING WITH SETUP TIMES AND AN AVAILABILITY CONSTRAINT

Heuristics for two-machine flowshop scheduling with setup times and an availability constraint

General Scheduling Model and

Real-Time k-bounded Preemptive Scheduling

APTAS for Bin Packing

Real-Time Scheduling

Proofs for all the results presented in the body of the article are presented below: ProofofLemma1:Consider a Nash schedule S where x O i > P i

Real-time Scheduling of Periodic Tasks (1) Advanced Operating Systems Lecture 2

Scheduling Lecture 1: Scheduling on One Machine

Transcription:

Scheduling: Open Shop Problems R. Chandrasekaran

0.0.1 O C max Non-preemptive: Thissectiondealswithopenshopproblems. Herewehaveasetofjobsanda set of machines. Each job requires processing by each machine(if some jobs do not require processing by a machine, then we set the appropriate time tozero). Letp j,i denote the duration job i requires on machine j;1 i n;1 j m. Inthissectionweconsiderm=,andwhennopreemptionis allowed. We wish to minimize the makespan. Let α=max[ n p 1,i ; i=1 n n p,i ; max {p 1,i+p,i }] i=1 j=1 Clearly, C max (S) α S. (Actually asimilarresultistrueforallm). Weshowequalityform=. Withoutlossofgenerality,letussupposethat ni=1 p 1,i n j=1 p,i ;p 1,1 +p,1 =max 1 i n {p 1,i +p,i }. Case(i): p 1,1 +p,1 min[ n i=1 p 1,i, n i=1 p,i ]= n i=1 p,i Thisimpliesthatp 1,1 i 1p,i. Considerthescheduleshowninthe figure below: p 1,1 p,1 Thisschedulehaslengthequaltomax[p 1,1 +p,1 ; n i=1 p 1,i ]=α. Case(ii): p 1,1 +p,1 <min[ n i=1 p 1,i, n i=1 p,i ]= n i=1 p,i Let = n i=1 p 1,i n i=1 p,i 0;p,1 = p,1 + ; p j,i = p j,i for i 1; j;p 1,1=p 1,1. n n p,i= i=1 i=1 p 1,i=α p 1,1+p,1= n max i=1 {p 1,i+p,i} Thus,ifweshowtheresultforthiscase,itfollowsforothercases. Note thatthevalueofαhasnotchanged. 1

Now we use the LAPT Largest Alternate Processing Time Rule for obtaining the schedule. (Actually this works for the previous case aswell;itwaseasiertoprovethisway). Whenever a machine is free, load the job which requires the largest processing time on the OTHER machine from among all jobs that still have not been processed by either machine(if they are available). Then process the remaining jobs in the same order that they were processed on the other machine. Let S j be the set of jobs which are processed first by machine j;1 j. Lett j betheinstantoftimewhenallofthejobsinthesets j finishonmachinej;1 j. Seefigurebelow: t 1 S 1 S i t 3 t If S = 1, then we have a case similar to (i). So, we suppose that this is not the case. At instant t 1, there can be no jobs that require processing on both machines(else, the algorithm would load such a job onmachine1,contradictingthedefinitionofthesets 1 ). Hencealljobs inthesets exceptpossiblythelastone,canbeprocessedonmachine 1att 1. Clearly,alljobsinS 1 canbeprocessedonmachineatt. Let t 3 bethelastinstantajobins getsloadedonmachine(t 3 <t 1 );and letthisjobbei. ToshowthatthelastjobinS canalsobeprocessed onmachine1withoutanidleperiod,weneedtoshowthat Recall p 1,k t t 1 p 1,k +p 1,i =α k S 1 p 1,k =α t 1

The rule LAPT selects jobs so that the processing time on the other machine is the largest. Since S >1,andall jobs ins otherthan i wereselectedbeforeibylapt,wehave Therefore, p 1,k p 1,i p 1,k α t 1 Since jobs not in S [which are in S 1 ] have larger processing time on machinethanthoseins,withthepossibleexceptionofjobi,because weareusinglaptrule, Hence α t t t 3 = p,k k S {i} t 1 + p 1,k α+t 1 α+t 3 t Hence,noneofthejobsinS haveidletimesonmachine1. Sincenone of the jobs in S 1 have idle times on machine, the schedule length equalsmax[ n i=1 p 1,i ; n i=1 p,i ]=α. Hencethescheduleisoptimal. Now we turn to preemptive schedules. 0.0. O C max Preemptive: Clearly C max max[max m j=1 ni=1 p j,i ;max n i=1 mj=1 p j,i ] = α. We show that this value can always be achieved. We demonstrate this by an example which clearly illustrates the proof of its optimality as well. 3

Example1 m=3;n=4: 15 30 15 15 40 5 15 40 5 15 45 0 15 5 30 30 60 15 15 15 15 5 5 15 5 5 45 0 5 30 15 45 15 15 15 10 5 15 10 5 30 0 10 15 15 30 5 15 15 5 5 10 5 0 10 10 15 5 0 4

5 5 5 5 5 5 10 10 5 5 10 5 5 5 5 5 5 5 Clearly, this schedule is optimal. Some improvements can be made as shown by the following example; Example m=6;n=6 But this can be reduced to the previous example with lower values for m and n by condensing jobs and machines as shown below: 5

5 10 15 30 10 5 40 10 5 10 15 10 5 5 Bycombiningmachines{1,},{3},{4,5,6}intothreesupermachinesand jobs{1,},[3,4},{5},{6}intofoursuperjobs,wegetthepreviousexample. (Note that there are better combinations possible; however, finding the best is an NP-hard problem.) The durations are the total of these respective jobs on these respective machines. Finally we unscramble the schedule as shown below: Forexamplethejobs{3,4}onmachines{4,5}haveatotalof40units ofprocessing. Thiscorrespondstosuperjobonsupermachine3. The40 units are arbitrarily broken down to suit the original jobs on the original machines with no overlapping. Nowwecanusethismodeltoalsosolvetheparallelmachinecase(both identical and unrelated) with non-overlapping preemption. We show the more general case of unrelated machines. Recall the LP: minz ni=1 t j,i x j,i z;1 j m mj=1 t j,i x j,i z;1 i n mj=1 x j,i =1;1 i n x j,i 0 Herethevariablesx j,i denotethefractionofthejobidoneonmachine j. Once we get the values of the variables in an optimal solution, we can calculatethedurationt j,i x j,i requiredforeachjoboneachmachine. Nowif weletp j,i =t j,i x j,i andfindan openshoppreemptive schedule, we getthe required answer to the original problem. 6