Menu Close

Scheduling: UPSC Mechanical Engineering Optional PYQ Solutions (1999–2026)

All 14 questions UPSC has asked on scheduling in the Mechanical Engineering Optional (Paper I, Manufacturing Science) from 1999 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Manufacturing Science topic-wise PYQs page.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SymPy) and matched.
  • ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2026 · 6c 2023 · 6b 2021 · 6a 2019 · 7c 2015 · 5b 2012 · 6c 2009 · 7c(i) 2009 · 8c(i) 2009 · 8c(ii) 2005 · 5d 2004 · 7b(iv) 2001 · 5a 2001 · 8b 1999 · 7a

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

A job shop has four machines (M1−M4) and five jobs (J1−J5), all available at t=0. Each job has a unique routing. The processing time (hours) and due dates are given below. (i) Define the critical ratio (CR). Compute the CR for each job at t=0 and rank them by urgency (lowest CR = highest priority). State which job is the most critical and explain in two sentences why the CR is more informative than the due date or processing time alone. (ii) Apply the shortest processing time (SPT) dispatching rule – at each machine, when free, select the waiting job with the smallest operation time for that machine. Construct a complete Gantt chart. Compute for each job: Completion time Cj, Flow time Fj, Lateness Lj, and Tardiness Tj. Summarise: makespan, mean flow time, total tardiness, maximum tardiness, number of tardy jobs.

Job Routing Total Work Due Date
J1 M1→6,M2→4,M3→8,M4→3 21 28
J2 M2→5,M1→7,M4→2,M3→6 20 25
J3 M3→4,M2→8,M1→3,M4→5 20 30
J4 M1→9,M3→3,M2→5,M4→4 21 35
J5 M2→6,M3→5,M4→7,M1→2 20 32

Solution

(i) Critical ratio CR=time remaining until due datework (processing time) remaining=dj−t∑premaining.CR=\frac{\text{time remaining until due date}}{\text{work (processing time) remaining}}=\frac{d_j-t}{\sum p_{\text{remaining}}}.

  • CR < 1: the job is already behind schedule.
  • CR = 1: on schedule.
  • CR > 1: ahead (it has slack).

At t = 0

Job Due Work CR Rank
J2 25 20 1.25 1
J1 28 21 1.33 2
J3 30 20 1.50 3
J5 32 20 1.60 4
J4 35 21 1.67 5

J2 is the most critical job (lowest CR).

The CR is more informative because it relates the time available to the work still needed: a job with a late due date can still be urgent if it has a lot of work left, and a job with a short processing time may have plenty of slack. Being a ratio, it also updates dynamically as work is completed and time passes, giving a consistent measure of urgency across jobs.

(ii) SPT dispatching (whenever a machine becomes free, start the waiting job with the shortest operation on it; non-delay)

M1J1J2J4J5J3M2J2J5J1J3J4M3J3J5J2J4J1M4J2J5J3J1J40510152025303540
Gantt chart for the SPT dispatching rule (hours). Makespan = 40 h; J2 finishes first (22 h) and J4 last (40 h).

Key decisions

  • t = 0: M1 chooses J1 (6) over J4 (9); M2 chooses J2 (5) over J5 (6); M3 starts J3.
  • M1 at 6: J2 (7) before J4 (9).
  • M2 at 11: J1 (4) before J3 (8).
  • M3 at 16: J2 (6) before J1 (8); at 22: J4 (3) before J1 (8).
  • M1 at 23: J5 (2) before J3 (3).
  • M4 at 33: J1 (3) before J4 (4).

Results (all jobs released at t = 0, so flow time = completion time):

Job C_j F_j Due L_j = C − d T_j
J1 36 36 28 +8 8
J2 22 22 25 −3 0
J3 33 33 30 +3 3
J4 40 40 35 +5 5
J5 25 25 32 −7 0

Summary

  • Makespan = 40 h.
  • Mean flow time = 156/5 = 31.2 h.
  • Total tardiness = 16 h; maximum tardiness = 8 h (J1).
  • Number of tardy jobs = 3 (J1, J3, J4).

SPT keeps flow times short, but it ignores due dates, so J1 – second most critical by CR – finishes 8 h late.

✓ Checked by computer We simulated the SPT dispatching rule event by event in Python and checked every completion time.

2026 · Paper I · Q6c · 20 marks

↑ Back to the question list

The work processing time and due date of five jobs are given in the following table. These five jobs are to be sequenced as per: (i) First Come First Serve (FCFS) (ii) Earliest Due Date (EDD) (iii) Minimum Slack (SLACK) (iv) Shortest Processing Time (SPT) Which sequencing rule among these four rules will be recommended by you?

Jobs Processing Time (days) Due Date (days)
A 5 10
B 10 15
C 2 5
D 8 12
E 6 8

Solution

Rule Sequence Mean flow time Mean tardiness Tardy jobs Max tardiness Avg. jobs in system
FCFS A-B-C-D-E 93/5 = 18.6 48/5 = 9.6 3 23 3.00
EDD C-E-A-D-B 75/5 = 15.0 28/5 = 5.6 3 16 2.42
Min slack (d − p: A 5, B 5, C 3, D 4, E 2) E-C-D-A-B 82/5 = 16.4 34/5 = 6.8 4 16 2.65
SPT C-A-E-D-B 74/5 = 14.8 30/5 = 6.0 3 16 2.39

(Makespan is 31 days for every rule. Average jobs in system = Σ flow times/makespan.)

Working for SPT: completion times C 2, A 7, E 13, D 21, B 31; tardiness 0, 0, 5, 9, 16. For EDD: C 2, E 8, A 13, D 21, B 31; tardiness 0, 0, 3, 9, 16.

Recommendation. SPT gives the lowest mean flow time and the fewest jobs in the system (least WIP). EDD gives the lowest mean tardiness, and is only marginally worse on flow time (15.0 vs 14.8). If meeting due dates is the main concern, as is usual with customer orders, we recommend EDD. If throughput and WIP matter most, SPT. FCFS is clearly the worst on every measure.

✓ Checked by computer We evaluated all four sequences in Python.

2023 · Paper I · Q6b · 20 marks

↑ Back to the question list

Five jobs A, B, C, D and E need to be processed on a machine. Processing time (in days) and due date (from now) are given below:

Jobs Processing Time (in days) Due Date (from now)
A 6 5
B 4 10
C 5 15
D 8 20
E 7 30

Determine the total completion time (in days) for all jobs, average flow time, average number of jobs in system per day and average tardiness using Shortest Processing Time (SPT) rule so as to establish appropriate sequence for processing of jobs.

2021 · Paper I · Q6a · 15 marks

Solution

SPT sequence: B (4), C (5), A (6), E (7), D (8).

Job Processing Completion (flow) time Due Tardiness
B 4 4 10 0
C 5 9 15 0
A 6 15 5 10
E 7 22 30 0
D 8 30 20 10
Total 30 80 20
  • Total completion time (sum of completion times) = 80 days; makespan = 30 days.
  • Average flow time = 80/5 = 16 days.
  • Average number of jobs in the system = 80/30 = 2.67 jobs.
  • Average tardiness = 20/5 = 4 days (A and D are late by 10 days each).

✓ Checked by computer We recomputed the SPT measures in Python.

↑ Back to the question list

Arrange the following jobs on Machine 1 to Machine 5 using the Johnson’s rule of sequencing. The time (in minutes) required by the jobs on these machines are shown in the table given below. Also find the total idle time and completion time of the jobs.

Jobs Machine 1 Machine 2 Machine 3 Machine 4 Machine 5
A 7 5 2 3 9
B 6 6 4 5 10
C 5 4 5 6 8
D 8 3 3 2 5

Solution

Can it be reduced to two machines? Johnson’s rule extends to m machines only if min(M1) ≥ max of each intermediate machine, or min(M5) ≥ max of each intermediate machine. Here min(M1) = 5 and min(M5) = 5, but max(M2) = 6 and max(M4) = 6. The condition fails, so we apply Johnson’s rule heuristically to two fictitious machines:

  • G = M1 + M2 + M3 + M4;
  • H = M2 + M3 + M4 + M5.
Job G H
A 17 19
B 21 25
C 20 23
D 16 13

Johnson’s rule:

  • the smallest value is D’s H (13), so D goes last;
  • next, A’s G (17), so A goes first;
  • then C’s G (20), so C goes second;
  • B fills the remaining place.

Sequence: A – C – B – D. Enumerating all 24 sequences confirms this is the unique optimum.

Schedule (start–finish, minutes)

Job M1 M2 M3 M4 M5
A 0–7 7–12 12–14 14–17 17–26
C 7–12 12–16 16–21 21–27 27–35
B 12–18 18–24 24–28 28–33 35–45
D 18–26 26–29 29–32 33–35 45–50

Total completion time (makespan) = 50 min.

Idle time (within the 50 min):

  • M1: 50 − 26 = 24 min;
  • M2: 50 − 18 = 32 min;
  • M3: 50 − 14 = 36 min;
  • M4: 50 − 16 = 34 min;
  • M5: 50 − 32 = 18 min.
  • Total 144 min.

✓ Checked by computer We applied Johnson’s extension, then confirmed by enumerating all 24 sequences in Python.

2019 · Paper I · Q7c · 10 marks

↑ Back to the question list

There are five jobs each of which must go through machines A, B and C in the order A – B – C. Processing times are as per the following table:

Job i Processing Time Ai Processing Time Bi Processing Time Ci
1 8 5 4
2 10 6 9
3 6 2 8
4 7 3 6
5 11 4 5

Determine the sequence for the five jobs that will minimize the elapsed time.

2015 · Paper I · Q5b · 10 marks

Solution

Condition: min A = 6 ≥ max B = 6 ✓, so the three-machine problem reduces exactly to two fictitious machines, G = A + B and H = B + C.

Job G H
1 13 9
2 16 15
3 8 10
4 10 9
5 15 9

Johnson’s rule

  • Job 3 has G < H, so it goes first.
  • All others have H < G, so they go at the end in decreasing H: 2 (15), then 1, 4, 5 (9 each, in any order).

Sequence: 3 – 2 – 1 – 4 – 5 (or 3-2-1-5-4, 3-2-4-1-5, …).

Schedule

Job A B C
3 0–6 6–8 8–16
2 6–16 16–22 22–31
1 16–24 24–29 31–35
4 24–31 31–34 35–41
5 31–42 42–46 46–51

Minimum elapsed time = 51. (Enumeration shows 51 is the true minimum, attained by many sequences.)

✓ Checked by computer We applied Johnson’s rule for three machines and checked all 120 sequences in Python.

↑ Back to the question list

Find the sequence that minimises the total elapsed time required to complete the following jobs. Each job is processed in the order ACB.

Processing times in hours

Job No. 1 2 3 4 5
Machine A 5 7 6 9 5
Machine B 3 7 5 6 7
Machine C 2 1 4 5 3

Determine the sequence of the jobs, makespan and idle time of machines. Illustrate the method of solution and assumptions taken.

2012 · Paper I · Q6c · 10 marks

Solution

Method and assumptions. Each job visits A, then C, then B. No passing. Each machine handles one job at a time, and a job is on one machine at a time. Processing times are known and independent of sequence (set-ups included). Transfer time is negligible. All jobs are available at time zero.

Condition for reducing to two machines: min A = 5 ≥ max C = 5 ✓. So form G = A + C and H = C + B:

Job A C B G = A + C H = C + B
1 5 2 3 7 5
2 7 1 7 8 8
3 6 4 5 10 9
4 9 5 6 14 11
5 5 3 7 8 10

Johnson’s rule

  • Smallest is job 1’s H (5), so job 1 goes last.
  • Next, 8: job 5’s G puts it first; job 2 has G = H = 8, so it may go next to the front.
  • Remaining: 4 (H 11) and 3 (H 9) are placed from the back in decreasing H: …4, 3, 1.

Sequence: 5 – 2 – 4 – 3 – 1.

Schedule (hours)

Job A C B
5 0–5 5–8 8–15
2 5–12 12–13 15–22
4 12–21 21–26 26–32
3 21–27 27–31 32–37
1 27–32 32–34 37–40

Makespan = 40 h.

Idle time

  • A: 40 − 32 = 8 h (all after its last job finishes at 32).
  • C: 40 − 15 = 25 h.
  • B: 40 − 28 = 12 h (8 h at the start, 4 h in between).

(5-4-2-3-1 and some other orders also give 40 h.)

✓ Checked by computer We applied Johnson’s rule for three machines in the order A–C–B and checked all 120 sequences in Python.

↑ Back to the question list

A company uses a decision rule to determine production level in t-th period, as under: Pt=Pt−1+[A(Ft−Pt−1)] where Pt, Ft denote production and forecast for t-th period and A is smoothing constant. (1) Given the information in the table below, find the appropriate production level for period 2 using a smoothing constant of 0.5:

Period t Production Level Forecast
1 36000
2 42000
3 48000

(2) Assuming that actual production for period 2 will be equal to the value as determined in case (1) above, determine the production levels for period 3 using (A) chase, (B) level and (C) intermediate strategies.

2009 · Paper I · Q7c(i) · 10 marks

Solution

(1) Period 2: P2=P1+A(F2−P1)=36,000+0.5(42,000−36,000)=𝟑𝟗,𝟎𝟎𝟎.P_2=P_1+A(F_2-P_1)=36,000+0.5(42,000-36,000)=\mathbf{39,000}.

(2) Period 3 (with P2=39,000P_2=39,000 and F3=48,000F_3=48,000)

  • (A) Chase strategy – production follows the forecast exactly: P3=F3=𝟒𝟖,𝟎𝟎𝟎P_3=F_3=\mathbf{48,000}.
  • (B) Level strategy – production is held constant: P3=P2=𝟑𝟗,𝟎𝟎𝟎P_3=P_2=\mathbf{39,000}. Differences are absorbed by inventory or backlog.
  • (C) Intermediate strategy – partial adjustment by the decision rule with A = 0.5: P3=39,000+0.5(48,000−39,000)=𝟒𝟑,𝟓𝟎𝟎.P_3=39,000+0.5(48,000-39,000)=\mathbf{43,500}.

A = 1 corresponds to chase and A = 0 to level; 0 < A < 1 gives the intermediate (smoothing) strategy.

✓ Checked by computer We checked the arithmetic.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Give the steps for sequencing n jobs through 2 machines for minimum elapsed time.

2009 · Paper I · Q8c(i) · 5 marks

Solution

Johnson’s rule for n jobs on two machines (M1 then M2, no passing)

  1. List the processing times of all jobs on M1 and M2.
  2. Find the smallest processing time among all unscheduled jobs, on either machine.
  3. If it is on M1, place that job at the earliest available position (from the front) of the sequence. If it is on M2, place the job at the latest available position (from the back).
  4. Remove that job from the list.
  5. Repeat steps 2–4 until all jobs are sequenced.
  6. Ties: if the minimum is equal for two jobs on M1, either order (often the one with the larger M2 time first). If equal on M2, either order (often the larger M1 time last). If a job’s M1 and M2 times are equal, it may go at either end.
  7. Draw the Gantt chart or compute start and finish times to find the minimum total elapsed time (makespan) and the idle times.

Equivalent form: jobs with t1≤t2t_1\le t_2 come first, in increasing order of t1t_1; jobs with t1>t2t_1>t_2 come last, in decreasing order of t2t_2.

✓ Answer checked step by step We checked the procedure against Johnson (1954).

↑ Back to the question list

A foreman wants to process four different jobs on three machines A, B and C in his shop. The order of machining for all the jobs is fixed, i.e., A, B and C. The processing time for all the jobs are given in the table below:

Job Machine A Machine B Machine C
1 40 10 10
2 50 15 5
3 30 8 15
4 25 20 10

Decide the optimal sequence for the jobs to minimize the elapsed time between start of the first job to completion of the last job.

2009 · Paper I · Q8c(ii) · 15 marks

Solution

Condition: min A = 25 ≥ max B = 20 ✓. Form G = A + B and H = B + C:

Job G H
1 50 20
2 65 20
3 38 23
4 45 30

Every job has H < G, so all go in decreasing order of H: 4 (30), 3 (23), then 1 and 2 (20 each, either order).

Optimal sequence: 4 – 3 – 1 – 2 (or 4-3-2-1).

Schedule

Job A B C
4 0–25 25–45 45–55
3 25–55 55–63 63–78
1 55–95 95–105 105–115
2 95–145 145–160 160–165

Minimum elapsed time = 165. Machine A is the bottleneck (busy 145 of 165); B and C are idle for 112 and 125 units.

✓ Checked by computer We applied Johnson’s rule for three machines and checked all 24 sequences in Python.

↑ Back to the question list

Explain Johnson’s procedure for determining an optimal sequence for processing n items on two machines. Determine the optimal sequence of jobs which minimizes the total elapsed time based on the following information (processing time on machines is given in hours and passing is not allowed):

Machines A B C D E
M1 5 7 6 9 5
M2 2 1 4 5 3
M3 3 7 5 6 7

Solution

Johnson’s procedure (two machines): list the times; pick the smallest. If it is on the first machine, schedule that job as early as possible; if on the second, as late as possible. Strike it out and repeat (see the related question for ties).

Three machines in the order M1 → M2 → M3. Condition: min M1 = 5 ≥ max M2 = 5 ✓. So use G = M1 + M2 and H = M2 + M3:

Job M1 M2 M3 G H
A 5 2 3 7 5
B 7 1 7 8 8
C 6 4 5 10 9
D 9 5 6 14 11
E 5 3 7 8 10

Johnson’s rule

  • A’s H = 5 is smallest, so A goes last.
  • E (G = 8) goes first; B (G = H = 8) next to E.
  • D (H 11) and C (H 9) fill from the back.

Optimal sequence: E – B – D – C – A.

Schedule (hours)

Job M1 M2 M3
E 0–5 5–8 8–15
B 5–12 12–13 15–22
D 12–21 21–26 26–32
C 21–27 27–31 32–37
A 27–32 32–34 37–40

Minimum total elapsed time = 40 h.

✓ Checked by computer We applied Johnson’s rule for three machines and checked all 120 sequences in Python.

2005 · Paper I · Q5d · 20 marks

↑ Back to the question list

A company is producing a batch of five components A, O, E, N and L using three machines X, W, M. All these parts are to be produced in the technological order X, M, W machines. The sum of the processing and set-up times, in minutes for these parts in each of these machines are given below:

Component X W M
N 8 5 3
A 4 6 4
O 7 7 3
L 5 8 4
E 6 4 4

(i) Find the sequence in which parts are to be produced to minimize total make span.

(ii) Are there alternative sequences?

(iii) Represent your schedule in the form of a Gantt chart with starting and ending timings. Neglect machine to machine shifting time.

(iv) What are the machine utilisation percentages for each machine if no other job is taken till the completion of this batch.

2004 · Paper I · Q7b(iv) · 6 marks

Solution

The technological order is X → M → W, so we rearrange the times in that order:

Part X M W G = X + M H = M + W
N 8 3 5 11 8
A 4 4 6 8 10
O 7 3 7 10 10
L 5 4 8 9 12
E 6 4 4 10 8

Condition: min X = 4 ≥ max M = 4 ✓.

(i) Johnson’s rule

  • Smallest values = 8: A’s G, so A goes first; N’s H and E’s H, so N and E go last (either order).
  • Next, L’s G = 9, so L goes second.
  • O (G = H = 10) takes the remaining middle place.

Sequence: A – L – O – N – E, makespan 38 min.

(ii) Alternative sequences. Yes. The ties allow A-L-O-E-N, and enumeration shows that A-O-L-N-E, A-O-L-E-N, A-L-N-O-E and A-L-E-O-N also give 38 min. There are 6 optimal sequences in all.

(iii) Gantt chart (A-L-O-N-E)

XALONEMALONEWALONE04812162024283236
Gantt chart for the sequence A–L–O–N–E (minutes), technological order X → M → W. Makespan = 38 min.
Part X M W
A 0–4 4–8 8–14
L 4–9 9–13 14–22
O 9–16 16–19 22–29
N 16–24 24–27 29–34
E 24–30 30–34 34–38

(iv) Machine utilisation (over the 38-min batch)

  • X: 30/38 = 78.9 %;
  • M: 18/38 = 47.4 %;
  • W: 30/38 = 78.9 %.

✓ Checked by computer We applied Johnson’s rule for three machines, enumerated all 120 sequences and computed utilisations in Python.

↑ Back to the question list

What is a Master Production Schedule? Explain its relationship with Material Planning (MRP), capacity planning and control activities.

2001 · Paper I · Q5a · 20 marks

Solution

Master Production Schedule (MPS). A time-phased plan (usually weekly) stating which end items, how many, and when are to be produced, over a planning horizon. It disaggregates the aggregate production plan into specific products, taking into account forecasts, firm customer orders, inventory on hand and capacity. It is the “anchor” of detailed planning and links marketing, manufacturing and finance. It is usually frozen in the near term, firm in the medium term and tentative later.

Relationship with MRP. The MPS is the main input to MRP. MRP explodes the MPS quantities through the bill of materials, nets them against inventory records (on hand and scheduled receipts), and offsets by lead times. This gives time-phased planned orders for every component and raw material: what to make or buy, how many, and when. An unrealistic MPS makes the whole MRP output unrealistic.

Relationship with capacity planning

  • Rough-cut capacity planning (RCCP) checks the MPS against key resources (bottleneck work centres, critical labour) before it is released. If capacity is insufficient, the MPS or capacity is adjusted.
  • Capacity requirements planning (CRP) then takes the MRP planned orders and computes detailed loads on every work centre by period, verifying that the plan is feasible.

The loop MPS → RCCP → MRP → CRP iterates until the plan is feasible (closed-loop MRP / MRP II).

Relationship with control activities. The released orders go to production activity control (shop-floor control: dispatching, sequencing, input/output control) and purchasing (vendor scheduling and follow-up). Actual progress, scrap, delays and capacity data are fed back to update the MRP records and, if necessary, the MPS – a closed loop. The MPS also supports available-to-promise for order entry and customer delivery commitments.

(Diagram: aggregate plan → MPS ↔︎ RCCP; MPS + BOM + inventory records → MRP → planned orders ↔︎ CRP → shop-floor control and purchasing, with feedback to MRP and MPS.)

✓ Answer checked step by step We checked the relationships against standard production-planning texts.

↑ Back to the question list

(i) List four of the most common priority decision rules applicable to jobs to be completed on one single machine. (ii) Six jobs are to be processed through the preparation and paint shops. The operation times are as follows:

Job Preparation time HRS Paint shop time HRS
A 10 5
B 7 4
C 5 7
D 3 8
E 2 6
F 4 3

Determine a sequence that will minimize the total completion time. Find the make span time.

2001 · Paper I · Q8b · 30 marks

Solution

(i) Common priority rules for a single machine

  1. FCFS – first come, first served.
  2. SPT – shortest processing time first (minimises mean flow time and WIP).
  3. EDD – earliest due date first (minimises maximum lateness).
  4. Critical ratio or minimum slack (due date − now − processing time). (Also LPT – longest processing time – and random.)

(ii) Johnson’s rule (preparation → paint)

Job Preparation Paint Group
A 10 5 Prep > paint
B 7 4 Prep > paint
C 5 7 Prep ≤ paint
D 3 8 Prep ≤ paint
E 2 6 Prep ≤ paint
F 4 3 Prep > paint
  • Jobs with prep ≤ paint go first, by increasing prep time: E (2), D (3), C (5).
  • The rest go last, by decreasing paint time: A (5), B (4), F (3).

Sequence: E – D – C – A – B – F.

Schedule (hours)

Job Preparation Paint
E 0–2 2–8
D 2–5 8–16
C 5–10 16–23
A 10–20 23–28
B 20–27 28–32
F 27–31 32–35

Makespan = 35 h. The paint shop is idle only for the first 2 h. This is optimal, since 35 = 2 + 33 (the sum of paint times), its lower bound.

✓ Checked by computer We applied Johnson’s rule and checked all 720 sequences in Python.

↑ Back to the question list

Machine shop of a small-scale entrepreneur consists of several general purpose machines, one each. A batch of 5 jobs from a customer arrives on one evening. Setting and processing times in two machines are given below.

Jobs in the Batch Setting and Processing time (in hours): Machine 1 Milling Machine Setting and Processing time (in hours): Machine 2 Grinding Machine
A 4 2
B 6 10
C 8 4
D 12 8
E 8 12

(i) In what sequence you will suggest to process them to minimize the make span of batch? (ii) Represent this in the form of a Gantt chart. (iii) Are there alternative sequences (min make span)? (iv) What algorithm you have used for this 2-machine system of batch processing and what is the logic of sequencing?

1999 · Paper I · Q7a · 30 marks

Solution

(i) Sequence by Johnson’s rule (milling → grinding):

Job Milling Grinding Group
A 4 2 M > G
B 6 10 M ≤ G
C 8 4 M > G
D 12 8 M > G
E 8 12 M ≤ G
  • First group (milling ≤ grinding), by increasing milling time: B (6), E (8).
  • Second group, by decreasing grinding time: D (8), C (4), A (2).

Sequence: B – E – D – C – A.

(ii) Gantt chart

MillingBEDCAGrindingBEDCA06121824303642
Gantt chart for the Johnson sequence B–E–D–C–A (hours). Makespan = 42 h; grinding is idle only for the first 6 h.

Makespan = 42 h. Milling runs continuously from 0 to 38 h. Grinding waits only for the first 6 h; after that each job arrives from milling before the grinder is free, so it runs without a break until 42 h.

(iii) Alternative sequences. Yes. Enumerating all 120 orders shows that B-A-E-D-C, B-E-A-D-C and B-E-D-A-C also give 42 h. Job A, with very short times, can be inserted at several points without delaying the grinder.

(iv) Algorithm and logic. We used Johnson’s algorithm (1954) for the n-job, two-machine flow shop (F2 ∥ C_max).

  • Logic: to minimise makespan, we want the second machine to start as early as possible and to finish as soon as possible after the first machine ends.
  • Jobs with short first-machine times go first, so the grinder gets work quickly.
  • Jobs with short second-machine times go last, so the grinder’s tail after milling ends is short.
  • This minimises the total idle time of the second machine, and hence the makespan.

✓ Checked by computer We applied Johnson’s rule and checked all 120 sequences in Python.

↑ Back to the question list

More on Manufacturing Science

Questions: UPSC Civil Services (Main) Examination, Mechanical Engineering Paper I, 1999–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted