



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is the Exam of Linear Programming which includes Understand, Formulae, Mean, Linear Program, Standard Two Phase, Linear Programming, Matrix, Sum Game, Player, Probability Vectors etc. Key important points are: Linear Programming, Maximize, Optimal Dual, Linear Program, Dual Linear Program, Linear Program, Description, Dual Solution, Primal, Current Basis
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Be sure this exam has 5 pages. THE UNIVERSITY OF BRITISH COLUMBIA Sessional Examination - December 18, 2010 MATH 340: Linear Programming Instructor: Dr. R. Anstee, Section 101
Special Instructions: No calculators. You must show your work and explain your answers. Quote names of theorems used as appropriate. Time: 3 hours Total marks: 100
a) [10pts] Solve the following linear programming problem, using our standard two phase method and using Anstee’s rule.
Maximize 5 x 1 +x 2 −x 3 3 x 1 +x 2 −x 3 ≤ − 2 x 1 −x 2 − 2 x 3 ≤ − 3 x 1 ≤ 2
x 1 , x 2 , x 3 ≥ 0
b) [2 marks] Give an optimal dual solution. How can you verify it is optimal?
Maximize 10 x 1 +14x 2 +20x 3 3 x 1 +x 2 +3x 3 ≤ 45 2 x 1 +2x 2 ≤ 20 x 1 +2x 2 +5x 3 ≤ 15
x 1 , x 2 , x 3 ≥ 0
a) [2 marks] Give the Dual Linear Program of the above Linear Program.
b) [2 marks] State the Theorem of Complementary Slackness including a description of the conditions of complementary slackness.
c) [6 marks] You are given that an optimal primal solution has x∗ 1 = 10, x∗ 2 = 0, x∗ 3 = 1. Determine an optimal dual solution (without pivoting), stating which theorems you have used.
d) [2 marks] Does the dual solution determined in c) remain optimal if we replace the first two inequalities of the primal by 3x 1 − x 2 + 3x 3 ≤ 45 and 2x 1 + 3x 2 ≤ 20? Explain.
x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 5 1 3 1 1 1 0 0 x 6 − 1 4 1 2 0 1 0 x 7 − 1 − 1 0 − 1 0 0 1
b x 5 5 x 6 7 x 7 − 1
B− (^1) =
x 5 x 6 x 7 x 7 − 1 1 1 x 3 2 − 1 0 x 4 − 1 1 0
( x^1 x^2 x^3 x^4 x^5 x^6 x^7 c 1 9 2 3 0 0 0
)
house 1 house 2 house 3 total available wood 1 2 1 6 labour 2 5 3 15 capital 3 6 4 19
$ profit 4 9 5
Let xi denote the amount of house i to produce and let x3+i denote the ith slack for i = 1, 2 , 3. The final dictionary is:
x 1 = 1 − 2 x 4 +2x 5 −x 6 x 2 = 2 −x 4 −x 5 +x 6 x 3 = 1 +3x 4 −x 6 z = 27 − 2 x 4 −x 5
x 4 x 5 x 6 x 1 2 − 2 1 x 2 1 1 − 1 x 3 − 3 0 1
NOTE: All questions are independent of one another.
a) [2 marks] Give the marginal values for each of the resources wood, labour and capital.
b) [3 marks] Consider a new house (say house 4) with requirements 2 units of wood, 2 units of labour and 3 units of capital and profit of $7. Are you interested in producing this new house. Explain.
c) [5 marks] Give the range on c 3 (profit for house 3) so that the current solution remains optimal.
d) [5 marks] Give the range on b 2 (resource availability for labour) so that the current basis remains optimal. Also give the profit as a linear function of b 2 in that range. Hint for e),f): You need not complete all of the very final dictionary, merely the variables in the basis and the constants and all the entries in the z row.
e) [5 marks] Given resource availabilities of
, obtain (using the Dual Simplex method) the
new optimal solution as well as the new marginal values.
f) [5 marks] Consider adding a new constraint x 1 + x 2 ≤ 2 to our original problem. Solve using the Dual Simplex method. Report the new solution as well as the new marginal values.
The following is the output from LINDO:
( 5 3 1 7 9 12
)
Give explicitly the LP that determines the optimal strategy for player 2 (the ‘column’ player). Do not solve. What does your objective function measure?
i) There exists an x with Ax ≤ b, Cx = d or
ii) There exists y, z with AT^ y + CT^ z = 0 , y ≥ 0 and b · y + d · z < 0
but not both.
Name theorems used as you use them.
LP (c) :
max c · x Ax ≤ b x ≥ 0
Assume that when c = d we have that B yields an optimal basis and that x∗^ is the optimal solution for LP(d) in this case.
a) [2 marks] Show that x∗^ is still an optimal solution for LP(1. 02 × d) namely when c = 1. 02 × d (this might correspond to an inflation of 2%).
b) [8 marks] Let e, f be two vectors such that B is still an optimal basis when c = e and also when c = f. Show that x∗^ is an optimal solution for LP(2 × e + 3 × f), namely when c = 2 × e + 3 × f.