Download presentation

Presentation is loading. Please wait.

Published byCristian Crust Modified about 1 year ago

1
Chapter 15 Short-term Scheduling 1

2
Outline ► Introduction ► Loading Jobs: Assignment Method ► Sequencing Jobs ► One-machine sequencing ► Two-machine sequencing

3
INTRODUCTION 3

4
Introduction Scheduling is the process by which the production or service plan is implemented. Scheduling determines where and when a job is to be processed. A scheduling is a timetable for performing activities, utilizing resources, or allocating facilities. 4

5
Introduction 5 Two issues Loading: to which machine a job should be assigned Sequencing: in what order the jobs assigned to a machine should be processed

6
Introduction Five printing jobs (1, 2, 3, 4, and 5) are received from local customers and each of them may be done on either of the two high-speed copiers (A and B) in the shop. Scheduling the five jobs calls for a two-step procedure. 1.Determine to which copier each job should be assigned (i.e., loading). 2.Determine the order in which the jobs assigned to each copier should be processed (i.e., sequencing) jobcopier A B Loading: assign jobs 1, 2 and 4 to copier A; assign jobs 3 and 5 to copier B Sequencing: 2 then 1 then 4 on A; 5 then 3 on B 6

7
Importance of Short-Term Scheduling ▶ Effective and efficient scheduling can be a competitive advantage ▶ Faster movement of goods through a facility means better use of assets and lower costs ▶ Additional capacity resulting from faster throughput improves customer service through faster delivery ▶ Good schedules result in more dependable deliveries

8
LOADING JOBS Assignment Method 8

9
Loading 9 Assignment method: Quantitative technique for identifying the optimal job-machine pairings Goal is to allocate one and only one job to one and only one machine such that the total cost is as low as possible Arrange information into a square matrix called the assignment matrix

10
Loading Procedure For each row in the original matrix, subtract the smallest number from each of the numbers 2. For each column in the new matrix, subtract the smallest number from each of the numbers 3. Determine the minimum number of (horizontal or vertical) lines needed to cover all the zeros in the existing matrix. If this is equal to the number of rows (or columns) of the square matrix, go to Step (5); otherwise, go to Step (4) 4. Two sub-steps a) Subtract the smallest uncovered number from each of the uncovered numbers in the matrix b) Add the same smallest uncovered number to every number where two covering lines intersect. Go to Step (3) 5. Start with any row or column containing only one zero (a tie can be broken arbitrarily), match the "job" and the "machine" associated with the zero and then exclude them from further consideration by drawing a horizontal line and a vertical line. Repeat the same process until the complete assignments have been made.

11
Example 1 11 The XYZ Corporation produces four products (A, B, C, and D), which can be manufactured by any of the four machines (1, 2, 3, and 4) in the Production Department. Because of expensive set-up costs, each product is usually produced by one and only one machine. Given the following cost data (in dollars), determine the product-machine assignments such that the total cost is minimized. What is the minimum total cost? 1234 A B C D Assignment Matrix

12
Solution A B C D Assignment Matrix Step 1: For each row in the original matrix, subtract the smallest number from each of the numbers A B C D Step 2: For each column in the new matrix, subtract the smallest number from each of the numbers 1234 A B C 2000 D1000 Step 3: Determine the minimum number of (horizontal or vertical) lines needed to cover all the zeros. If this is equal to the number of rows (or columns) of the square matrix, go to Step (5); otherwise, go to Step (4) 1234 A B C 2000 D lines to cover all zeros Matrix includes 4 lines Thus, 4 = 4 Step 5: Starting with any row or column containing only one zero, match the "job" and the "machine" associated with the zero and then exclude them from further consideration. Repeat the same process until the complete assignments have been made 1234 A B C 2000 D1000 A 1 B 2 D 3 C 4 Total cost = = $90

13
13 Example 2 At Valley Hospital in Tyler, TX, nurses beginning a new shift report to a central area to receive their primary patient assignments. Not every nurse is as efficient as another with particular kinds of patients. Given the following patient roster, list of nurses, and estimated task times (in minutes), which nurse should take care of which patient so that the total amount of time needed to complete the routine tasks on this shift will be as small as possible? What is the minimum total time requirement? Nurse 1Nurse 2Nurse 3Nurse 4 Jones Hawkins Becker Sweeney Assignment Matrix

14
Solution 14 N1N2N3N4 J H B S Assignment Matrix Step 1 N1N2N3N4 J H B S Step 2 N1N2N3N4 J H B S Step 3 N1N2N3N4 J H B S lines to cover all zeros Matrix includes 4 lines Thus, 3 ≠ 4 Step 4(a): Subtract the smallest uncovered number from each of the uncovered numbers in the matrix N1N2N3N4 J H B S Step 4(b): Add the same smallest uncovered number to every number where two covering lines intersect. Go to Step (3). Go back Step 3 N1N2N3N4 J H B S = 4 Step 5 N1N2N3N4 J H B S B N4 S N3 J N2 H N1 Total time = = 170

15
EX 1 in class 15 Coach Terry Young is putting together a relay team for a 400-meter relay. The four swimmers are Gary Hall (GH), Mark Spitz (MS), Jim Montgomery (JM), and Chet Jastremski (CJ) and each of them must swim 100 meters of breaststroke (BR), backstroke (BA), butterfly (BU), or freestyle (FR). Based on the past records, the coach believes that each swimmer will attain the times (in seconds) given in the following table: 1)To minimize the team’s total time for the race so that it has the best chance to win, which swimmier should swim which stroke? What is the minimum total time for the team to complete the relay BRBABUFR GH MS JM CJ )Repeat (1) by assuming that it takes Gary Hall and Mark Spitz, respectively, 52 seconds and 54 seconds, to swim 100 meters of freestyle. By how many seconds does the minimum total swimming time differ from the one in (1) in this case?

16
Loading 16 Summary of traditional loading problem The number of jobs is equal to the number of machines Each of the jobs is processed by any of the machines The goal is to minimize the total cost Three special loading problems in reality Case I: unequal numbers of jobs and machines Case II: prohibited job-machine combination Case III: maximization objective

17
Loading (special case I) 17 Case I: Unequal numbers of jobs and machines Solution A dummy row (job) or column (machine) of zero costs should be introduced to make the assignment matrix a square one The standard method discussed before should then be applied in the usual manner. Be careful in interpreting the final optimal solution obtained since the dummy job or machine added does not exist.

18
Example 3 18 Four professors are responsible for three projects funded by the National Science Foundation. The table presented below shows the time (in weeks) needed for each professor to finish each project. Determine the optimal assignments as well as the minimum total time requirement. 123 Thompson Johnson Nelson Parkinson Assignment Matrix

19
Solution T J N P Assignment Matrix Step T J N P Step T8040 J N P0690 Step T8040 J N P = 4 Step T8040 J N P0690 P 1 T 2 J 3 Minimum total time = = 138 weeks Note that Professor Nelson will not be responsible for any project since "4" is a dummy project Dummy machine

20
Loading (special case II) 20 Case II: prohibited job-machine combination A job cannot be processed by a machine for some reason Solution Replace the cost corresponding to the prohibited job-machine pair in the matrix with an exceedingly large positive number (e.g., 9,999) The standard method discussed before should then be applied in the usual manner.

21
Example 4 21 Three managers (1, 2, and 3) are to be assigned to three fast-food outlets (A, B, and C). The following table indicates the expense (in dollars) to be incurred for each manager to run each outlet. Suppose that Manager 3 is not willing to work at outlet B due to travel distance. What are the optimal personnel assignments? What is the minimum total expense? ABC 14,0003,5003,400 24,8005,0004,700 34,1003,2004,400 Assignment Matrix

22
Solution 22 Assignment Matrix ABC 14,0003,5003,400 24,8005,0004,700 34,1003,2004,400 Manager 3 is not willing to work at outlet B due to travel distance, thus, replace 3,200 with 99,999. Revised Assignment Matrix ABC 14,0003,5003,400 24,8005,0004,700 34,10099,9994,400 Step 1 ABC , Step 2 ABC , Step 3 ABC , = 3 Step 5 ABC , A 1 B 2 C Total cost = 4, , ,700 = $12,300

23
Loading (special case III) 23 Case III: maximization objective Solution Replace every number with the difference between the largest number in the entire matrix and the number under consideration. The standard method discussed before should then be applied in the usual manner.

24
Example 5 24 The following table shows the expected sales volumes (in units) if four salespersons are assigned to four different marketing territories. Determine the optimal assignment plan and the maximum total sales Mary1,5001,4001,600 Jim1,6001,5001,450 Lori1,5501,450 1,350 Tom1,6501,5001,4501,500 Assignment Matrix

25
Solution 25 Assignment Matrix 1234 M1,5001,4001,600 J 1,5001,450 L1,5501,450 1,350 T1,6501,5001,4501,500 Revised Assignment Matrix 1234 M J L T Step M J L T Step 2 & M J00150 L T ≠ 4 Step 4 & M J L T = 4 Step M J0050 L T M 4 L 3 J 2 T 1 Total sales = 1, , , ,600 = 6,200 units

26
EX 2 In Class 26 The following table contains information on the cost to run three jobs on four available machines. Determine an assignment plan that will minimize costs Machine ABCD Job

27
SEQUENCING JOBS One-machine sequencing Two-machine sequencing 27

28
Sequencing 28 To determine the order in which the jobs assigned to a machine are to be processed One-machine sequencing Two-machine sequencing

29
One-machine sequencing 29 Each of the jobs needs to go through only one machine in a certain order Applications Books ("jobs") borrowed by students need to be checked out at the circulation desk ("machine") of a university library. Patients ("jobs") are treated by a doctor ("machine") in the local hospital. Passengers ("jobs") check in at an airline's ticket counter ("machine") in the airport. Research manuscripts ("jobs") are typed by a secretary ("machine"). Tasks ("jobs") are performed by a worker ("machine") in a manufacturing plant

30
30 Objectives – minimize m: total time needed to process the set of jobs ACT: average completion time (or mean flow time) AJL: average job lateness AWT: average waiting time NLJ: number of late jobs One-machine sequencing

31
31 Dispatching (or priority) rules FCFS: First come, first served, i.e., the job that arrives first is processed first EDD: The job with the earliest due date is processed first SPT: The job with the shortest processing time is processed first One-machine sequencing

32
32 Example 6 Five machines in a shop have failed and will be repaired by a maintenance mechanic. The estimated repair times (in days) along with the due times (in days) for the machines are given below. Assume that the machines were down in the order shown in the table. Apply each of the FCFS, EDD, and SPT rules to dispatch the jobs and then compute m, ACT, AJL, AWT, and NLJ for each of the resulting sequences MachineABCDE Repair time47263 Due date

33
33 MachineABCDE Repair time47263 Due date Solution (1) FCFS: First come, first served Job (i) Processing time for job i (P i ) Waiting time of job i (W i ) Completion time of job i (C i ) Due time for job i (d i ) Lateness of job i (L i ) total A B C D E Sum of the processing time of preceding jobs w i = p 1 + p p i = = =19 waiting time plus its processing time c i = w i + p i = = = = 22 L i = max {c i - d i, 0} – 8 = – 9 = m = 22 days ACT = 69/5 = 13.8 days AJL = 18/5 = 3.6 days AWT = 47/5 = 9.4 days NLJ = 2 machines

34
34 MachineABCDE Repair time47263 Due date Solution (2) EDD: The job with the earliest due date is processed first Job (i) Processing time for job i (P i ) Waiting time of job i (W i ) Completion time of job i (C i ) Due time for job i (d i ) Lateness of job i (L i ) total C E A B D Order the due date from the smallest to the largest: 8 (C), 9 (E), 15 (A), 16 (B) and 23 (D) = = = = = = = = m = 22 days ACT = 54/5 = 10.8 days AJL = 0/5 = 0.0 days AWT = 32/5 = 6.4 days NLJ = 0 machines

35
35 MachineABCDE Repair time47263 Due date Solution (3) SPT: The job with the shortest processing time is processed first Job (i) Processing time for job i (P i ) Waiting time of job i (W i ) Completion time of job i (C i ) Due time for job i (d i ) Lateness of job i (L i ) total C E A D B Order the repair time from the smallest to the largest: 2 (C), 3 (E), 4 (A), 6 (D) and 7 (B) = = = = = = = = m = 22 days ACT = 53/5 = 10.6 days AJL = 6/5 = 1.2 days AWT = 31/5 = 6.2 days NLJ = 1 machine 6

36
Solution 36 Applying the SPT rule leads to the sequence with the minimum ACT and AWT Applying the EDD rule leads to the sequence with the minimum AJL and NLJ The FCFS rule should be used if fairness is the major concern mACTAJLAWTNLJ FCFS EDD SPT Summary

37
EX 3 in Class 37 Processing time (including setup times) and due date for six jobs waiting to be processed at a work center are given in the following table. Determine the sequence of jobs, the average flow time (ACT), average job lateness (AJL), average waiting time (AWT), and the number of late jobs (NLJ) at the work center, for each of these rules: FCFS, SPT and EDD. (assume jobs arrived in the order shown) JobABCDEF Processing time (day) Due date

38
Two-Machine Sequencing 38 Each of the jobs to be processed has to go through two machines in the same order Applications Athletes ("jobs") competing in the Olympic Games must be subject to a series of two drug tests ("two machines") after each event Cars ("jobs") in a garage must be sanded ("first machine") and then painted ("second machine")

39
39 Objectives Minimize the total time needed to process the set of jobs Johnson's rule Step 1: Select the job that has the shortest processing time among all processing times on both machines. If the time is associated with the first machine, then the job should be processed first. If the time is associated with the second machine, however, then the job should be processed last. Step 2: Schedule the job identified in Step (1) and then eliminate it along with its processing times on both machines. If all of the jobs have been scheduled, stop; otherwise, go to Step (1) and work toward the center of the sequence Two-Machine Sequencing

40
40 Example 7 Hirsch Products, Inc., produces certain computer connectors, which first require a shearing operation and then need a punch press operation. The company currently has orders for five jobs with estimated processing times (in days) given below: JobPQRST Shearing Punch press Questions 1.Determine the order in which the jobs should be processed to minimize the total time needed to process the set of jobs. 2.Based on the sequence obtained in Part 1 above, construct a time-phased bar chart (or Gantt chart) for both operations 3.What is the total idle time on both operations?

41
41 Solution JobPQRST Shearing Punch press Sequencing 1.Determine the order in which the jobs should be processed to minimize the total time needed to process the set of jobs. QTPRS 2.Based on the sequence obtained in Part 1 above, construct a time-phased bar chart (or Gantt chart) for both operations TPSRQShearing Punch press TPSR Q What is the total idle time on both operations? There is no idle time on "Shearing" Idle time on "Punch Press" = (2 - 0) + ( ) + ( ) = 5 days Total idle time = = 5 days.

42
EX 4 In Class 42 A group of six jobs is to be processed through a two-machine flow shop. The first operation involves cleaning and the second involves painting. Determine a sequence that will minimize the total completion time for this group of jobs. Processing times are as follows: JobABCDEF Work Center Work Center Questions 1.Determine the order in which the jobs should be processed to minimize the total time needed to process the set of jobs. 2.Based on the sequence obtained in Part 1 above, construct a time-phased bar chart (or Gantt chart) for both operations 3.What is the total idle time on both operations?

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google