NivaarExam PrepOfficial exam papers ↗

23-Ind-A1 Operations Research · Undated paper

Question 9 of 10: Two-Month Markov Decision Process — Advertising Policy

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

Notes on this paper

National Exams — May 2019 — 17-Ind-A1 Operations Research. Three-hour, open-book exam (any non-communicating calculator permitted); the paper totals 175 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 programming & the simplex method (ch. 3–4), duality & sensitivity analysis (ch. 6), dynamic programming (ch. 11), network optimization & CPM/PERT project crashing (ch. 9–10), queueing theory incl. finite-source (machine-repair) models (ch. 17), decision analysis & the value of information (ch. 15–16), Markov chains (ch. 16), Monte Carlo simulation (ch. 20). Nahmias, Production and Operations Analysis — deterministic EOQ inventory models with and without planned shortages.

Question 9: Two-Month Markov Decision Process — Advertising Policy (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. Two states (High/Low sales); each month the company chooses Advertise / No-ad, then sales transition per the state- and action-dependent probabilities and returns tabulated below.

Transition probabilities and returns by current state and action
From \ ActionTo HighTo Low
High, no adp=0.5, ret 10p=0.5, ret 4
High, adp=0.8, ret 7p=0.2, ret 6
Low, no adp=0.2, ret 7p=0.8, ret −2
Low, adp=0.4, ret 3p=0.6, ret −5

Find. The optimal action (advertise / no ad) at each decision epoch (start of month 1 and start of month 2) for each possible current state, maximizing total expected 2-month return.

Approach. Solve by backward induction (finite-horizon dynamic programming) over the 2 decision epochs: first find the optimal month-2 (last-month) action and value for each state with no further future to consider, then use those values as continuation values to find the optimal month-1 action for each state.

Start of month 1Start of month 2Start of month 3 (end)HLHLHLoptimal: ADVERTISE (V=12.36)optimal: no ad (V=1.04)optimal: no ad (V=7.00)optimal: no ad (V=−0.20)ad: p=0.8, ret 7ad: p=0.2, ret 6no ad: p=0.2, ret 7no ad: p=0.8, ret −2no ad: p=0.5, ret 10no ad: p=0.5, ret 4no ad: p=0.2, ret 7no ad: p=0.8, ret −2red = advertise, blue = no advertise; only the OPTIMAL action's branches are drawn from each state
Backward-induction result: month-1 optimal action depends on the current state; month-2 optimal action is "no ad" regardless of state. Node values $V$ are total expected return from that state to the end of month 2.
  1. Stage 2 (last month, no continuation value) — state High: $$E[\text{no ad}\mid H]=0.5(10)+0.5(4)=7.0,\qquad E[\text{ad}\mid H]=0.8(7)+0.2(6)=6.8$$ $$\boxed{V_2(H)=7.0,\ \text{optimal: no ad}}$$
  2. Stage 2 — state Low: $$E[\text{no ad}\mid L]=0.2(7)+0.8(-2)=-0.2,\qquad E[\text{ad}\mid L]=0.4(3)+0.6(-5)=-1.8$$ $$\boxed{V_2(L)=-0.2,\ \text{optimal: no ad}}$$
  3. Stage 1 (month 1), using $V_2$ as the continuation value — state High: $$E[\text{no ad}\mid H]=0.5(10+V_2(H))+0.5(4+V_2(L))=0.5(17.0)+0.5(3.8)=10.4$$ $$E[\text{ad}\mid H]=0.8(7+V_2(H))+0.2(6+V_2(L))=0.8(14.0)+0.2(5.8)=12.36$$ $$\boxed{V_1(H)=12.36,\ \text{optimal: ADVERTISE}}$$
  4. Stage 1 — state Low: $$E[\text{no ad}\mid L]=0.2(7+V_2(H))+0.8(-2+V_2(L))=0.2(14.0)+0.8(-2.2)=1.04$$ $$E[\text{ad}\mid L]=0.4(3+V_2(H))+0.6(-5+V_2(L))=0.4(10.0)+0.6(-5.2)=0.88$$ $$\boxed{V_1(L)=1.04,\ \text{optimal: no ad}}$$
Final results — Question 9 (optimal policy)
State \ MonthMonth 1Month 2
HighAdvertise (V=12.36)No ad (V=7.00)
LowNo ad (V=1.04)No ad (V=−0.20)