2022
2022
1 (10%) NYCU airline is considering the purchase of long-, medium-, and short-
range airplanes. The price would be $335 million for each long-range plane, $250
for each medium-range plane, and $175 million for each short-range plane. The
board has authorized a maximum of $7.5 billion (a billion is a thousand million)
for these purchases. It is estimated that the net annual profit would be $21 million
per long-range plane, $15 million per medium-range plane, and $11.5 million per
short-range plane. It is predicted that enough trained pilots will be available to
crew 30 new airplanes. If only short-range planes were purchased, the
maintenance facilities would be able to handle 40 new planes. However, each
medium-range plane is equivalent to 4/3 short-range planes, and each long-range
plane is equivalent to 5/3 short-range planes in terms of their use of the
maintenance facilities. Management wishes to know how many planes of each
type should be purchased to maximize profit.
(a) Formulate an IP model for this problem. (5%)
(b) Use the binary representation of the variables to reformulate the IP model in
part (a) as a BIP problem. (5%)
Solution:
(a) Let L, M, and S be the number of long-, medium-, and short-range planes to buy.
Max 21L + 15M + 11.5S (1%)
S.T. 33 L + 250M + 175S ≤ 7500 (1%)
L + M + S ≤ 30 (1%)
5/3L + 4/3M + S ≤ 40 (1%)
L, M, S ≥ 0, integers (1%)
!"## %#
(b) 𝐿 ≤ 𝑀𝑖𝑛 ' $$" , 30, "& , = 22.4, 2% ≤ 22.4 ≤ 2" (1%)
$
!"## %#
𝑀 ≤ 𝑀𝑖𝑛 ' '"# , 30, %& , = 30, 2% ≤ 30 ≤ 2"
$
!"## %#
𝑆 ≤ 𝑀𝑖𝑛 2 (!" , 30, ( 3 = 30, 2% ≤ 30 ≤ 2"
Thus, the binary representation of L, M, and S are:
𝐿 = 2# 𝑙# + 2( 𝑙( + 2' 𝑙' + 2$ 𝑙$ + 2% 𝑙% (1%)
𝑀 = 2# 𝑚# + 2( 𝑚( + 2' 𝑚' + 2$ 𝑚$ + 2% 𝑚%
𝑆 = 2# 𝑠# + 2( 𝑠( + 2' 𝑠' + 2$ 𝑠$ + 2% 𝑠%
Substitute L, M, and S with these binary representation, we have
Max 21∑%)*# 2) 𝑙) + 15∑%)*# 2) 𝑚) + 11.5∑%)*# 2) 𝑠) (1%)
S.T. 335∑%)*# 2) 𝑙) + 250∑%)*# 2) 𝑚) + 175∑%)*# 2) 𝑠) ≤ 7500 (1%)
∑%)*# 2) 𝑙) + ∑%)*# 2) 𝑚) + ∑%)*# 2) 𝑠) ≤ 30
5/3∑%)*# 2) 𝑙) + 4/3∑%)*# 2) 𝑚) + ∑%)*# 2) 𝑠) ≤ 40
𝑙) , 𝑚) , 𝑠) 𝑏𝑖𝑛𝑎𝑟𝑦, 𝑖 = 0,1,2,3,4 (1%)
1
College of Management, NYCU 2022
Let x1, x2, x3, and x4 represents the production rate of each product. There are three
conditions that need to be satisfied.
(1) At most two products can be produced.
(2) Product 3 can be produced as long as product 1 or 2 is produced.
(3) Either 5x1 + 3x2 + 6x3 + 4x4 £ 6000 or 4x1 + 6x2 + 3x3 + 5x4 £ 6000 is satisfied.
Formulate the above problem as an integer programming problem.
Solution
yi = 1, if product i is made; yi = 0, otherwise (i = 1,…,4) (1%)
y5 = 1, if 5x1 + 3x2 + 6x3 + 4x4 ≤ 6000 is satisfied (1%)
y5 = 0, if 4x1 + 6x2 + 3x3 + 5x4 ≤ 6000 is satisfied (1%)
Max 70x1 + 60x2 + 90x3 + 80x4 – 50000y1 – 40000y2 – 70000y3 – 60000y4 (2%)
S.T. y1 + y2 + y3 + y4 ≤ 2 (1%)
y1 + y2 – y3 ≥ 0 (1%)
5x1 + 3x2 + 6x3 + 4x4 ≤ 6000 + M(1 – y5) (1%)
4x1 + 6x2 + 3x3 + 5x4 ≤ 60000 + My5 (1%)
x1 ≤ My1 (1%); x2 ≤ My2 (1%); x3 ≤ My3 (1%); x4 ≤ My4 (1%)
xi ≥ 0 and integers (i = 1,…,4) (1%)
yi binary (j = 1,…,5) (1%)
2
College of Management, NYCU 2022
3 (10%) Given the following partially finished branch-and-bound tree of a BIP, label
each of the statements as True or False, and then justify your answer. The numbers
associated with each subproblem are the LP relaxation solution. (total: 12%)
3
College of Management, NYCU 2022
4
College of Management, NYCU 2022
We try to solve this problem by using the gradient search algorithm. Given that
(1, 1) is the current (trial) solution, please answer the following questions.
Suppose the error tolerance is 0.01.
(a) What is the suggested searching direction for the next trial solution? (4%)
(b) Suppose the searching direction obtained from (a) is (0, 1). How far can we go
along this searching direction without downgrade the objective value? (4%)
(c) When the gradient method terminates, we obtain the solution (5, 6). Is this the
global optimal solution? Why? (7%)
Solution
(a) ∇𝑓(𝑥) = (4𝑥' − 4𝑥( , 4𝑥( − 2𝑥' ) (2%)
∇𝑓(1,1) = (0, 2) à This is the searching direction. (2%)
(b) (1,1) + 𝑡(0,1) = (1, 1 + 𝑡) (2%)
𝑓(1, 1 + 𝑡) = 4(1 + 𝑡) − 2 − (1 + 𝑡)' = −𝑡 ' + 2𝑡 + 1 (2%)
-.
-/
= −2𝑡 + 2 = 0 à 𝑡 = 1 (2%)
0! . 0! . 0! .
(c) 01"! = −4(1%), 01!!
= −2(1%), 01" 1!
= 4(1%)
5
College of Management, NYCU 2022
6
College of Management, NYCU 2022
7
College of Management, NYCU 2022