Review Problems Solutions MATH 3300A (01) Optimization Fall Graphically, the optimal solution is found to be x 1 = 36/7, x 2 = 66/7, z = 69/7.

Similar documents
END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

Section Notes 9. Midterm 2 Review. Applied Math / Engineering Sciences 121. Week of December 3, 2018

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

Review Solutions, Exam 2, Operations Research

Optimization Methods in Management Science

Math Models of OR: Sensitivity Analysis

Operations Research Lecture 6: Integer Programming

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

Operations Research I: Deterministic Models

Solutions to Review Questions, Exam 1

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

MATH 445/545 Test 1 Spring 2016

4. Duality and Sensitivity

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

AMS341 HW1. Graphically solving this LP we find the optimal solution to be z = $10,000, W = C = 20 acres.

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:

Lecture 8: Column Generation

Chapter 1 Linear Programming. Paragraph 5 Duality

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

February 17, Simplex Method Continued

min3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0.

Planning and Optimization

Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize

Lecture 5 Simplex Method. September 2, 2009

Lecture 8: Column Generation

AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1

In the original knapsack problem, the value of the contents of the knapsack is maximized subject to a single capacity constraint, for example weight.

Farkas Lemma, Dual Simplex and Sensitivity Analysis

The Simplex Method. Standard form (max) z c T x = 0 such that Ax = b.

Chapter 4 The Simplex Algorithm Part I

F 1 F 2 Daily Requirement Cost N N N

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis

Sensitivity Analysis

Systems Analysis in Construction

Optimisation. 3/10/2010 Tibor Illés Optimisation

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

3. Duality: What is duality? Why does it matter? Sensitivity through duality.

Special cases of linear programming

The Dual Simplex Algorithm

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints.

Worked Examples for Chapter 5

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

March 13, Duality 3

CS Algorithms and Complexity

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form

Introduction to linear programming using LEGO.

Lecture 23 Branch-and-Bound Algorithm. November 3, 2009

Sensitivity Analysis and Duality in LP

Chapter 2: Linear Programming Basics. (Bertsimas & Tsitsiklis, Chapter 1)

SAMPLE QUESTIONS. b = (30, 20, 40, 10, 50) T, c = (650, 1000, 1350, 1600, 1900) T.

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

(b) For the change in c 1, use the row corresponding to x 1. The new Row 0 is therefore: 5 + 6

Summary of the simplex method

Introduction. Very efficient solution procedure: simplex method.

Linear integer programming and its application

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis:

Sensitivity Analysis and Duality

56:171 Fall 2002 Operations Research Quizzes with Solutions

Lecture 11: Post-Optimal Analysis. September 23, 2009

MATH 445/545 Homework 2: Due March 3rd, 2016

AM 121: Intro to Optimization Models and Methods Fall 2018

Integer Programming. The focus of this chapter is on solution techniques for integer programming models.

Linear Programming: Chapter 5 Duality

Spring 2018 IE 102. Operations Research and Mathematical Programming Part 2

Simplex Algorithm Using Canonical Tableaus

Part 1. The Review of Linear Programming

Integer Programming Part II

Chapter 1: Linear Programming

Answer the following questions: Q1: Choose the correct answer ( 20 Points ):

TIM 206 Lecture 3: The Simplex Method

Math Homework 3: solutions. 1. Consider the region defined by the following constraints: x 1 + x 2 2 x 1 + 2x 2 6

IE 400: Principles of Engineering Management. Simplex Method Continued

1 Review Session. 1.1 Lecture 2

Large-scale optimization and decomposition methods: outline. Column Generation and Cutting Plane methods: a unified view

2001 Dennis L. Bricker Dept. of Industrial Engineering The University of Iowa. Reducing dimensionality of DP page 1

Ω R n is called the constraint set or feasible set. x 1

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

4.7 Sensitivity analysis in Linear Programming

1 Simplex and Matrices

February 22, Introduction to the Simplex Algorithm

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science

where X is the feasible region, i.e., the set of the feasible solutions.

Linear Programming. H. R. Alvarez A., Ph. D. 1

Part 4. Decomposition Algorithms

to work with) can be solved by solving their LP relaxations with the Simplex method I Cutting plane algorithms, e.g., Gomory s fractional cutting

Chap6 Duality Theory and Sensitivity Analysis

Optimization Methods in Management Science

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

Linear Programming: The Simplex Method

PART 4 INTEGER PROGRAMMING

Written Exam Linear and Integer Programming (DM545)

Introduction to Mathematical Programming IE406. Lecture 21. Dr. Ted Ralphs

SEN301 OPERATIONS RESEARCH I LECTURE NOTES

Math 5593 Linear Programming Problem Set 4

Transcription:

Review Problems Solutions MATH 3300A (01) Optimization Fall 2016 Chapter 3 2. Let x 1 = number of chocolate cakes baked x 2 = number of vanilla cakes baked Then we should solve max z = x 1 +.50x 2 s.t. 20x 1 + 40x 2 480 4x 1 + x 2 30 x 1, x 2 0 Graphically, the optimal solution is found to be x 1 = 36/7, x 2 = 66/7, z = 69/7. 12. Let D = Daytime calls and E = Evening calls. Then the correct formulation is min z = 2D + 5E s.t..30d +.30E 150 (WIVES CONSTRAINT).10D +.30E 120 (HUSBANDS CONSTRAINT).10D +.15E 100 (SINGLE MALE CONSTRAINT).10D +.20E 110 (SINGLE FEMALE CONSTRAINT) E/ (E+D) 1/2 OR E-D 0 D 0, E 0 13. Let W1 = Pounds of wheat used to produce Feed 1. W2 = Pounds of wheat used to produce Feed 2. A1 = Pounds of alfalfa used to produce Feed 1. A2 = Pounds of alfalfa used to produce Feed 2. Then the correct formulation is max z = 1.5(W1+A1)+1.3(W2+A2)-.5(W1+W2)-.4(A1+A2) s.t. W1+W2 1,000 (CAN PURCHASE AT MOST 1,000 POUNDS OF WHEAT) A1+A2 800 (CAN PURCHASE AT MOST 800 POUNDS OF ALFALFA)

W1/(A1+W1).8 OR.2W1-.8A1 0 (FEED 1 AT LEAST 80% WHEAT) A2/(A2+W2).6 OR.4A2-.6W2 0 (FEED 2 AT LEAST 60% ALF) W1, W2, A1, A2 0 14. Let W1',W2',A1', and A2'represent the number of pounds of wheat and alfalfa used to produce the feed sold at the discount price and let W1,W2,A1, and A2 represent the wheat and alfalfa used to produce the feeds sold at the non-discounted price. Then a correct formulation is max z = 1.5(W1+A1)+1.3(W2+A2)+1.25(W1'+A1')+(W2'+A2') -.5(W1+W2+W1'+W2')-.4(A1+A2+A1'+A2') s.t. A1+W1 300 (CAN SELL AT MOST 300 POUNDS OF FEED 1 AT HIGH PRICE) A2+W2 300(CAN SELL AT MOST 300 POUNDS OF FEED 2 AT HIGH PRICE) W1+W2+W1'+W2' 1,000 A1+A2+A1'+A2' 800 (W1+W1')/(A1+A1'+W1+W1').8 OR -.8A1-.8A1'+.2W1+.2W1` 0 (A2+A2')/(A2+A2'+W2+W2').6 OR -.6W2-.6W2'+.4A2+.4A2' 0 ALL VARIABLES 0 Note that the act of maximizing ensures that W1'= A1' = 0 unless A1+W1 = 300. Similarly the act of maximizing ensures that W2' = A2' = 0 unless A2+W2 = 300. Chapter 4 1. z x 1 x 2 x 3 s 1 s 2 RHS 1-5 -3-1 0 0 0 0 1 1 3 1 0 6 0 5 3 6 0 1 15 1 0 0 5 0 1 15 0 0 2/5 9/5 1-1/5 3

0 1 3/5 6/5 0 1/5 3 This is an optimal tableau with the optimal solution being z = 15, x 1 =3, x 2 =0. Pivoting x 2 into the basis yields the alternative optimal solution z = 15, x 1 =0, x 2 = 5. 4. z x 1 x 2 s 1 s 2 RHS Basic Variable 1-5 1 0 0 0 z=0 0 1-3 1 0 1 s 1 =1 0 1-4 0 1 3 s 2 =3 z x 1 x 2 s 1 s 2 RHS Basic Variable 1 0-14 5 0 5 z=5 0 1-3 1 0 1 x 1 =1 0 0-1 -1 1 2 s 2 =2 Unbounded LP (look at x 2 column). 6. max z= x 1 + x 2 - Ma 1 s.t. 2x 1 + x 2 - e 1 + a 1 = 3 3x 1 + x 2 + s 2 = 7/2 x 1 + x 2 + s 3 = 1 After eliminating a 1 from Row 0 (by adding -(Row 1) to Row 0) we obtain z x 1 x 2 e 1 a 1 s 2 s 3 RHS Basic Variable 1-2M-1-1-M M 0 0 0-3M z=-3m 0 2 1-1 1 0 0 3 a 1 =3 0 3 1 0 0 1 0 7/2 s 2 =7/2 0 1 1 0 0 0 1 1 s 3 =1

1 0 M M 0 0 2M+1 -M+1 z=-m+1 0 0-1 -1 1 0-2 1 a 1 =1 0 0-2 0 0 1-3 1/2 s 2 =1/2 0 1 1 0 0 0 1 1 x 1 =1 This is an optimal tableau. Since a 1 is positive, the original LP is infeasible. Chapter 6 1a. min w = 6y 1 + 3y 2 + 10y 3 s.t. y 1 + y 2 + 2y 3 4 2y 1 - y 2 + y 3 1 y 1 urs, y 2 0, y 3 0 Optimal dual solution is w = 58/3, y 1 = -2/3, y 2 = 0, y 3 = 7/3 2 / 3 0 1/ 3 6 (2 Δ) / 3 1b. B -1 = 1/ 3 0 2 / 3 B -1 3 1 1 1 = (14 + 2Δ) / 3 10 + Δ 1+ Δ Thus current basis remains optimal iff Δ 2, Δ -7 and Δ -1 or -1 Δ 2 or 9 b 3 12. Substituting Δ = 1 we obtain z = 58/3 + Row 3 Shadow Price = 65/3 x 2 = (2-1)/3 = 1/3, x 1 = (14 + 2)/3 = 16/3, e 2 = 1 + 1 = 2 3a. min w = 6y 1 + 8y 2 + 2y 3 s.t. y 1 + 6y 2 5 y 1 + y 3 1

y 1 + y 2 + y 3 2 y 1 0, y 2 0, y 3 0 Optimal dual solution is w = 9, y 1 = 0, y 2 = 5/6, y 3 = 7/6. 3b. c BV B -1 = [0 (5 +Δ)/6 (7-Δ)/6] _ Pricing out x 2 we obtain 1 c 2 = [0 (5 +Δ)/6 (7-Δ)/6] 0-1 = (1-Δ)/6. 1 Coefficient of s 2 in Optimal Row 0 = (5 + Δ)/6 Coefficient of s 3 in Optimal Row 0 = (7-Δ)/6 Thus current basis remains optimal iff Δ 1, Δ -5, Δ 7 or -5 Δ 1 or 0 c 1 6.. 3c. Since x 2 is non-basic, c 2 can increase by at most the reduced cost for the current basis to remain optimal. Thus current basis remains optimal as long as c 2 1 + 1/6 = 7/6. 5a. min w = 6y 1 + 4y 2 + 3y 3 s.t. 3y 1 + 2y 2 + y 3 4 y 1 + y 2 + y 3 1 y 1 0 y 2 0, y 3 urs The optimal dual solution is w = 12, y 1 = y 2 = 0, y 3 = 4. 5b. c 2 1 + (reduced cost for x 2 ) = 1 + 3 = 4 5c. c BV B -1 = [4 + Δ 0 0] 0 1 0 0 0 1 1 3 2 = [ 0 0 4 + Δ] The current basis remains optimal iff c 2 0. But _ 1 c 2 = [0 0 4 + Δ] 1-1 = 3 + Δ Now 3 + Δ 0 iff Δ -3 1 _

Thus current basis remains optimal for c 1 4-3 = 1 6a. min w = 8y 1 + 10y 2 s.t. 2y 1 + 4y 2 3 y 1 + y 2 1 y 1 - y 2-1 The optimal dual solution is w = 9, y 1 = y 2 = 1/2. 6b. The current basis remains optimal iff 8 0 2 1 8 B -1 10 + Δ or 0 1/ 2 1/ 2 10 + Δ or -2 Δ 6 or 8 b 2 16. If b 2 = 10, then Δ = 2 optimal solution may be obtained from 6 Δ = 1 + Δ / 2 and the new 0 0 x 2 6 2 4 = = x1 1 + (2 / 2) 2 The new z-value = 9 + 2(row 2 shadow price) = 10 7. When the isoprofit lines are steeper than the 2x 1 + x 2 = 8 constraint, the optimal solution shifts to (1, 6). Thus if -c 1 /4<-2 or c 1 >8 the current basis is no longer optimal.

10a. min w = 8y 1 + 10y 2 s.t. 2y 1 + 3y 2 3 5y 1 + 7y 2 2 y 1 0, y 2 0 The optimal dual solution is w = 10, y 1 = 0, y 2 = 1. 1 2 / 3 8 10b. B -1 =, B -1 0 1/ 3 10 + Δ (4 2Δ) / 3 = (10 + Δ) / 3 Thus current basis is optimal as long as 4-2Δ 0 (Δ 2) and 10 + Δ 0 (Δ -10) or 0 b 2 12. If b 2 = 5 the new optimal solution is given by s1 x1 = 1 2 / 3 8 = 14 / 3 0 1/ 3 5 5 / 3 z = 10 + (1) (-5) = 5, x 1 = 5/3, s 1 = 14/3, s 2 = x 2 = 0

Chapter 9 Section 9.3: 4.

6. Section 9.4: 1. Section 9.5: 1. We might choose up to eight "Item 1's" so we define items 1', 2',... 8' all identical to Item 1. We might choose up to six Item 2's, so we define items 9', 10',... 14' all identical to Item 2. Finally, we might choose up to five Item 3's, so we define items 15', 16',... 19' all identical to Item 3. Letting x i = 1 if item i' is chosen and x i = 0 otherwise yields a 0-1 knapsack problem. 3. Letting x i = 1 if item i is chosen and x i = 0 otherwise yields the following knapsack problem: max z = 5x 1 + 8x 2 + 3x 3 + 7x 4 st 3x 1 + 5x 2 + 2x 3 + 4x 4 6 x i = 0 or 1 We obtain the following tree (for each subproblem any omitted variable equals 0):

Note that since optimal objective function value for any candidate solution associated with a branch must be an integer, SP 3 can at best yield a z-value of 10, so we need not branch on SP 3. Thus the optimal solution is z = 10, x 1 = x 2 = 0, x 3 = x 4 = 1. From the Review Section (pages 552-561): 3. Let z i = 1 if gymnast i enters both events z i = 0 otherwise x i = 1 if gymnast i enters only BB x i = 0 otherwise y i = 1 if gymnast i enters just FE y i = 0 Then the appropriate IP is max z = 16.7z 1 + 17.7z 2 +...17.7z 6 + 8.8x 1 +...9.1x 6 + 7.9y 1 +... 8.6y 6 s.t. z 1 + z 2 +...+ z 6 = 3 x 1 + x 2 +... + x 6 = 1 y 1 + y 2 +... + y 6 = 1 x 1 + y 1 + z 1 1 x 2 + y 2 + z 2 1 x 3 + y 3 + z 3 1 x 4 + y 4 + z 4 1 x 5 + y 5 + z 5 1 x 6 + y 6 + z 6 1 All variables equal 0 or 1.

4. Let x ij = 1 if students from district i are sent to school j x ij = 0 otherwise Then the appropriate IP is Min z = 110x 11 + 220x 12 + 37.5x 21 + 127.5x 22 + 80x 31 + 80x 32 + 117x 41 + 36x 42 + 135x 51 + 54x 52 s.t. 110x 11 + 75x 21 + 100x 31 + 90x 41 + 90x 51 150 110x 12 + 75x 22 + 100x 32 + 90x 42 + 90x 52 150 30x 11 + 5x 21 + 10x 31 + 40x 41 + 30x 51.20 -------- 110x 11 + 75x 21 + 100x 31 + 90x 41 + 90x 51 or 0 8x 11-10x 21-10x 31 + 22x 41 + 12x 51 30x 12 + 5x 22 + 10x 32 + 40x 42 + 30x 52.20 --------- 110x 12 + 75x 22 + 100x 32 + 90x 42 + 90x 52 or 0 8x 12-10x 22-10x 32 + 22x 42 + 12x 52 x 11 + x 12 = 1, x 21 + x 22 = 1, x 31 + x 32 = 1 x 41 + x 42 = 1, x 51 + x 52 = 1 All variables = 0 or 1 5. Let x 1 = 1 if RS is signed x 1 = 0 otherwise x 2 = 1 if BS is signed x 2 = 0 otherwise x 3 = 1 if DE is signed x 3 = 0 otherwise x 4 = 1 if ST is signed x 4 = 0 otherwise x 5 = 1 if TS is signed x 5 = 0 otherwise max z = 6x 1 + 5x 2 + 3x 3 + 3x 4 + 2x 5 s.t. 6x 1 + 4x 2 + 3x 3 + 2x 4 + 2x 5 12 (1) x 2 + x 3 + x 4 2 (2) x 1 + x 2 + x 3 + x 5 2 (3) x 1 + x 2 1 (4) All variables = 0 or 1 7.

8. z = 0, x 1 = 0, x 2 = 0 is the optimal solution to the LP relaxation. Since this solution is feasible for the IP, it is optimal for the IP. 9. ----------------------- SP 1 z = 40/3 t = 1 x 1 = 20/3 x 2 = 10/3 ----------------------- x 2 3 x 2 4 ------------------- ------------------- SP 2 SP 3 t = 2 z = 13 t = 3 x 1 =5 x 2 = 4 ------------------- ------------------- From the tree we find the optimal solution to be z = 13, x 1 = 5, x 2 = 4. Note that since SP 1 has z = 13 1/3, the z =

13 value for SP 3 implies that SP 3 yields an optimal solution. Thus SP 2 need not be considered.