Skip to content
Exercises · Q8

Q.Define a sequencing problem. State Johnson's rule for sequencing nn jobs on two machines, and explain how the total elapsed time and a machine's idle time are calculated.

Maharashtra MsbshseTextbookSubjectiveImportance★★★★★
9% · 3/32 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Sequencing problem. Given nn jobs, each of which must be processed through the same machines in the same order, a sequencing problem is the task of deciding the order in which the jobs are taken up so that the total elapsed time (and the machines' idle time) is minimised. The jobs and their machine route are fixed; only the order is a decision.

Johnson's rule (two machines M1M_1 then M2M_2). Let Ai,BiA_i, B_i be job ii's times on M1,M2M_1, M_2.

  1. Find the smallest value among all AiA_i and BiB_i.
  2. If it is an AiA_i (on M1M_1), place that job in the earliest free position of the sequence.
  3. If it is a BiB_i (on M2M_2), place that job in the latest free position.
  4. Remove the scheduled job and repeat, filling positions from both ends towards the middle, until all jobs are placed.
  5. Ties may be resolved either way.

Total elapsed time. Fix the order, then tabulate each job's in-time and out-time on M1M_1 and M2M_2. On M1M_1 jobs run consecutively. On M2M_2, a job starts at

in-time on M2=max⁡ ⁣(its out-time on M1, previous job’s out-time on M2).\text{in-time on } M_2 = \max\!\big(\text{its out-time on } M_1,\ \text{previous job's out-time on } M_2\big).

The total elapsed time is the out-time of the last job on M2M_2.

Idle time. For each machine, …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.