NivaarExam PrepOfficial exam papers ↗

23-Ind-A1 Operations Research · May 2013

Question 6 of 9: Decision Analysis — Pipeline Weld Inspection (EMV and Value of Sample Information)

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — May 2013 — 98-Ind-A1 Operations Research. Three-hour, open-book exam (any non-communicating calculator permitted); the paper totals 180 marks across 9 questions and only 100 marks are required, so a candidate would normally answer a subset — all nine 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; Niebel & Freivalds, Niebel's Methods, Standards, and Work Design (13th ed.) — job-shop sequencing context.

Question 6: Decision Analysis — Pipeline Weld Inspection (EMV and Value of Sample Information) (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. 1000 seams; rework cost $1,200/defective seam; prior on the true defect rate $p$: $P(p{=}0.05)=0.30$, $P(p{=}0.10)=0.50$, $P(p{=}0.20)=0.20$; clean-up team flat fee $130,000; x-ray inspection of one weld costs $2,000.

Defect rate $p$Prior probability
0.050.30
0.100.50
0.200.20

Find. (a) The EMV-optimal decision (clean-up team vs. repair-as-occur). (b) Whether the $2,000 x-ray inspection is worth its cost, via the expected value of sample information (EVSI).

Approach. (a) Compare the clean-up team's fixed fee against the prior expected rework cost of repairing defects as they occur. (b) Use the single inspected weld as a Bernoulli sample, Bayes-update the defect-rate distribution on "defective" vs. "good", re-optimize the decision under each posterior, and compare the resulting expected cost (including re-optimization) against the no-sampling EMV and the $2,000 sampling cost.

  1. (a) Expected defect rate and repair-as-occur cost. $$E[p]=0.05(0.30)+0.10(0.50)+0.20(0.20)=0.105.$$ Expected seams reworked $=0.105\times1000=105$; expected cost $=105\times\$1{,}200=\boxed{\$126{,}000}$.
  2. (a) Compare to the clean-up team. The flat fee is $\$130{,}000 > \$126{,}000$, so on an EMV basis the company should not hire the clean-up team — repairing welds as they occur is $\$4{,}000$ cheaper in expectation.
  3. (b) Bayesian update from the inspection outcome. $P(\text{defective})=E[p]=0.105$; $P(\text{good})=0.895$. By Bayes' rule, posterior on $p$ given a defective weld observed: $P(p|D)\propto P(p)\cdot p$, giving $P(0.05|D)=0.1429,\ P(0.10|D)=0.4762,\ P(0.20|D)=0.3810$, so $E[p|D]=0.1310$. Given a good weld observed: $P(p|G)\propto P(p)(1-p)$, giving $P(0.05|G)=0.3184,\ P(0.10|G)=0.5028,\ P(0.20|G)=0.1788$, so $E[p|G]=0.1020$.
  4. (b) Re-optimize the decision under each posterior. Repair-as-occur cost given $D$: $0.1310\times1000\times\$1{,}200\approx\$157{,}143$ — worse than the $\$130{,}000$ clean-up fee, so if the sampled weld is defective, hire the clean-up team. Repair-as-occur cost given $G$: $0.1020\times1000\times\$1{,}200\approx\$122{,}346$ — better than $\$130{,}000$, so if the sampled weld is good, repair-as-occur remains the choice.
  5. (b) Expected value of the sampling strategy and EVSI. $$E[\text{cost with inspection}]=P(D)\!\cdot\!\$130{,}000+P(G)\!\cdot\!\$122{,}346 = 0.105(130{,}000)+0.895(122{,}346)\approx\$123{,}150.$$ $$\text{EVSI} = \$126{,}000-\$123{,}150 = \boxed{\$2{,}850},$$ which exceeds the $\$2{,}000$ sampling cost, so the x-ray inspection is worthwhile (expected net benefit $\approx\$850$).
QuantityResult
(a) EMV, repair-as-occur / clean-up team$126,000 / $130,000 — do not hire clean-up team
(b) Posterior mean given defective / good weld0.1310 / 0.1020
(b) Expected cost with inspection$123,150
(b) EVSI vs. sampling cost$2,850 > $2,000 — inspection is worthwhile