Skip to content

Mathematics and Statistics · Ch 15 — Assignment Problem and Sequencing

Processing n Jobs Through Three Machines

7

Processing n Jobs Through Three Machines

When each of nn jobs must pass through three machines in the fixed order M1→M2→M3M_1 \to M_2 \to M_3, there is no simple rule in general. But if the middle machine is 'weak enough', the three-machine problem can be converted into an equivalent two-machine problem and then solved by Johnson's rule.

The conversion condition. Let Ai,Bi,CiA_i, B_i, C_i be the times of job ii on M1,M2,M3M_1, M_2, M_3. The conversion is valid if at least one of the following holds:

min⁡iAi ≥ max⁡iBiormin⁡iCi ≥ max⁡iBi.\min_i A_i \ \ge\ \max_i B_i \qquad \textbf{or} \qquad \min_i C_i \ \ge\ \max_i B_i.

In words: the smallest time on the first machine is at least the largest time on the middle machine, or the smallest time on the last machine is at least the largest on the middle machine. (If neither holds, this shortcut does not apply.)

The conversion. Define two fictitious machines GG and HH with processing times

Gi=Ai+Bi,Hi=Bi+Ci.G_i = A_i + B_i, \qquad H_i = B_i + C_i.

Now treat GG and HH as a two-machine problem and apply Johnson's rule to the (Gi,Hi)(G_i, H_i) times to get the optimal sequence.

Reading the answer. The optimal order found from (G,H)(G, H) is the order to use on the real machines M1,M2,M3M_1, M_2, M_3. To get the total elapsed and idle times, tabulate in-/out-times across all three real machines: a job's in-time on a machine is max⁡(its out-time on the previous machine, previous job’s out-time on this machine)\max(\text{its out-time on the previous machine},\ \text{previous job's out-time on this machine}).

Watch out

Check the condition first …

Definition 1Three-machine conversion condition

min⁡Ai≥max⁡Bi\min A_i \ge \max B_i or min⁡Ci≥max⁡Bi\min C_i \ge \max B_i; when either holds the three-machine sequencing problem reduces …

Definition 2Fictitious machines $G$, $H$

Auxiliary machines with times Gi=Ai+BiG_i = A_i + B_i and Hi=Bi+CiH_i = B_i + C_i, used with Johnson's rule to find the optimal th …