Docsity

Solution to Exam 1 - Linear and Nonlinear Programming | MATH 4553, Exams of Mathematics

Toggle sidebar
bg1
Math 4553, Exam I, Feb. 25, 2011 Name:
1. (25 points) Consider the following portfolio management problem
Stock type Medicine Precious metal Computer Hardware New Energy Retail
Interest Rate 12% 9% 5% 8% 4%
Risk factor 3.2 1.8 1.6 2.1 1.4
A business man plans to invest exactly 1 million dollars on these stocks. The investment
on Precious Metal can not exceed $25,000, The combined amount invested on Medicine
and Computer Hardware must be at least $30,000. The business man want to maximize the
profit, while limit the average risk factor within 2.0.
(a) Formulate a linear programming problem using the given conditions.
(b) Rewrite the problem into a standard form.
(c) Find the dual of this problem.
2. (25 points) Solve the following problem use the Simplex method. If the problem has no so-
lution, unbounded solution, or multiple solutions, you must state so and justify your answer.
min f= 2x1โˆ’x2+ 2x3
subject to 2x1โˆ’x2+x3= 5
x1+x2โ‰ฅ10
x1, x2โ‰ฅ0
x3free
1
pf3
pf4

Partial preview of the text

Download Solution to Exam 1 - Linear and Nonlinear Programming | MATH 4553 and more Exams Mathematics in PDF only on Docsity!

Math 4553, Exam I, Feb. 25, 2011 Name:

  1. (25 points) Consider the following portfolio management problem

Stock type Medicine Precious metal Computer Hardware New Energy Retail Interest Rate 12% 9% 5% 8% 4% Risk factor 3.2 1.8 1.6 2.1 1.

A business man plans to invest exactly 1 million dollars on these stocks. The investment on Precious Metal can not exceed $25,000, The combined amount invested on Medicine and Computer Hardware must be at least $30,000. The business man want to maximize the profit, while limit the average risk factor within 2.0.

(a) Formulate a linear programming problem using the given conditions. (b) Rewrite the problem into a standard form. (c) Find the dual of this problem.

  1. (25 points) Solve the following problem use the Simplex method. If the problem has no so- lution, unbounded solution, or multiple solutions, you must state so and justify your answer.

min f = 2x 1 โˆ’ x 2 + 2x 3 subject to 2 x 1 โˆ’ x 2 + x 3 = 5 x 1 + x 2 โ‰ฅ 10 x 1 , x 2 โ‰ฅ 0 x 3 free

Solution to Exam I

  1. (a) Let xi, i = 1,... , 5 , be the ammounts of investments on different types of stocks, then the objective function is max f = 0. 12 x 1 + 0. 09 x 2 + 0. 05 x 3 + 0. 08 x 4 + 0. 04 x 5 and the constraints are x 1 + x 2 + x 3 + x 4 + x 5 = 1, 000 , 000 (total ammount) x 2 โ‰ค 25 , 000 (precious metal) x 1 + x 3 โ‰ฅ 30 , 000 (medicine plus computer harware) 3. 2 x 1 + 1. 8 x 2 + 1. 6 x 3 + 2. 1 x 4 + 1. 4 x 5 1 , 000 , 000

โ‰ค 2. 0 (risk factor)

xi โ‰ฅ 0 , i = 1,... , 5 Another way to solve the problem is to set xi to be the percentage of investments. Then the objective function is max f = 1, 000 , 000 ร— (0. 12 x 1 + 0. 09 x 2 + 0. 05 x 3 + 0. 08 x 4 + 0. 04 x 5 ) and the constraints are x 1 + x 2 + x 3 + x 4 + x 5 = 1 (total percentage = 100%) 1 , 000 , 000 x 2 โ‰ค 25 , 000 (precious metal) 1 , 000 , 000(x 1 + x 3 ) โ‰ฅ 30 , 000 (medicine plus computer harware)

  1. 2 x 1 + 1. 8 x 2 + 1. 6 x 3 + 2. 1 x 4 + 1. 4 x 5 โ‰ค 2. 0 (risk factor) xi โ‰ฅ 0 , i = 1,... , 5 (b) In part (b) and (c), we will only show the solution when xi are set to be the amounts. The solution for xi to be the percentage of investments is similar. min f = โˆ’ 0. 12 x 1 โˆ’ 0. 09 x 2 โˆ’ 0. 05 x 3 โˆ’ 0. 08 x 4 โˆ’ 0. 04 x 5 subject to x 1 + x 2 + x 3 + x 4 + x 5 โ‰ฅ 1 , 000 , 000 โˆ’ x 1 โˆ’ x 2 โˆ’ x 3 โˆ’ x 4 โˆ’ x 5 โ‰ฅ โˆ’ 1 , 000 , 000 โˆ’ x 2 โ‰ฅ โˆ’ 25 , 000 x 1 + x 3 โ‰ฅ 30 , 000 โˆ’ 3. 2 x 1 โˆ’ 1. 8 x 2 โˆ’ 1. 6 x 3 โˆ’ 2. 1 x 4 โˆ’ 1. 4 x 5 โ‰ฅ โˆ’ 2 , 000 , 000 xi โ‰ฅ 0 , i = 1,... , 5 (c) The dual problem is max g = 1, 000 , 000 u 1 โˆ’ 25 , 000 u 2 + 30, 000 u 3 โˆ’ 2 , 000 , 000 u 4 subject to u 1 + u 3 โˆ’ 3. 2 u 4 โ‰ค โˆ’ 0. 12 u 1 โˆ’ u 2 โˆ’ 1. 8 u 4 โ‰ค โˆ’ 0. 09 u 1 + u 3 โˆ’ 1. 6 u 4 โ‰ค โˆ’ 0. 05 u 1 โˆ’ 2. 1 u 4 โ‰ค โˆ’ 0. 08 u 1 โˆ’ 1. 4 u 4 โ‰ค โˆ’ 0. 04 u 2 , u 3 , u 4 , โ‰ฅ 0 , u 1 free

f = | -2.0000 1.0000 0.0000 10. x3 = | -2.0000 1.0000 0.0000 5. f0 = | -1.0000 -1.0000 1.0000 10.

Now try to minimize f 0. Exchange x 0 with x 1 ,

x0 x2 y2 1

x1 = | -1.0000 -1.0000 1.0000 10.

f = | 2.0000 3.0000 -2.0000 -10. x3 = | 2.0000 3.0000 -2.0000 -15. f0 = | 1.0000 0.0000 0.0000 0.

The minimum of f 0 is reached and f 0 = 0. This completes phase I. Delete x 0 -column and f 0 -row,

x2 y2 1

x1 = | -1.0000 1.0000 10.

f = | 3.0000 -2.0000 -10. x3 = | 3.0000 -2.0000 -15.

The tableau is now feasible. We can start phase II.

Notice immediately that the tableau is unbounded, since no pivot row can be chosen. Indeed, if we let y 2 = ฮป โ‰ฅ 0 , then

x 1 = ฮป + 10 โ‰ฅ 0 , x 2 = 0, x 3 = โˆ’ 2 ฮป โˆ’ 15 (free variable)

and f = โˆ’ 2 ฮป โˆ’ 10.

As ฮป goes to +โˆž, the value of f goes to โˆ’โˆž.