Question 10 of 10: Queueing Theory — Finite-Capacity Port (M/M/1/K)
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — December 2013 — 98-Ind-A1 Operations Research. Three-hour, open-book exam (any non-communicating calculator permitted); the paper totals 200 marks across 10 questions and only 100 marks are required, so a candidate would normally answer a subset — all ten are solved below for completeness.
Reference texts: Hillier & Lieberman, Introduction to Operations Research (11th ed., McGraw-Hill) — linear/integer programming, network optimization, dynamic programming, decision analysis and queueing theory; Nahmias, Production and Operations Analysis — inventory models with planned backorders.
Question 10: Queueing Theory — Finite-Capacity Port (M/M/1/K) (20 marks)
Given. Poisson arrivals $\lambda=7$/week; exponential service $\mu=8$/week; 1 berth in service + 3 mooring spaces, so system capacity $K=4$ (arrivals finding the system full balk to the Port of Poop). This is a birth–death $M/M/1/K$ queue.
Finite-capacity birth–death chain: every state has the same $\lambda$ forward and $\mu$ backward rate since there is exactly one server.
Find. $L_q$, the expected number of ships waiting for service (excluding the one being served).
Approach. Use the standard finite-capacity $M/M/1/K$ state probabilities $P_n=P_0\rho^n$ (truncated at $K=4$), compute $L$ (expected number in system) and $1-P_0$ (probability the server is busy), then $L_q=L-(1-P_0)$.
Traffic intensity and state probabilities. $\rho=\lambda/\mu=7/8=0.875$. For $M/M/1/K$ with $K=4$:
$$P_0=\frac{1-\rho}{1-\rho^{K+1}}=\frac{1-0.875}{1-0.875^5}=\frac{0.125}{1-0.5129}=\frac{0.125}{0.4871}=0.2566,$$
and $P_n=P_0\rho^n$ for $n=0,\dots,4$: $P_0{=}0.2566,\,P_1{=}0.2245,\,P_2{=}0.1965,\,P_3{=}0.1719,\,P_4{=}0.1504$ (sum $=1.0000$ ✓).
Expected number in system.
$$L=\frac{\rho}{1-\rho}-\frac{(K+1)\rho^{K+1}}{1-\rho^{K+1}}=\frac{0.875}{0.125}-\frac{5(0.5129)}{0.4871}=7-5.265=\boxed{1.735\text{ ships (in system)}}$$
(cross-checked against $L=\sum_{n=0}^{4}nP_n=1.735$ — matches).
Probability the server is busy. $1-P_0=1-0.2566=0.7434$ (expected number in service, since there is exactly one server).
Expected number waiting.
$$\boxed{L_q=L-(1-P_0)=1.735-0.743=0.992\text{ ships waiting.}}$$