NivaarExam PrepOfficial exam papers ↗

23-Ind-A1 Operations Research · December 2014

Question 5 of 10: Integer LP by Branch and Bound

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

Notes on this paper

National Exams — December 2014 — 98-Ind-A1 Operations Research. Three-hour, open-book exam (any non-communicating calculator permitted); the paper totals 150 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 (CPM), dynamic programming, decision analysis, Markov chains and queueing theory; Nahmias, Production and Operations Analysis (7th ed.) — EOQ and inventory-control models.

Question 5: Integer LP by Branch and Bound (15 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. Maximize $Z=x_1+2x_2$ s.t. $x_1+3x_2\le16$, $x_1+x_2\le7$, $x_1,x_2\ge0$ and integer.

Find. The integer-optimal $(x_1,x_2)$ and $Z^*$ by branch and bound.

Approach. Solve the LP relaxation graphically for an upper bound, branch on the fractional variable, resolve each sub-LP graphically, and stop once every open branch is either integer-feasible or bounded below the best integer solution found.

  1. Root LP relaxation. The feasible region's vertices are $(0,0)$, $(7,0)$, $(0,16/3)$, and the intersection of the two binding constraints. Solving $x_1+3x_2=16$ and $x_1+x_2=7$ simultaneously: subtracting gives $2x_2=9\Rightarrow x_2=4.5$, $x_1=2.5$. Evaluating $Z=x_1+2x_2$ at all vertices, the maximum is at $(2.5,4.5)$: $$Z_{\text{LP}}=2.5+2(4.5)=\boxed{11.5\text{ (upper bound for any integer solution)}}.$$
  2. Branch on $x_2$ (fractional at 4.5). Create two sub-problems: Branch 1 adds $x_2\le4$; Branch 2 adds $x_2\ge5$.
  3. Branch 1 ($x_2\le4$). The new binding vertex is the intersection of $x_1+x_2=7$ and $x_2=4$: $x_1=3$. Checking the other constraint, $x_1+3x_2=3+12=15\le16$ — feasible, and this vertex is already integer: $$(x_1,x_2)=(3,4),\quad Z=3+2(4)=\boxed{11}.$$ No further branching needed on this side — record it as an incumbent.
  4. Branch 2 ($x_2\ge5$). With $x_2\ge5$, constraint $x_1+3x_2\le16$ forces $x_1\le1$ when $x_2=5$ (and $x_2\le16/3=5.33$, so $x_2=5$ is the only integer value in range once $x_1\ge0$). Maximizing $x_1$ at $x_2=5$ gives $x_1=1$ (also satisfies $x_1+x_2=6\le7$): $$(x_1,x_2)=(1,5),\quad Z=1+2(5)=\boxed{11}.$$
  5. Prune and conclude. Both branches terminate in integer-feasible solutions tied at $Z=11$, and $11$ is the best possible since the root LP bound was $11.5$ (no integer point can reach above $\lfloor11.5\rfloor=11$). Branch and bound therefore terminates with two alternate optima: $$\boxed{Z^*=11\ \text{at } (x_1,x_2)=(3,4)\ \text{or}\ (1,5).}$$
Final results — Question 5
QuantityValue
LP relaxation optimum$(2.5,4.5)$, $Z=11.5$
Integer optimum$Z^*=11$
Optimal integer solutions$(3,4)$ and $(1,5)$ (tied, alternate optima)