02-B&B For ILP
02-B&B For ILP
02-B&B For ILP
for
Integer Linear Programming
Question 1
Develop the B&B tree for each of the following problems. For
convenience, always select x_1 as the branching variable at node 0.
2𝑥1 + 5𝑥2 ≤ 18
𝑥1
LP 1
𝑥1 = 3.375, 𝑥2 = 2.25, 𝑍 = 14.625
𝑥1 ≤ 3 𝑥1 ≥ 4
LP 2 LP 2
𝑥1 = 3, 𝑥2 = 2.4, 𝑍 = 13.8 𝑥1 = 4, 𝑥2 = 1, 𝑍 = 14
4𝑥1 + 9𝑥2 ≤ 35
7𝑥1 + 5𝑥2 ≤ 36
𝑥1 , 𝑥2 ≥ 0 𝑎𝑛𝑑 𝑖𝑛𝑡𝑒𝑔𝑒𝑟
𝑥2 Value of
7𝑥1 + 5𝑥2 ≤ 36 X Y the
Point coordina coordina objetive
te (X1) te (X2) function
(Z)
O 0 0 0
B 5.14 0 10.28
C 3.47 2.35 13.99
D 0 3.89 11.67
4𝑥1 + 9𝑥2 ≤ 35
𝑥1
LP 1
𝑥1 = 3.47, 𝑥2 = 2.35, 𝑍 = 13.98
𝑥1 ≤ 3 𝑥1 ≥ 4
LP 2 LP 3
𝑥1 = 3, 𝑥2 = 2.56, 𝑍 = 13.68 𝑥1 = 4, 𝑥2 = 1.6, 𝑍 = 12.8
𝑥2 ≤ 2 𝑥2 ≥ 3
LP 4 LP 5
𝑥1 = 3, 𝑥2 = 2, 𝑍 = 12 𝑥1 = 2, 𝑥2 = 3, 𝑍 = 13
2𝑥1 + 3𝑥2 ≥7
𝑥1
LP 1
𝑥1 = 0.2, 𝑥2 = 2.2, 𝑍 = 9.8
𝑥1 ≤ 0 𝑥1 ≥ 1
LP 2 LP 3
𝑥1 = 0, 𝑥2 = 2.5, 𝑍 = 10 𝑥1 = 1, 𝑥2 = 1.67, 𝑍 = 11.68
𝑥2 ≤ 2 𝑥2 ≥ 3
𝑥2 ≤ 1 𝑥2 ≥ 2
LP 4 LP 5
Infeasible 𝑥1 = 0, 𝑥2 = 3, 𝑍 = 12
LP 6 LP 7
𝑥1 = 2, 𝑥2 = 1, 𝑍 = 14 𝑥1 = 1, 𝑥2 = 2, 𝑍 = 13
LP 2 LP 3
𝑥1 = 5 , 𝑥2 = 1.78 , 𝑍 = 37.46 𝑥1 = 6 , 𝑥2 = 1, 𝑍 = 37
𝑥2 ≤ 1 𝑥2 ≥ 2
LP 4 LP 5
𝑥1 = 5, 𝑥2 = 1, 𝑍 = 32 𝑥1 = 4.6 , 𝑥2 = 2, 𝑍 = 37
𝑥1 ≤ 4 𝑥1 ≥ 5
LP 6 LP 7
𝑥1 = 4, 𝑥2 = 2.33 , 𝑍 = 36.31 Infeasible
fathom
Therefore, Optimal ILP
𝑥1 = 6 , 𝑥2 = 1, 𝑍 = 37
Question 5
Develop the B&B tree for each of the following problems. For
convenience, always select x_1 as the branching variable at node 0.