Skip to the content
How to use this manual: In the lab, copy the blank working table at the start of the Calculation into your record book and fill it as you apply the algorithm. The Calculation section shows the completed working, and the Result states the optimal answer and its interpretation in the original problem context.

List of Practical Experiments (Official Syllabus)

  1. IBFS of transportation problem using North-West Corner rule, LCEM and VAM.
  2. Optimum solution to balanced & unbalanced transportation problems by MODI method (minimization cases).
  3. Solution of assignment problem using Hungarian method (minimization cases).
  4. Solution of sequencing problem — n jobs through two machines.
  5. Solution of sequencing problem — n jobs through three machines.
  6. Project scheduling of a given project (deterministic case — CPM).
  7. Project scheduling of a given project (probabilistic case — PERT).
  8. Solution of m × n games by dominance rule.

Experiment 1 — IBFS by NWCM, LCEM and VAM

1. Problem

Find the initial basic feasible solution of the transportation problem below by the North-West Corner (NWCM), Least-Cost (LCEM) and Vogel's Approximation (VAM) methods.

D₁D₂D₃D₄Supply
S₁3174300
S₂2659400
S₃8332500
Demand2503504002001200

2. Aim

To obtain an initial basic feasible solution by each of the three rules and compare their costs.

3. Formula

\[ \text{Cost} = \sum_{i,j} c_{ij}\,x_{ij}, \qquad \text{penalty} = (\text{2nd smallest cost}) - (\text{smallest cost}) \]

Applying it:

  1. NWCM: allocate at the top-left cell, exhaust its row/column, move right/down.
  2. LCEM: allocate to the least-cost available cell repeatedly.
  3. VAM: for each row/column compute the penalty (difference of the two smallest costs); allocate in the line with the largest penalty, at its least-cost cell; recompute penalties and repeat.

4. Calculation

Blank working table:

MethodTotal cost
NWCM
LCEM
VAM

NWCM: x₁₁=250, x₁₂=50, x₂₂=300, x₂₃=100, x₃₃=300, x₃₄=200 ⇒ \(250(3)+50(1)+300(6)+100(5)+300(3)+200(2) = 4400\).

LCEM: x₁₂=300, x₂₁=250, x₂₃=150, x₃₂=50, x₃₃=250, x₃₄=200 ⇒ \(300(1)+250(2)+150(5)+50(3)+250(3)+200(2) = 2850\).

VAM: x₂₁=250, x₁₂=300, x₃₂=50, x₂₃=150, x₃₃=250, x₃₄=200 ⇒ \(250(2)+300(1)+50(3)+150(5)+250(3)+200(2) = 2850\).

MethodTotal cost
NWCM4400
LCEM2850
VAM2850

5. Result

NWCM gives the poorest start (4400); LCEM and VAM both give 2850, which (as Experiment 2 confirms) is already the optimum. VAM is the best rule for a low-cost starting solution.

Experiment 2 — MODI Method (Balanced & Unbalanced)

1. Problem

Starting from the VAM/LCEM solution of Experiment 1, test optimality and improve it if necessary by the MODI (u–v) method. Also outline how an unbalanced problem is handled.

2. Aim

To reach the optimal transportation cost using the MODI optimality test and closed-loop adjustments.

3. Formula

\[ u_i + v_j = c_{ij}\ (\text{basic}), \qquad d_{ij} = c_{ij} - (u_i + v_j)\ (\text{non-basic}) \]

Applying it:

  1. For the basic cells solve \(u_i + v_j = c_{ij}\) (set \(u_1 = 0\)).
  2. For each non-basic cell compute \(d_{ij} = c_{ij} - (u_i + v_j)\).
  3. If all \(d_{ij} \ge 0\), the solution is optimal; otherwise form a closed loop at the most negative \(d_{ij}\) and adjust by \(\theta\).
  4. Unbalanced: if \(\sum\text{supply} \ne \sum\text{demand}\), add a dummy source/destination with zero cost, then proceed.

4. Calculation

Blank working table:

QuantityValue
All \(d_{ij} \ge 0\)?
Optimal cost

Applying \(u_i + v_j = c_{ij}\) to the six basic cells and computing \(d_{ij}\) for the remaining cells gives all \(d_{ij} \ge 0\); the VAM/LCEM solution is therefore optimal with no closed-loop improvement possible.

QuantityValue
All \(d_{ij} \ge 0\)?Yes
Optimal cost2850

Unbalanced example: supply 100, 150; demand 80, 100, 90 (supply 250 < demand 270) — add a dummy source of supply 20 at zero cost, then apply VAM + MODI as above.

5. Result

The optimal transportation cost is 2850. Because VAM already attained it, the MODI test only confirms optimality (all \(d_{ij} \ge 0\)).

Experiment 3 — Hungarian Method (Assignment)

1. Problem

Assign 4 workers W₁–W₄ to 4 jobs J₁–J₄ to minimise total cost:

J₁J₂J₃J₄
W₁10121911
W₂51078
W₃12141311
W₄815119

2. Aim

To find the minimum-cost one-to-one assignment by the Hungarian method.

3. Formula

\[ \text{Minimise } \sum_{i} c_{i,\sigma(i)} \text{ over all permutations } \sigma \]

Applying it:

  1. Row reduction: subtract each row's minimum.
  2. Column reduction: subtract each column's minimum.
  3. Cover all zeros with the minimum number of lines; if fewer than \(n\), adjust and repeat.
  4. Make the assignment through independent zeros.

4. Calculation

Blank working table (after row + column reduction):

J₁J₂J₃J₄
W₁
W₂
W₃
W₄

Row minima (10, 5, 11, 8) then column minima (0, 2, 2, 0) give the reduced matrix:

J₁J₂J₃J₄
W₁0071
W₂0303
W₃1100
W₄0511

Independent zeros give W₁→J₂, W₂→J₃, W₃→J₄, W₄→J₁, with cost \(12 + 7 + 11 + 8 = 38\).

5. Result

The optimal assignment is W₁→J₂, W₂→J₃, W₃→J₄, W₄→J₁ at a minimum total cost of 38.

Experiment 4 — Sequencing: n Jobs on 2 Machines

1. Problem

Five jobs are processed on machine M₁ then M₂ (times below). Find the sequence minimising total elapsed time and the machine idle times.

JobM₁M₂
A52
B16
C97
D38
E104

2. Aim

To sequence \(n\) jobs on two machines by Johnson's rule and compute the makespan.

3. Formula

\[ \text{Johnson's rule: } \min(t_{M_1}, t_{M_2}) \to \text{M}_1 \Rightarrow \text{front}, \quad \to \text{M}_2 \Rightarrow \text{back} \]

Applying it:

  1. Find the smallest processing time. If it is on M₁, place the job as early as possible; if on M₂, as late as possible.
  2. Remove the job and repeat, filling the sequence from both ends.
  3. Compute the schedule (completion times on each machine) and the total elapsed time.

4. Calculation

Blank working table:

Job (in sequence)M₁ in–outM₂ in–out

Johnson's rule gives the sequence B → D → C → E → A.

JobM₁ in–outM₂ in–out
B0–11–7
D1–47–15
C4–1315–22
E13–2323–27
A23–2828–30

5. Result

Total elapsed time = 30 hours; idle time on M₂ = 3 hours and on M₁ = 2 hours.

Experiment 5 — Sequencing: n Jobs on 3 Machines

1. Problem

Four jobs are processed on M₁, M₂, M₃ in order (times below). Sequence them to minimise the total elapsed time.

JobM₁M₂M₃
A854
B1069
C628
D736

2. Aim

To sequence \(n\) jobs on three machines by converting to Johnson's two pseudo-machines and compute the makespan.

3. Formula

\[ G = t_{M_1} + t_{M_2}, \qquad H = t_{M_2} + t_{M_3} \]

Applying it:

  1. Check the applicability condition: \(\min(M_1) \ge \max(M_2)\) or \(\min(M_3) \ge \max(M_2)\).
  2. Form pseudo-machines \(G = M_1 + M_2\) and \(H = M_2 + M_3\).
  3. Apply Johnson's rule to \((G, H)\); then compute the full three-machine schedule.

4. Calculation

Blank working table (pseudo-machines):

JobG = M₁+M₂H = M₂+M₃
A
B
C
D

Condition: \(\min(M_1) = 6 = \max(M_2) = 6\) ✓, so the method applies.

JobG = M₁+M₂H = M₂+M₃
A139
B1615
C810
D109

Johnson's rule on \((G, H)\) gives the sequence C → B → A → D. The three-machine schedule:

JobM₁ in–outM₂ in–outM₃ in–out
C0–66–88–16
B6–1616–2222–31
A16–2424–2931–35
D24–3131–3435–41

5. Result

The optimal sequence is C → B → A → D with a total elapsed time of 41 hours.

Experiment 6 — CPM (Deterministic Project Scheduling)

1. Problem

For the project below, find the project duration, the critical path and the total float of each activity.

ActivityPredecessorsDuration (days)
A—3
B—5
CA7
DB3
EB5
FC, D4
GE2

2. Aim

To carry out the forward and backward passes, identify the critical path and compute total floats.

3. Formula

\[ \text{Total float} = LS - ES = LF - EF, \qquad \text{project duration} = \max(\text{path lengths}) \]

Applying it:

  1. Forward pass: earliest start/finish (ES, EF) for each activity.
  2. Backward pass: latest start/finish (LS, LF).
  3. Total float \(= LS - ES = LF - EF\); critical activities have zero float.

4. Calculation

Blank working table:

ActivityABCDEFG
Total float

Path lengths: A→C→F = 3+7+4 = 14; B→D→F = 5+3+4 = 12; B→E→G = 5+5+2 = 12. The longest is 14, so the critical path is A → C → F.

ActivityABCDEFG
Total float0202202

5. Result

Project duration = 14 days; critical path A → C → F (zero float). Activities B, D, E, G each have 2 days of float.

Experiment 7 — PERT (Probabilistic Project Scheduling)

1. Problem

The same network has three time estimates \((a, m, b)\) per activity. Find the expected project duration and the probability of completion within 15 and 16 days, and the time for 95 % confidence.

Activityamb
A234
B357
C579
D135
E456
F345
G123

2. Aim

To compute expected activity times and variances, then the completion probabilities on the critical path using the normal approximation.

3. Formula

\[ t_e = \frac{a + 4m + b}{6}, \qquad \sigma^2 = \left(\frac{b-a}{6}\right)^2, \qquad Z = \frac{x - T_e}{\sigma} \]

Applying it:

  1. \(t_e = (a + 4m + b)/6\) and \(\sigma^2 = ((b - a)/6)^2\) for each activity.
  2. Sum \(t_e\) and \(\sigma^2\) along the critical path (A → C → F).
  3. \(P(T \le x) = \Phi((x - T_e)/\sigma)\); for 95 %, \(x = T_e + 1.645\sigma\).

4. Calculation

Blank working table:

Activity\(t_e\)\(\sigma^2\)
A
C
F
Critical path total
Activity\(t_e\)\(\sigma^2\)
A30.111
C70.444
F40.111
Critical path (A→C→F) total140.666

\(\sigma = \sqrt{0.666} = 0.816\). \(P(T \le 15) = \Phi(1.225) = 0.890\); \(P(T \le 16) = \Phi(2.449) = 0.993\); 95 % time \(= 14 + 1.645(0.816) = 15.34\) days.

5. Result

Expected duration = 14 days (\(\sigma = 0.816\)). The project finishes within 15 days with probability 0.890, within 16 days with 0.993, and 95 % confidence corresponds to 15.34 days.

Experiment 8 — Game Theory by Dominance Rule

1. Problem

Solve the \(4\times 4\) game (payoffs to player A) by the dominance rule and find its value and optimal strategies.

B₁B₂B₃B₄
A₁3240
A₂3424
A₃4240
A₄0408

2. Aim

To reduce the game by pure and mixed (convex) dominance and solve the resulting \(2\times 2\) game.

3. Formula

\[ \text{For } \begin{pmatrix}a&b\\c&d\end{pmatrix}: \quad V = \frac{ad - bc}{a + d - b - c}, \quad p_1 = \frac{d - c}{a + d - b - c}, \quad q_1 = \frac{d - b}{a + d - b - c} \]

Applying it:

  1. Check for a saddle point (maxmin vs minimax).
  2. Delete dominated rows (A prefers larger payoffs) and dominated columns (B prefers smaller).
  3. Use convex dominance (a row/column dominated by an average of others) where no pure dominance applies.
  4. Solve the final \(2\times 2\) game by the closed-form mixed-strategy formula.

4. Calculation

Blank working table:

QuantityValue
Saddle point?
Reduced game
Value \(V\)
A's strategy / B's strategy

Row minima (0, 2, 0, 0) give maxmin = 2; column maxima (4, 4, 4, 8) give minimax = 4 ⇒ no saddle point. Dominance steps:

This leaves the \(2\times 2\) game (rows A₃, A₄; columns B₃, B₄):

B₃B₄
A₃40
A₄08

\(V = \dfrac{4(8) - 0}{4 + 8 - 0 - 0} = \dfrac{32}{12} = \dfrac{8}{3} \approx 2.67\); \(p(A_3) = 8/12 = 2/3,\; p(A_4) = 1/3\); \(q(B_3) = 8/12 = 2/3,\; q(B_4) = 1/3\).

5. Result

The value of the game is \(V = 8/3 \approx 2.67\). A plays A₃ and A₄ with probabilities \((2/3, 1/3)\) (never A₁, A₂); B plays B₃ and B₄ with probabilities \((2/3, 1/3)\) (never B₁, B₂).

Lab Record Format (to be followed for every experiment)

  1. 1. Problem — the data and what is to be optimised.
  2. 2. Aim — the method the experiment demonstrates.
  3. 3. Formula — the formula or algorithm, then the numbered steps that apply it.
  4. 4. Calculation — the filled working (tableau, schedule, reduction) with the arithmetic.
  5. 5. Result — the optimal answer and its interpretation.