MIT15 053S13 Ps6sol
MIT15 053S13 Ps6sol
MIT15 053S13 Ps6sol
Problem 1
(Total 16 points) We are using Branch-and-Bound to solve an Integer Program with an objective
function in maximization form. All coecients of the objective function are integer valued.
We currently have the following Branch-and-Bound tree, where nodes are labeled N1 , . . . , N9
and the numbers below each node indicate the value of its LP relaxation. The incumbent
solution was obtained in solving the LP at N4 . The optimal LP solution was feasible for the IP
and had objective value 25.
29.2
27.2
27.2
25
26.5
26.8
26.5
25.2
24.8
?
(a) (4 points) Let v9 be the optimum value of the LP associated with node N9 . Choose the
best answer. (It is the answer that is correct and provides the most information.)
i. v9 27.2
ii.
iii.
iv.
v9 26.5
v9 = 26.5
v9 25.2
Solution.
ii. v9 26.5 because the parent node has LP solution 26.5, and thus
when adding an additional constraint in the child node, it cannot have a higher
optimal solution.
(b) (4 points) With the information that we currently have, what are the best upper and lower
bounds that we can give on the value v of the optimal solution for the integer program?
Solution.
We know the solution must be at least as high as the incumbent, which is
v4 = 25; in addition, the optimal solution cannot be greater than v3 = 26.5, and thus must
also be less than or equal to 26 because all of the IP coecients are integer. Therefore,
25 v 26.
(c) (8 points) For each of the following nodes of the tree, say whether it is active (A) or fathomed
(F) or whether there is not enough information (NEI) to know. We recall that fathoming
is the same as pruning.
(i) N4
Solution.
F- N4 has been Fathomed has its LP relaxation is a feasible solution
for the IP, and it is the incumbent solution.
(ii) N5
Solution.
A- N5 has an LP solution higher than the incumbent, so its children
will need to be checked.
(iii) N7
Solution.
(iv) N8
Solution.
F- Because the LP solution for N8 is 25.2, the IP feasible solution for
any of its descendants cannot be higher than 25, which is the incumbent solution;
therefore, it is fathomed.
(v) N9
Solution.
or not.
Problem 2
(Total 24 points) Consider the following capital budgeting problem: We have a set of six possible
investments with the following characteristics:
Investment
NPV Added
Cash Required
1
$33
$10
2
$45
$14
3
$25
$8
4
$17
$6
5
$39
$12
6
$23
$8
We want to nd the optimal set of investments that maximizes the total Net Present Value
(NPV) while limiting the amount of initial investment to $28.
2
(a) (4 points) Write an integer program to determine the optimal set of investments that max
imizes the net present value.
Solution.
This is a knapsack type of problem. Dene binary decision variables
x1 , x2 , . . . , x6 for each investment. The integer program that yields the optimal set of
investments that maximizes the net present value is given below.
max 33x1 + 45x2 + 25x3 + 17x4 + 39x5 + 23x6
s.t.
x1 , x2 , x3 , x4 , x5 , x6 {0, 1}.
(c) (5 points) Either node 2 or node 3 will repeat the solution from node 1. Explain why. Either
node 4 or node 5 repeats the solution of node 2. Explain why.
Solution. Node 3 repeats Node 1. Note that the optimal solution of Node 1 has x1 = 1.
Therefore adding a constraint x1 = 1 to Node 3 yields the same optimal solution. For the
similar reason, Node 5 repeats the solution of Node 2, because both have x1 = 0, x2 = 1.
Solution.
Problem 3
(All parts are Excel submission .) (Total 18 points) Consider the same integer program from
Problem 2. However, this time, we will solve the problem using cutting planes. We will start
with the same incumbent as in Problem 2. This incumbent is the optimal integer solution.
(a) (4 points) Solve the linear program. Does the solution to this LP prove that the incumbent
is optimal for the IP? Why or why not? If your answer to part (a) is no, then continue
to Part (b).
Solution.
No, the LP solution does not prove that the incumbent is optimal for the
IP. Because the LP solution is fractional, and it turns out that ZLP > ZIP .
(b) (7 points) You obtained a solution for Part (a) in which two variables are 1 and one is
a fraction less than 1. Add to the LP the cut xi + xj + xk 2, where these are the
three decision variables that were positive in the LP solution. (And write the cut on the
spreadsheet in the indicated place.) Solve the revised linear program. Does the solution to
this LP prove that the incumbent is optimal for the IP? Why or why not? If your answer
to Part (b) is no, then continue to Part (c).
3
Solution.
From the LP solution, we add a constraint x1 + x2 + x5 2. The LP does
not prove the incumbent is optimal, because the LP solution is fractional and ZLP =
90.75 > 89, and we are maximizing.
(c) (7 points) You obtained a solution for Part (b) in which two variables are 1 and one is a
fraction less than 1. Add to the LP from Part (b) the cut xi + xj + xk 2, where these
are the three decision variables that were positive in the LP solution. (And write the cut on
the spreadsheet in the indicated place.) Solve the revised linear program. Does the solution
to this LP prove that the incumbent is optimal for the IP? Why or why not?
Solution.
Add another constraint x1 + x3 + x5 2. The LP relaxation still does not
prove the incumbent is optimal, because the LP solution is fractional and ZLP = 90.6 >
89.
Problem 4
(Total 12 points, 3 points each) We want to nd valid inequalities for the following 0-1 knapsack
problem:
s.t.:
4x1 + 3x2 + 7x3 + 6x4 + 5x5 + 8x6 15
(KP)
x1 , x2 , x3 , x4 , x5 , x6 {0, 1}.
For each of the inequalities below, identify whether or not they are valid.
(a) x1 + x3 + x4 2.
Solution.
Valid- the sum of the constraint coecients is 17, which breaks the con
straint, so x1 + x3 + x4 must be less than 3.
(b) x2 + x3 + x5 2.
Solution. Invalid- the sum of the constraint coecients is 15, meaning all three decision
variables could potentially be 1 and x2 + x3 + x5 could be 3.
(c) x3 + x5 1.
Solution.
broken.
Invalid- both decision variables could be 1, and the constraint would not be
(d) x1 + x2 + x4 + x6 3.
Solution.
Valid- the sum of all of the constraint coecients for these four decision
variables is 21, which breaks the constraint, so at most three can be chosen.
Problem 5
(Total 30 points)We want to solve the following integer program with two variables:
s.t.:
2x1 + x2 11
x1 + 2x2 6
j = 1, 2
xj 0
j = 1, 2
xj Z.
Let s1 , s2 be the slack variables for the rst and second constraint respectively. Solving the LP
relaxation for this problem yields the following optimal Simplex tableau:
Basic
(z)
x1
x2
x2
x1
1
s1
-11/5
2/5
1/5
s2
-2/5
-1/5
2/5
Rhs
-133/5
16/5
23/5
(a) (4 points) Slack variables are usually allowed to be fractional. If x1 and x2 are both integers,
will s1 and s2 also be integers? Briey explain why or why not.
Solution. Yes, they can be considered integer constrained because they are equal to the
sum of integers (integer variables and integer coecients). For example: s1 = 112x1 x2 ,
and the rhs is integer because x1 and x2 is integer. It follows that s1 can be considered
integer constrained as well.
(b) (6 points) Derive a Gomory cut from each of the rst two rows in the optimal Simplex
tableau.
Solution.
16
.
5
Because x1 and s2 are integer, the rhs must be integer as well. Therefore, we can round
it down:
x1 s2 3.
We now subtract this last equation from the rst, and obtain:
2
4
1
s1 + s2 .
5
5
5
We repeat this procedure for the second row and obtain:
1
2
3
s1 + s2 .
5
5
5
These are the two Gomory cuts.
5
x1 + 2x2 11
x1 + 2x2 6
x2 4
Therefore we can substitute for these two variables in the Gomory cuts, and obtain the
following cuts:
9
2
4.
x2
x2
Clearly the second cut is stronger than the rst one. We can now graph the feasible region
in the (x1 , x2 )-space: see Figure 1.
(d) (6 points) We now append the cuts (or the cut, if only one of them is needed) to the LP
relaxation, and resolve. We provide the optimal Simplex tableau after resolving below:
Basic
(z)
x1
s2
x2
x1
x2
s1
-2
1/2
1/2
s2
s3
-1
-1/2
-5/2
1
Rhs
-26
7/2
3/2
4
where s3 is the slack variable corresponding to the appended cut. Which rows can be used
to derive Gomory cuts? Compute the cuts. Rewrite them in terms of x1 and x2 .
x1 + 2x2 11
x1 + 2x2 6
x2 4
x1 + x2 7
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.