Docsity

8 Final Examples on Linear Optimization | MATH 407, Exams of Linear Algebra

Toggle sidebar
bg1
Math 407 Example Final Example
1. You will be expected to know the the duality theorems in
http://www.math.washington.edu/~burke/crs/407/notes/section4.pdf
For example:
(a) State the Weak Duality Theorem.
(b) State the Strong Duality Theorem.
(c) State the Complementary Slackness Theorem.
2. (a) You should be able to solve problems using the primal simplex algorithm; for example,
show your work in the solution of the problem
maximize cTxw.r.t x∈R4
+
subject to Ax ≤b
where
A= 123−1
112−3!, b = 5
1!, c =
1
5
1
1
(Hint, some pivots are easier than others.)
(b) You should be able to solve problems using the dual simplex algorithm; for example,
show your work in the solution of the problem
maximize cTxw.r.t x∈R4
+
subject to Ax ≤b
where
A= 123−1
112−3!, b = −5
−3!, c =
−1
−5
−1
−1
3. You should be able to apply the the duality theorems to make certain problems easier to solve.
For example, prove that the point x= (0,4/3,2/3,5/3,0)Tis optimal (or prove it is not
optimal) for the problem
maximize cTxw.r.t x∈R5
+
subject to Ax ≤b
where
A=
1 3 5 −2 2
4 2 −2 1 1
2 4 4 −2 5
3 1 2 −1−2
, b =
4
3
5
1
, c =
7
6
5
−2
3
1
pf3
pf4

Partial preview of the text

Download 8 Final Examples on Linear Optimization | MATH 407 and more Exams Linear Algebra in PDF only on Docsity!

Math 407 Example Final Example

  1. You will be expected to know the the duality theorems in

http://www.math.washington.edu/~burke/crs/407/notes/section4.pdf

For example:

(a) State the Weak Duality Theorem. (b) State the Strong Duality Theorem. (c) State the Complementary Slackness Theorem.

  1. (a) You should be able to solve problems using the primal simplex algorithm; for example, show your work in the solution of the problem

maximize cTx w.r.t x ∈ R^4 + subject to Ax ≤ b

where

A =

( 1 2 3 − 1 1 1 2 − 3

) , b =

( 5 1

) , c =

  

  

(Hint, some pivots are easier than others.) (b) You should be able to solve problems using the dual simplex algorithm; for example, show your work in the solution of the problem

maximize cTx w.r.t x ∈ R^4 + subject to Ax ≤ b

where

A =

( 1 2 3 − 1 1 1 2 − 3

) , b =

( − 5 − 3

) , c =

   

   

  1. You should be able to apply the the duality theorems to make certain problems easier to solve. For example, prove that the point x = (0, 4 / 3 , 2 / 3 , 5 / 3 , 0)T^ is optimal (or prove it is not optimal) for the problem maximize cTx w.r.t x ∈ R^5 + subject to Ax ≤ b where

A =

   

    , b =

   

    , c =

    

    

  1. You should be able to solve word problems; for example,

An electronics company has a contract to deliver 20,000 radios within the next four weeks. The client is willing to pay $20 for each radio delivered by the end of the first week, $18 for those delivered by the end of the second week, $16 by the end of the third week, and $ by the end of the fourth week. Since each worker can assemble only 50 radios per week, the company cannot meet the order with its present labor force of 40; hence it must hire and train temporary help. Any of the experienced workers can be taken off the assembly line to instruct a class of three trainees; after one week of instruction, each of the trainees can either proceed to the assembly line or instruct additional new classes. At present, the company has no other contracts; hence some workers may become idle once the delivery is completed. All of them, whether permanent or temporary, must be kept on the payroll until the end of the fourth week. The weekly wages of a worker, whether assembling, instructing, or being idle, are $200; the weekly wages of a trainee are $100. The production costs, excluding the worker’s wages, are $5 per radio. The company’s aim is to maximize the total net profit. Formulate as an Linear programming problem (not necessarily in the standard from). Use the following notation in your formulation: e 1 , e 2 , e 3 , e 4 number of experienced workers during the week corresponding to the subscript a 1 , a 2 , a 3 , a 4 number of assemblers during the week corresponding to the subscript t 1 , t 2 , t 3 , t 4 number of trainees during the week corresponding to the subscript

  1. You should be able to convert a linear programming problem to the corresponding Noes-Clp input file; for example, given the problem

maximize cTx w.r.t x ∈ R^2 × R^3 + subject to A 1 , 1 x 1 + · · · + A 1 , 5 x 5 = b 1 A 2 , 1 x 1 + · · · + A 2 , 5 x 5 ≥ b 2 A 3 , 1 x 1 + · · · + A 3 , 5 x 5 ≤ b 3

where

A =

  

   , b^ =

  

   , c^ =

    

    

fill in the the characters above the underlines _ (except for the ones that should be left as spaces) so that the corresponding Neos-Clp input solves the problem above:

lp Clp MPS <![CDATA[* *Op Name0--- Name1--- Value1------ Name2--- Value2------ *23 56789012 56789012 567890123456 01234567 012345678901 NAME exam_pro ROWS __ z __ r __ r

  1. You should understand the properties related to the final simplex tableau. For example, suppose the final tableau of a simple iteration is

x1 x2 x3 s1 s2 s3 b 1 2 0 2 0 -1 2 0 -5 0 -2 1 0 1 0 -1 1 -3 0 2 1 0 -3 0 -1 0 -1 -

where x 1 , x 2 , x 3 are the primal variables, s 1 , s 2 , s 3 are the slack variables, and b 1 , b 2 , b 3 are the corresponding constraint bounds.

(a) What is the dictionary corresponding to this tableau? (b) What is the optimal solution for the primal problem? (c) Where is the optimal value of the objective located in the tableau? (d) Where is the solution for the dual problem located in the tableau? (e) What is the rate of change of the optimal objective value with respect to changes in the value of b 1 , b 2 and b 3?

  1. You should know how to include the minimum (or maximum) of a set of linear functions as part of your objective in a linear program. This can be used to find a feasible starting point or for the objective in a matrix game. For example; convert the following to a linear programming problem in standard form (a maximize problem with only non-negative variables and inequality constraints):

minimize max{y 1 , y 2 } w.r.t x 1 ∈ R+ , (x 2 , y 1 , y 2 ) ∈ R^3 subject to 2 x 1 + 3x 2 = y 1 3 x 1 + 2x 2 = y 2