Classification of Scheduling Problems

Slides:



Advertisements
Similar presentations
On the Complexity of Scheduling
Advertisements

Operations Scheduling
Machine scheduling Job 1Job 3 Job 4 Job 5Machine 1 Machine 2 time 0C max Job 2.
CPE555A: Real-Time Embedded Systems
Reservation Systems TimeTabling
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.
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.
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 6 SCHEDULING E
1 Set # 4 Dr. LEE Heung Wing Joseph Phone: Office : HJ639.
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Lot sizing and scheduling
Due Date Quotation Models and Algorithms Yiming Shan.
15.082J and 6.855J and ESD.78J November 2, 2010 Network Flow Duality and Applications of Network Flows.
INTRODUCTION TO SCHEDULING
Job-shop Scheduling n jobs m machines No recirculation – Jobs do not revisit the same machine (i, j) is referred to as an operation in which job j is processed.
EHSAN KHODDAM MOHAMMADI MILAD GANJALIZADEH BABAK YADEGARI First Steps to Study SCHEDULING بسم الله الرحمن الرحيم.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Production SchedulingP.C. Chang, IEM, YZU. 1 Modeling: Parameters Typical scheduling parameters: Number of resources (m machines, operators) Configuration.
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.
CSC 8420 Advanced Operating Systems Georgia State University Yi Pan.
Outline Introduction Minimizing the makespan Minimizing total flowtime
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
Operational Research & ManagementOperations Scheduling Economic Lot Scheduling 1.Summary Machine Scheduling 2.ELSP (one item, multiple items) 3.Arbitrary.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
Session 10 University of Southern California ISE514 September 24, 2015 Geza P. Bottlik Page 1 Outline Questions? Comments? Quiz Introduction to scheduling.
Outline Schedule and scheduling Mathematical models
Introduction to Real-Time Systems
1 JOB SEQUENCING WITH DEADLINES The problem is stated as below. There are n jobs to be processed on a machine. Each job i has a deadline d i ≥ 0 and profit.
Problems in Combinatorial Optimization. Linear Programming.
Production systems Scheduling of batch processing.
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.
Embedded System Scheduling
Scheduling with Constraint Programming
Approximation Algorithms for Scheduling
Some Topics in OR.
Response time analysis in real-time distributed automotive systems
Job Shop Scheduling Contents 1. Problem Statement 2. Disjunctive Graph
Chapter 8 Local Ratio II. More Example
CHAPTER 8 Operations Scheduling
Basic Project Scheduling
Assignment Problem, Dynamic Programming
Parallel Machines (Q||ΣCi , Q|pmtn|ΣCi , R||ΣCi , R|pmtn|Cmax, R|pmtn|Lmax) Lesson 8.
Basic Project Scheduling
Shop Scheduling Problem
Implications of Classical Scheduling Results For Real-Time Systems
Deterministic Models: Preliminaries
The basics of scheduling
Deterministic Models: Preliminaries
Introduction to Maximum Flows
Modeling Scheduling Problems
Introduction to Scheduling Chapter 1
Richard Anderson Lecture 6 Greedy Algorithms
Efficient Approaches to Scheduling
Planning and Scheduling in Manufacturing and Services
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
Topic 15 Job Shop Scheduling.
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
Flexible Assembly Systems
Network Flow Duality and Applications of Network Flows
Richard Anderson Autumn 2019 Lecture 7
Presentation transcript:

Classification of Scheduling Problems The scheduling of computer and manufacturing systems has been the subject of extensive research for over sixty years. In addition to computers and manufacturing, scheduling theory can be applied to many areas including agriculture, hospitals, transport and others.

Scheduling The scheduling of computer and manufacturing systems has been the subject of extensive research for over sixty years. In addition to computers and manufacturing, scheduling theory can be applied to many areas including agriculture, hospitals, transport and others. The main focus is on the efficient allocation of one or more resources to activities over time. Adopting manufacturing terminology we use the notions of jobs and machines.

Scheduling Problems Jobs Machines Jj ( j = 1, ... , n ) Mk (k = 1, ... , m ) 1 3 Suppose that m machines … have to process n jobs. 2 A Schedule is for each job an allocation of one or more time intervals on one or more machines.

Gantt Charts t t M1 J3 J2 M2 J2 J1 J3 M3 J1 J3 J1 J4 J1 M1 M2 M1 J2 M2 J1 M1 M2 M1 Schedules may be represented by Gantt charts … Gantt charts may be machine-oriented or job-oriented J2 M2 M3 J3 M3 M1 M2 J4 M1 t

Job Data Machines Job Ji i4 Operations M1 M5 M3 M2 M6 M4 pi4,k Oi1 A job can consist of a number of operations. A set of machines is associated with each operation Oij. We assume that Oij may be processed on any of the machines in \muij. Besides the processing time of operation Oij on machine Mk is given. Oi4 i4 pi4,k

Dedicated Machines Ji All ij are one element sets. M1 M2 M3 M4 pi4 Oi1 M1 Ji Oi2 M2 Oi3 M3 In our course we will consider the following two basic models. First when each operation have to be executed on the given machine. Oi4 M4 pi4

Parallel Machines Ji All ij are equal to the set of all machines. M1 Oi1 M1 Ji Oi2 M3 M2 Oi3 Second each operation may be processed on any of all machines. M4 Oi4

Job Data pij is a processing requirement associated with operation Oij, ri is a release date of job Ji. di is a due date of job Ji. wi is a weight of job Ji. fi(t) is a cost function which measures the cost of completing Ji at time t. Depending on the problem the following characteristics are given for jobs.

Starting and Completion time si(σ) is the starting time of job Ji in schedule σ. Ci(σ) is the completion time of job Ji in schedule σ. We denote the starting time of job Ji by si()

Optimal Schedule A schedule is feasible if no time intervals on the same machine overlap, if no time intervals allocated to the same job overlap, and if, in addition, it meets a number of problem-specific characteristics. A schedule is optimal if it minimizes a given optimality criterion.

|β|γ classification  specifies the machine environment, β specifies the job characteristics, γ denotes the optimality criterion. We will discuss a large variety of classes of scheduling problems. These classes are specified in terms of a three-field classification.

Job Characteristics β1 = pmtn indicates that preemption is allowed. Otherwise β1 does not appear in β. β2 = prec describes precedence relation between jobs. If β3 = rj then release dates may be specified for each job. If rj = 0 for all jobs then β3 does not appear in β. β4 specifies restrictions on the processing times or on the number of operations. If β5 = dj then a deadline dj is specified for each job Ji. β6 = batch indicates a batching problem.

Preemption (β1 = pmtn ) Preemption of a job or operation means that processing may be interrupted and resumed at a later time, even on another machine. A job or operation may be interrupted several times. M1 J3 J2 M2 J2 J1 J3 M3 J1 J4 J1 t s2 C2

Precedence relations G = (V,A) (i,k)  A  Ji must be completed before Jk starts (Ji → Jk). 3 7 1 4 8 J3 → J8 5 J2 → J5 The precedence relations may be represented by an acyclic directed graph …., where V corresponds with the jobs, and arc (i,k) means that Jj must ………….. In this case we write …….. 9 2 6 10 β2 = prec : an arbitrary acyclic directed graph.

Batching Problem A batch is a set of jobs must be processed successively on a machine. The finish time of all jobs in a batch is defined to be equal to the finish time of the last job in the batch. There is a set up time s for each batch. We assume that this setup time is the same for all batches and sequence independent. A batching problem is to group jobs into batches and to schedule these batches. In some scheduling applications, set of jobs must be grouped into batches.

Example of Batching Schedule - Set up times - Jobs i Batch 2 1 2 4 6 5 3 t C2 = C4 = C6

Machine Environment α1 = P : identical parallel machines. α1 = Q : uniform parallel machines. α1 = R : unrelated parallel machines. α1 = F : flow shop. α1 = O : open shop. α1 = J : job shop. If α2 is equal to a positive integer 1, 2, ... then α2 denotes the number of machines. If α2 = k then k is an arbitrary but fixed number of machines. If the number of machines is arbitrary we set α2 = ○.

Identical Parallel Machines Each job Ji consists of a single operation. pij = pi for all machines Mj. 12 M1 J1 p1 = 12 12 M2 18 18 J2 p2 = 18 18 12 M3

Uniform Parallel Machines Each job Ji consists of a single operation. pij = pi ∕ sj for all machines Mj. 12 M1 s1 = 1 J1 p1 = 12 6 M2 18 s1 = 2 9 J2 p2 = 18 6 4 M3 s1 = 3

Unrelated Parallel Machines Each job Ji consists of a single operation. Processing time of job can be different on each machine. 12 M1 J1 14 M2 10 8 J2 18 2 M3

Open Shop Each job Ji consists of a set of operations. The machines are dedicated. There are no precedence relations between operations Ji M1 Jk Oi1 Ok1 M2 Oi2 Ok2 M3 Oi3 Ok3 M4 Oi4 Ok4

Flow Shop Each job Ji consists of a set of operations. The machines are dedicated. Oi1→ Oi2→ Oi3→...→ Oin for i = 1 ,..., n. Ji M1 Jk Oi1 Ok1 M2 Oi2 Ok2 M3 Oi3 Ok3 M4 Oi4 Ok4

Feasible Schedules Open Shop: Flow Shop: Ok1 Oi1 Oi2 Ok2 Oi3 Ok3 Ok4

Job Shop Ji Jk M1 M2 M3 Each job Ji consists of a set of operations. The machines are dedicated. Oi1→ Oi2→ Oi3→...→ Oin for i = 1 ,..., n. Ji Jk M1 Oi1 Ok1 M2 Oi2 Ok2 Oi3 M3 Ok3 Oi4

Total cost function

Optimality criteria

Functions depend on due dates

Some Definitions An objective function which is monotone with respect to all variables Ci is called regular. A schedule is called active if it is not possible to schedule jobs (operations) early without violating some constraint. A schedule is called semiactive if no job (operation) can be processed earlier without changing the processing order or violating the constraints.

Example 1 (P|prec,pi=1|Cmax) 5 2 m = 2 1 4 7 3 6 Cmax = 5 M1 3 5 M2 1 2 4 6 7 t

Example 2 (1|batch|ΣwiCi) 3 4 5 6 pi wi s = 1 2 3 1 5 4 6 1 3 4 10 11 15 t ΣwiCi = 2·3+(1+4+4)·10+(1+4)·15=171

Example 3 (1|ri; pmtn|Lmax) 2 3 4 pi ri 7 di 8 Lmax = 4 1 2 3 1 4 r1 r2= r3 r4 t d1 d2 d3 d4

Example 4 (J3|pij=1|Cmax) 2 3 4 M1 M3 M2 5 1 5 4 3 1 4 M1 M2 2 5 1 M3 5 3 1 4 5 2 t

Exercises Suppose γ, γ1 and γ2 are regular objective functions. Which of the following are regular? If you say a function is regular, prove it. If you say otherwise, give an example to show that it is not. w1γ1+w2γ2, for w1, w2 > 0. γ1– γ2 . ecγ, for some c > 0. γ1 / γ2 . Given an instance of J||γ, where γ is a regular objective function, show that there exists an active schedule which is optimal.