Class 12 Commerce Maths Part 2 Ch 7 Miscellaneous Exercise 7 Solutions (Assignment Problem and Sequencing) | स्वाध्याय

Master every concept from Chapter 7 with our complete, latest-syllabus-verified Maharashtra Board Class 12 Commerce Maths Part 2 Ch 7 Miscellaneous Exercise 7 Solutions. Aligned with the official MSBSHSE Balbharati HSC textbook for Assignment Problem and Sequencing, this comprehensive guide provides verified answers and step-by-step workings for all Multiple Choice Questions (MCQs), Fill in the Blanks, True or False questions, Hungarian Method assignment problems (minimization, maximization, unbalanced, and restricted cases), and Johnson’s Algorithm sequencing problems with complete In-Out worktables and idle time calculations.

Table of Contents

Key Formulas & Rules – Chapter 7 Miscellaneous Exercise 7

Miscellaneous Exercise 7 tests both the Hungarian Method (for Assignment Problems) and Johnson’s Algorithm (for Sequencing Problems). Review the core HSC Board rules and formulas summarized below before practicing the solutions.

Topic / Rule Mathematical Condition / Formula Application in HSC Board Exam
1. Balanced vs. Unbalanced Matrix Balanced: Rows = Columns (n × n)
Unbalanced: Rows ≠ Columns
If rows > columns, add a dummy column with 0s. If columns > rows, add a dummy row with 0s.
2. Maximization Assignment Opportunity Loss = M − Cell Value (where M = maximum element) Subtract every element from the largest element in the matrix to convert into a minimization problem, then sum original values at the end.
3. Restricted Assignment Prohibited cell marked with “−” Assign an infinitely large cost ∞ to prohibited cells so they are never selected in the optimal assignment.
4. Hungarian Optimality & Modification Minimum lines N = n (matrix order) If N < n, take smallest uncovered element k: subtract k from uncovered cells, add k at intersections, and leave single-covered cells unchanged.
5. Total Possible Sequences (n!)m for n jobs on m machines Counts all theoretically possible processing orders across m machines before applying Johnson’s Rule.
6. Johnson’s Rule (2 Machines: A → B) Find Min{Ai, Bi} among remaining jobs Minimum on Machine A → place job at the earliest left slot; minimum on Machine B → place job at the latest right slot.
7. 3-Machine Reduction (A → B → C) Min(A) ≥ Max(B) or Min(C) ≥ Max(B) Convert to 2 fictitious machines G = A + B and H = B + C, then apply Johnson’s Rule to (G, H).
8. Elapsed Time & Idle Time T = Final Out time on last machine
Idle(M1) = T − ∑M1
Idle(Mk) = ∑waiting gaps + (T − Last Out on Mk)
Machine 1 is idle only after its last job; middle machine may be idle before/between jobs and at the end; last machine is idle before and between jobs.

Section (I): Choose the Correct Alternative (MCQs)

Question 1: In sequencing, an optimal path is one that minimizes ______
(a) Elapsed time   (b) Idle time   (c) Both (a) and (b)   (d) Ready time

Given / Formula: By definition of job sequencing optimization, an optimal sequence reduces both the total completion time (elapsed time) and machine waiting periods (idle time).

Step-by-Step Working: Minimizing the total elapsed time T automatically minimizes the idle times of the machines because Idle(Mk) = T − ∑(processing time on Mk).

Final Answer: (c) Both (a) and (b)

Question 2: If jobs A to D have processing times as 5, 6, 8, 4 on first machine and 4, 7, 9, 10 on the second machine then the optimal sequence is:
(a) CDAB   (b) DBCA   (c) BCDA   (d) ABCD

Given / Formula: Apply Johnson’s Rule to 4 jobs (A, B, C, D) on Machine 1 (M1: 5, 6, 8, 4) and Machine 2 (M2: 4, 7, 9, 10).

Step-by-Step Working:
• Minimum time = 4 for D on M1 and A on M2 → place D first and A last: [ D , _ , _ , A ].
• Remaining jobs {B, C}: M1 = (6, 8), M2 = (7, 9). Minimum = 6 for B on M1 → place B next on left: [ D , B , _ , A ].
• Remaining job C fills the middle slot: D → B → C → A.

Final Answer: (b) DBCA

Question 3: The objective of sequence problem is:
(a) to find the order in which jobs are to be made
(b) to find the time required for completing all the jobs on hand
(c) to find the sequence in which jobs on hand are to be processed to minimize the total time required for processing the jobs
(d) to maximize the cost

Given / Formula: Standard objective of sequencing theory.

Step-by-Step Working: Sequencing determines the exact processing order of jobs across machines so that the total elapsed time (and consequently idle time/cost) is minimized.

Final Answer: (c) to find the sequence in which jobs on hand are to be processed to minimize the total time required for processing the jobs

Question 4: If there are n jobs and m machines, then there will be ______ sequences of doing the jobs.
(a) mn   (b) m(n!)   (c) nm   (d) (n!)m

Given / Formula: Number of permutations of n jobs on a single machine = n!.

Step-by-Step Working: Since each of the m machines can independently take the n jobs in n! ways, the total number of possible processing sequences is (n!) × (n!) × … (m times) = (n!)m.

Final Answer: (d) (n!)m

Question 5: The Assignment Problem is solved by:
(a) Simple method   (b) Hungarian method   (c) Vector method   (d) Graphical method

Given / Formula: Standard optimization algorithm for one-to-one assignment problems.

Step-by-Step Working: The Hungarian Method (developed by H. W. Kuhn) uses row/column reduction and minimum line-covering tests to solve assignment problems optimally.

Final Answer: (b) Hungarian method

Question 6: In solving 2 machine and n jobs sequencing problem, the following assumption is wrong:
(a) No passing is allowed   (b) Processing times are known   (c) Handling time is negligible   (d) The time of passing depends on the order of machining

Given / Formula: Standard assumptions of Johnson’s 2-machine sequencing model.

Step-by-Step Working: In a 2-machine sequencing problem, processing times are fixed and independent of the order of machining, handling/transfer time is negligible, and passing is not allowed. Therefore, statement (d) is incorrect.

Final Answer: (d) The time of passing depends on the order of machining

Question 7: To use the Hungarian method, a profit maximization assignment problem requires:
(a) Converting all profits to opportunity losses   (b) A dummy person or job   (c) Matrix expansion   (d) Finding the maximum number of lines to cover all the zeros in the reduced matrix

Given / Formula: Maximization-to-minimization transformation rule.

Step-by-Step Working: Because the Hungarian Method minimizes total matrix entries, every profit entry must first be subtracted from the maximum profit in the matrix to form an opportunity-loss matrix.

Final Answer: (a) Converting all profits to opportunity losses

Question 8: Using the Hungarian method the optimal assignment obtained for the following assignment problem to minimize the total cost is:
(a) 1 – C, 2 – B, 3 – D, 4 – A   (b) 1 – B, 2 – C, 3 – A, 4 – D   (c) 1 – A, 2 – B, 3 – C, 4 – D   (d) 1 – D, 2 – A, 3 – B, 4 – C

Agent / Task A B C D
1 10 12 15 25
2 14 11 19 32
3 18 21 23 29
4 15 20 26 28

Given / Formula: Balanced 4 × 4 minimization problem solved via Hungarian Method.

Step-by-Step Working:
• Row Reduction (subtract row minimums 10, 11, 18, 15):
Row 1: (0, 2, 5, 15); Row 2: (3, 0, 8, 21); Row 3: (0, 3, 5, 11); Row 4: (0, 5, 11, 13).
• Column Reduction (subtract column minimums 0, 0, 5, 11):
Row 1: (0, 2, [0], 4); Row 2: (3, [0], 3, 10); Row 3: (0, 3, 0, [0]); Row 4: ([0], 5, 6, 2).
• 4 lines are required to cover all zeros (equal to order 4). Assigning unique zeros gives 4 → A, 2 → B, 1 → C, and 3 → D (minimum cost = 15 + 11 + 15 + 29 = 70).

Final Answer: (a) 1 – C, 2 – B, 3 – D, 4 – A

Question 9: The assignment problem is said to be unbalanced if:
(a) Number of rows is greater than the number of columns   (b) Number of rows is lesser than the number of columns   (c) Number of rows is equal to the number of columns   (d) Both (a) and (b)

Given / Formula: Unbalanced matrix condition: m ≠ n.

Step-by-Step Working: Whenever the number of rows differs from the number of columns (either rows > columns or rows < columns), the matrix is not square and is called unbalanced.

Final Answer: (d) Both (a) and (b)

Question 10: The assignment problem is said to be balanced if:
(a) Number of rows is greater than the number of columns   (b) Number of rows is lesser than the number of columns   (c) Number of rows is equal to the number of columns   (d) If the entry of rows is zero

Given / Formula: Balanced matrix condition: m = n.

Step-by-Step Working: A balanced assignment problem has an equal number of rows (resources) and columns (activities).

Final Answer: (c) Number of rows is equal to the number of columns

Question 11: The assignment problem is said to be balanced if it is a:
(a) Square matrix   (b) Rectangular matrix   (c) Unit matrix   (d) Triangular matrix

Given / Formula: An n × n matrix with equal rows and columns is a square matrix.

Step-by-Step Working: The Hungarian Method requires a square cost/profit matrix so every row receives one unique column assignment.

Final Answer: (a) Square matrix

Question 12: In an assignment problem if the number of rows is greater than the number of columns then:
(a) Dummy column is added   (b) Dummy row is added   (c) Row with cost 1 is added   (d) Column with cost 1 is added

Given / Formula: Matrix balancing rule.

Step-by-Step Working: When rows > columns, we lack columns to match the rows, so we add one or more dummy columns with zero cost elements.

Final Answer: (a) Dummy column is added

Question 13: In a 3 machine and 5 jobs problem, the least of processing times on machines A, B, and C are 5, 1 and 3 hours and the highest processing times are 9, 5 and 7 respectively, then it can be converted to a 2 machine problem if the order of the machines is:
(a) B – A – C   (b) A – B – C   (c) C – B – A   (d) Any order

Given / Formula: Reduction condition for order M1 → M2 → M3: Min(M1) ≥ Max(M2) or Min(M3) ≥ Max(M2).

Step-by-Step Working: Here Min(A) = 5, Max(B) = 5, and Min(C) = 3. Since Min(A) = 5 ≥ Max(B) = 5, B must be the middle machine and A is the first machine, giving the order A – B – C.

Final Answer: (b) A – B – C

Question 14: The objective of an assignment problem is to assign:
(a) Number of jobs to equal number of persons at maximum cost   (b) Number of jobs to equal number of persons at minimum cost   (c) Only to maximize cost   (d) Only to minimize cost

Given / Formula: Standard definition of the assignment problem.

Step-by-Step Working: The primary goal is one-to-one allocation of an equal number of jobs to persons (or machines) at the minimum total cost.

Final Answer: (b) Number of jobs to equal number of persons at minimum cost

Section (II): Fill in the Blanks

Question 1: An assignment problem is said to be unbalanced when ______

Given / Rule: Definition of an unbalanced assignment matrix.

Step-by-Step Working: Unlike a balanced problem where rows equal columns, an unbalanced matrix has unequal numbers of rows and columns.

Final Answer: the number of rows is not equal to the number of columns

Question 2: When the number of rows is equal to the number of columns then the problem is said to be ______ assignment problem.

Given / Rule: Square matrix condition (m = n).

Step-by-Step Working: Equal rows and columns allow one-to-one allocation without adding dummy entries.

Final Answer: balanced

Question 3: For solving assignment problem the matrix should be a ______

Given / Rule: Prerequisite for the Hungarian Method.

Step-by-Step Working: The Hungarian algorithm operates exclusively on a square matrix (equal number of rows and columns).

Final Answer: square matrix

Question 4: If the given matrix is not a ______ matrix, the assignment problem is called an unbalanced problem.

Given / Rule: Classification of assignment matrices.

Step-by-Step Working: Any rectangular (non-square) cost or profit matrix represents an unbalanced assignment problem.

Final Answer: square

Question 5: A dummy row(s) or column(s) with the cost elements as ______ makes the matrix of an unbalanced assignment problem as a square matrix.

Given / Rule: Balancing rule for rectangular matrices.

Step-by-Step Working: Dummy rows or columns are assigned zero cost elements so they balance the matrix without altering the real total cost.

Final Answer: zero

Question 6: The time interval between starting the first job and completing the last job including the idle time (if any) in a particular order by the given set of machines is called ______

Given / Rule: Standard sequencing terminology.

Step-by-Step Working: The overall completion span from t = 0 on the first machine to the final Out time on the last machine is termed total elapsed time.

Final Answer: Total elapsed time

Question 7: The time for which a machine j does not have a job to process to the start of job i is called ______

Given / Rule: Standard sequencing terminology.

Step-by-Step Working: Any waiting interval during which a machine remains free while waiting for the next job is known as idle time.

Final Answer: Idle time

Question 8: The maximization assignment problem is transformed to minimization problem by subtracting each entry in the table from the ______ value in the table.

Given / Rule: Opportunity loss conversion for maximization problems.

Step-by-Step Working: Subtracting every entry from the largest (maximum) element ensures all opportunity-loss values remain non-negative.

Final Answer: maximum

Question 9: When the assignment problem has more than one solution, then it is ______ optimal solution.

Given / Rule: Multiple optimality in assignment problems.

Step-by-Step Working: If two or more distinct one-to-one allocations yield the exact same minimum cost (or maximum profit), the problem exhibits multiple optimal solutions.

Final Answer: multiple

Question 10: The time required for printing four books A, B, C, and D is 5, 8, 10, and 7 hours. While its data entry requires 7, 4, 3, and 6 hrs respectively. The sequence that minimizes total elapsed time is ______

Given / Rule: Apply Johnson’s Rule treating Printing as Machine 1 (5, 8, 10, 7) and Data Entry as Machine 2 (7, 4, 3, 6).

Step-by-Step Working:
• Min time = 3 for C on M2 → place C last: [ _ , _ , _ , C ].
• Remaining {A, B, D}: Min = 4 for B on M2 → place B before C: [ _ , _ , B , C ].
• Remaining {A, D}: M1 = (5, 7), M2 = (7, 6). Min = 5 for A on M1 → place A first: [ A , D , B , C ].

Final Answer: A – D – B – C

Section (III): State Whether Each of the Following is True or False

Question 1: One machine – one job is not an assumption in solving sequencing problems.

Given / Rule: Assumptions of sequencing models.

Step-by-Step Working: A core assumption in sequencing is that each machine processes only one job at a time and each job is processed by only one machine at a time.

Final Answer: False

Question 2: If there are two least processing times for machine A and machine B, priority is given for the processing time which has the lowest time of the adjacent machine.

Given / Rule: Tie-breaking guideline in Johnson’s Rule.

Step-by-Step Working: When breaking ties, giving priority based on the smaller adjacent processing time is a standard valid rule.

Final Answer: True

Question 3: To convert the assignment problem into a maximization problem, the smallest element in the matrix is deducted from all other elements.

Given / Rule: Maximization-to-minimization transformation.

Step-by-Step Working: All elements must be subtracted from the largest (maximum) element in the matrix, not the smallest element.

Final Answer: False

Question 4: The Hungarian method operates on the principle of matrix reduction, whereby the cost table is reduced to a set of opportunity costs.

Given / Rule: Principle of the Hungarian Method.

Step-by-Step Working: Row and column subtractions convert raw costs into relative opportunity costs without changing the optimal assignment.

Final Answer: True

Question 5: In a sequencing problem, the processing times are dependent on the order of processing the jobs on machines.

Given / Rule: Independence assumption in sequencing.

Step-by-Step Working: Processing times are assumed to be fixed, known, and completely independent of the sequence in which jobs are processed.

Final Answer: False

Question 6: The optimal assignment is made in the Hungarian method to cells in the reduced matrix that contain a Zero.

Given / Rule: Zero-opportunity-cost assignment rule.

Step-by-Step Working: Once enough zeros are generated so that N = n lines cover them, assignments are made exclusively to zero cells.

Final Answer: True

Question 7: Using the Hungarian method, the optimal solution to an assignment problem is found when the minimum number of lines required to cover the zero cells in the reduced matrix equals the number of people.

Given / Rule: Optimality condition (König’s Theorem).

Step-by-Step Working: In an n × n square matrix, optimality is reached precisely when the minimum number of covering lines equals n (the number of rows/people).

Final Answer: True

Question 8: In an assignment problem, if a number of columns are greater than the number of rows, then a dummy column is added.

Given / Rule: Matrix balancing rule.

Step-by-Step Working: If columns exceed rows, a dummy row (not column) must be added to equalize rows and columns.

Final Answer: False

Question 9: The purpose of a dummy row or column in an assignment problem is to obtain a balance between a total number of activities and a total number of resources.

Given / Rule: Purpose of dummy entries.

Step-by-Step Working: Dummy rows/columns convert an unbalanced rectangular matrix into a balanced square matrix.

Final Answer: True

Question 10: One of the assumptions made while sequencing n jobs on 2 machines is: two jobs must be loaded at a time on any machine.

Given / Rule: Single-job machine capacity assumption.

Step-by-Step Working: Only one job can be processed on a given machine at any instant; two jobs cannot be loaded simultaneously.

Final Answer: False

Section (IV): Solve the Following Problems – Part I (Assignment Problems)

Question 1: A plant manager has four subordinates, and four tasks to be performed. The subordinates differ in efficiency and the tasks differ in their intrinsic difficulty. This estimate of the times each man would take to perform each task is given in the effectiveness matrix below. How should the tasks be allocated, one to a man, as to minimize the total man-hours?

Subordinate / Task I II III IV
A 7 25 26 10
B 12 27 3 25
C 37 18 17 14
D 18 25 23 9

Given / Formula: Balanced 4 × 4 minimization assignment problem. Apply the Hungarian Method.

Step 1 – Row Reduction: Subtract row minimums (7, 3, 14, 9 respectively):

Subordinate / Task I II III IV
A 0 18 19 3
B 9 24 0 22
C 23 4 3 0
D 9 16 14 0

Step 2 – Column Reduction & Optimality Test: Subtract column minimums (0, 4, 0, 0 respectively):

Subordinate / Task I II III IV
A [0] 14 19 3
B 9 20 [0] 22
C 23 [0] 3 0
D 9 12 14 [0]

The minimum number of lines covering all zeros is 4, equal to the matrix order (4). Assigning unique zeros:
• A → I (7 hrs), B → III (3 hrs), C → II (18 hrs), D → IV (9 hrs).

Final Answer: Optimal allocation is A → I, B → III, C → II, D → IV, and minimum total man-hours = 7 + 3 + 18 + 9 = 37 hours.

Question 2: A dairy plant has five milk tankers, I, II, III, IV & V. These milk tankers are to be used on five delivery routes A, B, C, D & E. The distances (in kms) between the dairy plant and the delivery routes are given in the following distance matrix. How should the milk tankers be assigned to the chilling centre so as to minimize the distance travelled?

Route / Tanker I II III IV V
A 150 120 175 180 200
B 125 110 120 150 165
C 130 100 145 160 175
D 40 40 70 70 100
E 45 25 60 70 95

Given / Formula: Balanced 5 × 5 minimization problem. Apply the Hungarian Method.

Step 1 – Row Reduction: Subtract row minimums (120, 110, 100, 40, 25):

Route / Tanker I II III IV V
A 30 0 55 60 80
B 15 0 10 40 55
C 30 0 45 60 75
D 0 0 30 30 60
E 20 0 35 45 70

Step 2 – Column Reduction: Subtract column minimums (0, 0, 10, 30, 55):

Route / Tanker I II III IV V
A 30 0 45 30 25
B 15 0 0 10 0
C 30 0 35 30 20
D 0 0 20 0 5
E 20 0 25 15 15

Step 3 – First Modification: Lines covering all zeros (Row B, Row D, Col II) = 3 < 5. Smallest uncovered element = 15 (at E-IV and E-V). Subtract 15 from uncovered elements and add 15 to intersections (B-II, D-II):

Route / Tanker I II III IV V
A 15 0 30 15 10
B 15 15 0 10 0
C 15 0 20 15 5
D 0 15 20 0 5
E 5 0 10 0 0

Step 4 – Second Modification & Assignment: Lines covering all zeros (Row B, Row D, Row E, Col II) = 4 < 5. Smallest uncovered element = 5 (at C-V). Subtract 5 from uncovered cells (Rows A and C in Cols I, III, IV, V) and add 5 to intersections (B-II, D-II, E-II):

Route / Tanker I II III IV V
A 10 [0] 25 10 5
B 15 20 [0] 10 0
C 10 0 15 10 [0]
D [0] 20 20 0 5
E 5 5 10 [0] 0

Now minimum lines = 5. Assigning unique zeros gives: A → II (120), B → III (120), C → V (175), D → I (40), E → IV (70).

Final Answer: Optimal assignment is A → II, B → III, C → V, D → I, E → IV, and total minimum distance = 120 + 120 + 175 + 40 + 70 = 525 kms.

Question 3: Solve the following assignment problem to maximize sales:

Salesman / Region I II III IV V
A 11 16 18 15 15
B 7 19 11 13 17
C 9 6 14 14 7
D 13 12 17 11 13

Given / Formula: This is an unbalanced (4 × 5) maximization problem. Subtract every entry from the maximum value 19 to convert to an opportunity-loss matrix, and add a dummy row E with all 0s.

Step 1 – Loss Matrix (19 − cell) with Dummy Row E, then Row Reduction:
Loss matrix rows: A (8, 3, 1, 4, 4), B (12, 0, 8, 6, 2), C (10, 13, 5, 5, 12), D (6, 7, 2, 8, 6), E (0, 0, 0, 0, 0). Subtract row minimums (1, 0, 5, 2, 0). Column minimums are all 0 due to dummy row E:

Salesman / Region I II III IV V
A 7 2 0 3 3
B 12 0 8 6 2
C 5 8 0 0 7
D 4 5 0 6 4
E (Dummy) 0 0 0 0 0

Step 2 – First Modification: Lines covering all zeros (Row E, Col II, Col III, Col IV) = 4 < 5. Smallest uncovered element = 2 (at B-V). Subtract 2 from uncovered cells and add 2 to intersections (E-II, E-III, E-IV):

Salesman / Region I II III IV V
A 5 2 0 3 1
B 10 0 8 6 0
C 3 8 0 0 5
D 2 5 0 6 2
E (Dummy) 0 2 2 2 0

Step 3 – Second Modification & Assignment: Minimum covering lines (Row B, Row C, Row E, Col III) = 4 < 5. Smallest uncovered element = 1 (at A-V). Subtract 1 from uncovered cells and add 1 to intersections (B-III, C-III, E-III):

Salesman / Region I II III IV V
A 4 1 0 2 [0]
B 10 [0] 9 6 0
C 3 8 1 [0] 5
D 1 4 [0] 5 1
E (Dummy) [0] 2 3 2 0

Now 5 lines are required. Assigning unique zeros: C → IV (14), D → III (17), A → V (15), B → II (19), and E → I (Dummy = 0, so Region I receives no salesman).

Final Answer: Optimal assignment is A → V, B → II, C → IV, D → III (Region I unassigned), and maximum sales = 15 + 19 + 14 + 17 = 65 units.

Question 4: The estimated sales (tons) per month in four different cities by five different managers are given below. Find out the assignment of managers to cities in order to maximize sales.

Manager / City P Q R S
I 34 36 33 35
II 33 35 31 33
III 37 39 35 35
IV 36 36 34 34
V 35 36 35 33

Given / Formula: Unbalanced (5 × 4) maximization problem. Subtract every value from the maximum element 39 and add a dummy city column T with all 0s.

Step 1 – Loss Matrix (39 − cell) with Dummy Column T, Row & Column Reduction:
Because every row has 0 in dummy column T, row reduction keeps the matrix unchanged. Subtracting column minimums (2, 0, 4, 4, 0):

Manager / City P Q R S T (Dummy)
I 3 3 2 0 0
II 4 4 4 2 0
III 0 0 0 0 0
IV 1 3 1 1 0
V 2 3 0 2 0

Step 2 – Modification & Assignment: Lines covering all zeros (Row I, Row III, Col R, Col T) = 4 < 5. Smallest uncovered element = 1 (at IV-P and IV-S). Subtract 1 from uncovered cells and add 1 to intersections (I-R, I-T, III-R, III-T):

Manager / City P Q R S T (Dummy)
I 3 3 3 [0] 1
II 3 3 4 1 [0]
III 0 [0] 1 0 1
IV [0] 2 1 0 0
V 1 2 [0] 1 0

Now 5 lines cover all zeros. Unique assignments: I → S (35), II → T (Dummy = 0; Manager II gets no city), III → Q (39), IV → P (36), V → R (35).

Final Answer: Optimal assignment is I → S, III → Q, IV → P, V → R (Manager II unassigned), and total maximum sales = 35 + 39 + 36 + 35 = 145 tons.

Question 5: Consider the problem of assigning five operators to five machines. The assignment costs are given in the following table. Operator A cannot be assigned to machine 3 and operator C cannot be assigned to machine 4. Find the optimal assignment schedule.

Operator / Machine 1 2 3 4 5
A 6 6 − 3 7
B 8 5 3 4 5
C 10 4 6 − 4
D 8 3 7 8 3
E 7 6 8 10 2

Given / Formula: Balanced 5 × 5 restricted minimization problem. Assign a very high cost ∞ to prohibited cells (A, 3) and (C, 4).

Step 1 – Row & Column Reduction: Subtract row minimums (3, 3, 4, 3, 2), then subtract column minimums (3, 0, 0, 0, 0):

Operator / Machine 1 2 3 4 5
A 0 3 ∞ 0 4
B 2 2 0 1 2
C 3 0 2 ∞ 0
D 2 0 4 5 0
E 2 4 6 8 0

Step 2 – Matrix Modification & Assignment: Minimum lines covering all zeros (Row A, Row B, Col 2, Col 5) = 4 < 5. Smallest uncovered element = 2 (at D-1, E-1, C-3). Subtract 2 from uncovered cells and add 2 to intersections (A-2, A-5, B-2, B-5):

Operator / Machine 1 2 3 4 5
A 0 5 ∞ [0] 6
B 2 4 [0] 1 4
C 1 [0] 0 ∞ 0
D [0] 0 2 3 0
E 0 4 4 6 [0]

Now 5 lines are required. One optimal assignment is: A → 4 (3), B → 3 (3), C → 2 (4), D → 1 (8), E → 5 (2). (Note: D → 5, E → 1 also yields the same minimum total cost of 20.)

Final Answer: Optimal schedule is A → 4, B → 3, C → 2, D → 1, E → 5, and minimum total cost = 3 + 3 + 4 + 8 + 2 = 20 units.

Question 6: A chartered accountant’s firm has accepted five new cases. The estimated number of days required by each of their five employees for each case are given below, where “−” means that the particular employee cannot be assigned the particular case. Determine the optimal assignment of cases to the employees so that the total number of days required to complete these five cases will be minimum. Also, find the minimum number of days.

Employee / Case I II III IV V
E1 6 4 5 7 8
E2 7 − 8 6 9
E3 8 6 7 9 10
E4 5 7 − 4 6
E5 9 5 3 10 −

Given / Formula: Balanced 5 × 5 restricted minimization problem. Assign cost ∞ to prohibited cells (E2, II), (E4, III), and (E5, V).

Step 1 – Row & Column Reduction: Subtract row minimums (4, 6, 6, 4, 3), then subtract column minimums (1, 0, 0, 0, 2):

Employee / Case I II III IV V
E1 1 0 1 3 2
E2 0 ∞ 2 0 1
E3 1 0 1 3 2
E4 0 3 ∞ 0 0
E5 5 2 0 7 ∞

Step 2 – Matrix Modification & Assignment: Minimum lines covering all zeros (Row E2, Row E4, Col II, Col III) = 4 < 5. Smallest uncovered element = 1 (at E1-I, E3-I). Subtract 1 from uncovered cells and add 1 to intersections (E2-II, E2-III, E4-II, E4-III):

Employee / Case I II III IV V
E1 [0] 0 1 2 1
E2 0 ∞ 3 [0] 1
E3 0 [0] 1 2 1
E4 0 4 ∞ 0 [0]
E5 4 2 [0] 6 ∞

Now 5 lines cover all zeros. Assigning unique zeros gives: E1 → I (6), E2 → IV (6), E3 → II (6), E4 → V (6), E5 → III (3). (Alternatively, E1 → II and E3 → I also gives 27 days.)

Final Answer: Optimal assignment is E1 → I, E2 → IV, E3 → II, E4 → V, E5 → III, and minimum total days = 6 + 6 + 6 + 6 + 3 = 27 days.

Section (IV): Solve the Following Problems – Part II (Sequencing Problems)

Question 1: A readymade garments manufacturer has to process 7 items through two stages of production, namely cutting and sewing. The time taken in hours for each of these items in different stages are given below. Find the sequence in which these items are to be processed through these stages so as to minimize the total processing time. Also, find the idle time of each machine.

Item 1 2 3 4 5 6 7
Time for Cutting (A) 5 7 3 4 6 7 12
Time for Sewing (B) 2 6 7 5 9 5 8

Given / Formula: Let Cutting be Machine A and Sewing be Machine B (order A → B). Apply Johnson’s Rule for 7 items on 2 machines.

Step-by-Step Working (Finding Optimal Sequence):
• Min{A, B} = 2 for Item 1 on B → place 1 last: [ _ , _ , _ , _ , _ , _ , 1 ]
• Remaining {2, 3, 4, 5, 6, 7}: Min = 3 for Item 3 on A → place 3 first: [ 3 , _ , _ , _ , _ , _ , 1 ]
• Remaining {2, 4, 5, 6, 7}: Min = 4 for Item 4 on A → place 4 second: [ 3 , 4 , _ , _ , _ , _ , 1 ]
• Remaining {2, 5, 6, 7}: Min = 5 for Item 6 on B → place 6 before 1: [ 3 , 4 , _ , _ , _ , 6 , 1 ]
• Remaining {2, 5, 7}: Min = 6 for Item 5 on A and Item 2 on B → place 5 on left and 2 on right: [ 3 , 4 , 5 , _ , 2 , 6 , 1 ]
• Remaining Item 7 fills the center → Optimal sequence: 3 → 4 → 5 → 7 → 2 → 6 → 1.

In-Out Worktable (Times in hours):

Item Cutting (A): In – Out Sewing (B): In – Out Idle Time for B (hrs)
3 0 – 3 3 – 10 3 (0 to 3)
4 3 – 7 10 – 15 0
5 7 – 13 15 – 24 0
7 13 – 25 25 – 33 1 (24 to 25)
2 25 – 32 33 – 39 0
6 32 – 39 39 – 44 0
1 39 – 44 44 – 46 0

Final Answer:
• Optimal Sequence: 3 → 4 → 5 → 7 → 2 → 6 → 1
• Total Elapsed Time: 46 hours
• Idle Time for Cutting (A): 46 − 44 = 2 hours
• Idle Time for Sewing (B): 3 + 1 = 4 hours

Question 2: Five jobs must pass through a lathe and a surface grinder, in that order. The processing times in hours are shown below. Determine the optimal sequence of the jobs. Also, find the idle time of each machine.

Job I II III IV V
Lathe (A) 4 1 5 2 5
Surface Grinder (B) 3 2 4 3 6

Given / Formula: Let Lathe be Machine A and Surface Grinder be Machine B (order A → B). Apply Johnson’s Rule.

Step-by-Step Working (Finding Optimal Sequence):
• Min{A, B} = 1 for Job II on A → place II first: [ II , _ , _ , _ , _ ]
• Remaining {I, III, IV, V}: Min = 2 for Job IV on A → place IV second: [ II , IV , _ , _ , _ ]
• Remaining {I, III, V}: Min = 3 for Job I on B → place I last: [ II , IV , _ , _ , I ]
• Remaining {III, V}: A = (5, 5), B = (4, 6). Min on A = 5 for both III and V (or Min = 4 for III on B? Wait: across {III, V}, absolute Min{A, B} = 4 for Job III on B, placing III before I and V before III gives II → IV → V → III → I; note that II → IV → III → V → I also yields the exact same minimum elapsed time of 21 hours).

In-Out Worktable (Times in hours):

Job Lathe (A): In – Out Surface Grinder (B): In – Out Idle Time for B (hrs)
II 0 – 1 1 – 3 1 (0 to 1)
IV 1 – 3 3 – 6 0
V 3 – 8 8 – 14 2 (6 to 8)
III 8 – 13 14 – 18 0
I 13 – 17 18 – 21 0

Final Answer:
• Optimal Sequence: II → IV → V → III → I (or II → IV → III → V → I)
• Total Elapsed Time: 21 hours
• Idle Time for Lathe (A): 21 − 17 = 4 hours
• Idle Time for Surface Grinder (B): 1 + 2 = 3 hours

Question 3: Find the sequence that minimizes the total elapsed time to complete the following jobs. Each job is processed in order AB. Determine the sequence for the jobs so as to minimize the processing time. Find the total elapsed time and the idle time for both machines.

Job I II III IV V VI VII
Machine A (min) 12 6 5 11 5 7 6
Machine B (min) 7 8 9 4 7 8 3

Given / Formula: Seven jobs processed in order A → B. Apply Johnson’s Rule.

Step-by-Step Working (Finding Optimal Sequence):
• Min{A, B} = 3 for Job VII on B → place VII last: [ _ , _ , _ , _ , _ , _ , VII ]
• Remaining {I, II, III, IV, V, VI}: Min = 4 for Job IV on B → place IV before VII: [ _ , _ , _ , _ , _ , IV , VII ]
• Remaining {I, II, III, V, VI}: Min = 5 for Jobs III and V on A → place III and V on left: [ III , V , _ , _ , _ , IV , VII ]
• Remaining {I, II, VI}: A = (12, 6, 7), B = (7, 8, 8). Min = 6 for Job II on A → place II next on left: [ III , V , II , _ , _ , IV , VII ]
• Remaining {I, VI}: Min = 7 for Job VI on A and Job I on B → place VI on left and I on right: III → V → II → VI → I → IV → VII.

In-Out Worktable (Times in minutes):

Job Machine A: In – Out Machine B: In – Out Idle Time for B (min)
III 0 – 5 5 – 14 5 (0 to 5)
V 5 – 10 14 – 21 0
II 10 – 16 21 – 29 0
VI 16 – 23 29 – 37 0
I 23 – 35 37 – 44 0
IV 35 – 46 46 – 50 2 (44 to 46)
VII 46 – 52 52 – 55 2 (50 to 52)

Final Answer:
• Optimal Sequence: III → V → II → VI → I → IV → VII
• Total Elapsed Time: 55 units (minutes)
• Idle Time for Machine A: 55 − 52 = 3 units
• Idle Time for Machine B: 5 + 2 + 2 = 9 units

Question 4: A toy manufacturing company has five types of toys. Each toy has to go through three machines A, B, C in the order ABC. The time required in hours for each process is given in the following table. Solve the problem for minimizing the total elapsed time.

Toy Type 1 2 3 4 5
Machine A (hrs) 16 20 12 14 22
Machine B (hrs) 10 12 4 6 8
Machine C (hrs) 8 18 16 12 10

Given / Formula: Check the 3-machine reduction condition:
Min(A) = 12, Max(B) = 12, Min(C) = 8.
Since Min(A) = 12 ≥ Max(B) = 12, we convert into an equivalent 2-machine problem with fictitious machines G = A + B and H = B + C.

Toy Type 1 2 3 4 5
G = A + B 26 32 16 20 30
H = B + C 18 30 20 18 18

Step-by-Step Working (Johnson’s Rule on G and H):
• Min{G, H} = 16 for Type 3 on G → place 3 first: [ 3 , _ , _ , _ , _ ]
• Remaining {1, 2, 4, 5}: Min{G, H} = 18 for Types 1, 4, and 5 on H. Placing them on the right (4, 5, 1) gives: [ 3 , _ , 4 , 5 , 1 ]
• Remaining Type 2 fills the second slot → Optimal sequence: 3 → 2 → 4 → 5 → 1 (note: 3 → 2 → 5 → 4 → 1 also gives the same optimum).

In-Out Worktable (Times in hours):

Type A: In – Out B: In – Out Idle for B C: In – Out Idle for C
3 0 – 12 12 – 16 12 16 – 32 16
2 12 – 32 32 – 44 16 44 – 62 12
4 32 – 46 46 – 52 2 62 – 74 0
5 46 – 68 68 – 76 16 76 – 86 2
1 68 – 84 84 – 94 8 94 – 102 8

Final Answer:
• Optimal Sequence: 3 → 2 → 4 → 5 → 1
• Total Elapsed Time: 102 hours
• Idle Time for A: 102 − 84 = 18 hours
• Idle Time for B: (12 + 16 + 2 + 16 + 8) + (102 − 94) = 54 + 8 = 62 hours
• Idle Time for C: 16 + 12 + 0 + 2 + 8 = 38 hours

Question 5: A foreman wants to process 4 different jobs on three machines: a shaping machine, a drilling machine, and a tapping machine, the sequence of operations being shaping-drilling-tapping. Decide the optimal sequence for the four jobs to minimize the total elapsed time. Also, find the total elapsed time and the idle time for every machine.

Job 1 2 3 4
Shaping (A, min) 13 18 8 23
Drilling (B, min) 3 8 6 6
Tapping (C, min) 18 4 13 8

Given / Formula: Check the 3-machine reduction condition:
Min(A) = 8, Max(B) = 8, Min(C) = 4.
Since Min(A) = 8 ≥ Max(B) = 8, convert to 2 fictitious machines G = A + B and H = B + C:

Job 1 2 3 4
G = A + B 16 26 14 29
H = B + C 21 12 19 14

Step-by-Step Working (Johnson’s Rule on G and H):
• Min{G, H} = 12 for Job 2 on H → place 2 last: [ _ , _ , _ , 2 ]
• Remaining {1, 3, 4}: Min{G, H} = 14 for Job 3 on G and Job 4 on H → place 3 first and 4 before 2: [ 3 , _ , 4 , 2 ]
• Remaining Job 1 fills the second slot → Optimal sequence: 3 → 1 → 4 → 2.

In-Out Worktable (Times in minutes):

Job A (Shaping): In – Out B (Drilling): In – Out Idle for B C (Tapping): In – Out Idle for C
3 0 – 8 8 – 14 8 14 – 27 14
1 8 – 21 21 – 24 7 27 – 45 0
4 21 – 44 44 – 50 20 50 – 58 5
2 44 – 62 62 – 70 12 70 – 74 12

Final Answer:
• Optimal Sequence: 3 → 1 → 4 → 2
• Total Elapsed Time: 74 minutes
• Idle Time for Shaping (A): 74 − 62 = 12 minutes
• Idle Time for Drilling (B): (8 + 7 + 20 + 12) + (74 − 70) = 47 + 4 = 51 minutes
• Idle Time for Tapping (C): 14 + 0 + 5 + 12 = 31 minutes

Frequently Asked Questions – Ch 7 Miscellaneous Exercise 7

How do you handle a problem that is both unbalanced and a maximization case in Miscellaneous Exercise 7?

First convert the profit matrix into an opportunity-loss matrix by subtracting every entry from the single highest profit element in the table. Then balance the matrix by adding a dummy row or dummy column filled with 0s so the number of rows equals the number of columns. Finally, apply the Hungarian Method and compute the maximum profit by adding the original values corresponding to the real (non-dummy) assignments.

What should you check before converting a 3-machine sequencing problem to a 2-machine problem?

Verify that either Min(Machine A) ≥ Max(Machine B) or Min(Machine C) ≥ Max(Machine B) holds for the machine order A → B → C. Only when at least one of these inequalities is satisfied can you define fictitious machines G = A + B and H = B + C and apply Johnson’s Rule.

How can students quickly cross-check their sequencing In-Out worktable in the HSC exam?

For every machine k, verify that Idle Time(Mk) + Total Processing Time on Mk = Total Elapsed Time (T). Checking this identity for Machine A, Machine B, and Machine C guarantees that no arithmetic or waiting-gap error occurred in your worktable.

Leave a Comment