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

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

Summary of the simplex method

Systems Analysis in Construction

Dr. Maddah ENMG 500 Engineering Management I 10/21/07

Chap6 Duality Theory and Sensitivity Analysis

Review Solutions, Exam 2, Operations Research

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

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

56:171 Operations Research Fall 1998

Part 1. The Review of Linear Programming

Summary of the simplex method

MATH2070 Optimisation

Farkas Lemma, Dual Simplex and Sensitivity Analysis

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

56:270 Final Exam - May

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

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

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

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics

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)

Special cases of linear programming

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

F 1 F 2 Daily Requirement Cost N N N

OPRE 6201 : 3. Special Cases

Sensitivity Analysis

1 Review Session. 1.1 Lecture 2

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

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

Chapter 1 Linear Programming. Paragraph 5 Duality

Simplex Method for LP (II)

IE 5531: Engineering Optimization I

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

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

Worked Examples for Chapter 5

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

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

The Dual Simplex Algorithm

AM 121: Intro to Optimization Models and Methods

Lecture 14 Transportation Algorithm. October 9, 2009

Today s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12

UNIT-4 Chapter6 Linear Programming

Solution Cases: 1. Unique Optimal Solution Reddy Mikks Example Diet Problem

Linear Programming and the Simplex method


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

MATH 445/545 Test 1 Spring 2016

Sensitivity Analysis and Duality in LP

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

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

Introduction. Very efficient solution procedure: simplex method.

Introduction. Formulating LP Problems LEARNING OBJECTIVES. Requirements of a Linear Programming Problem. LP Properties and Assumptions

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

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

SEN301 OPERATIONS RESEARCH I LECTURE NOTES

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

ENM 202 OPERATIONS RESEARCH (I) OR (I) 2 LECTURE NOTES. Solution Cases:

February 17, Simplex Method Continued

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

AM 121: Intro to Optimization

MAT016: Optimization

IE 400: Principles of Engineering Management. Simplex Method Continued

Linear Programming: Chapter 5 Duality

OPERATIONS RESEARCH. Linear Programming Problem

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

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

9.1 Linear Programs in canonical form

4.5 Simplex method. LP in standard form: min z = c T x s.t. Ax = b

56:171 Operations Research Midterm Exam--15 October 2002

Linear Programming, Lecture 4

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

Linear Programming Inverse Projection Theory Chapter 3

The Simplex Algorithm and Goal Programming

In Chapters 3 and 4 we introduced linear programming

Chapter 4 The Simplex Algorithm Part I

4. Duality Duality 4.1 Duality of LPs and the duality theorem. min c T x x R n, c R n. s.t. ai Tx = b i i M a i R n

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND

Ann-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10

The Simplex Algorithm

Introduction to Mathematical Programming

Lecture 6 Simplex method for linear programming

An Introduction to Linear Programming

ORF 522. Linear Programming and Convex Analysis

"SYMMETRIC" PRIMAL-DUAL PAIR

Math Models of OR: Sensitivity Analysis

Civil Engineering Systems Analysis Lecture XII. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

MATH 373 Section A1. Final Exam. Dr. J. Bowman 17 December :00 17:00

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

LINEAR PROGRAMMING. Introduction

Review Questions, Final Exam

Linear Programming: The Simplex Method

Linear Programming Duality

Graphical and Computer Methods

Introduction to Operations Research

Optimization Methods in Management Science

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS. Operations Research I

(includes both Phases I & II)

15-780: LinearProgramming

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.

Lecture Simplex Issues: Number of Pivots. ORIE 6300 Mathematical Programming I October 9, 2014

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

Transcription:

Benha University Final Exam. (ختلفات) Class: 2 rd Year Students Subject: Operations Research Faculty of Computers & Informatics Date: - / 5 / 2017 Time: 3 hours Examiner: Dr. El-Sayed Badr Answer the following questions: Q1: Choose the correct answer ( 20 Points ): 1. The maximization or minimization of a quantity is the a. goal of management science. b. decision for decision analysis. c. constraint of operations research. d. objective of linear programming. 2. Decision variables a. tell how much or how many of something to produce, invest, purchase, hire, etc. b. represent the values of the constraints. c. measure the objective function. d. must exist for each constraint. 3. Which of the following is a valid objective function for a linear programming problem? a. Max 5xy b. Min 4x + 3y + (2/3)z c. Max 5x 2 + 6y 2 d. Min (x1 + x2)/x3 4. Which of the following statements is NOT true? a. A feasible solution satisfies all constraints. b. An optimal solution satisfies all constraints. c. An infeasible solution violates all constraints. d. A feasible solution point does not have to lie on the boundary of the feasible region. 5. A solution that satisfies all the constraints of a linear programming problem except the nonnegativity constraints is called a. optimal. b. feasible. c. infeasible. d. semi-feasible. 6. Slack a. is the difference between the left and right sides of a constraint. b. is the amount by which the left side of a < constraint is smaller than the right side. c. is the amount by which the left side of a > constraint is larger than the right side. d. exists for each variable in a linear programming problem.

7. To find the optimal solution to a linear programming problem using the graphical method a. find the feasible point that is the farthest away from the origin. b. find the feasible point that is at the highest location. c. find the feasible point that is closest to the origin. d. None of the alternatives is correct. 8. Which of the following special cases does not require reformulation of the problem in order to obtain a solution? a. alternate optimality b. infeasibility c. unboundedness d. each case requires a reformulation. 9. The improvement in the value of the objective function per unit increase in a right-hand side is the a. sensitivity value. b. dual price. c. constraint coefficient. d. slack value. 10. As long as the slope of the objective function stays between the slopes of the binding constraints a. the value of the objective function won t change. b. there will be alternative optimal solutions. c. the values of the dual variables won t change. d. there will be no slack in the solution. Q2: TRUE/FALSE ( 20 Points ): 1. Increasing the right-hand side of a nonbinding constraint will not cause a change in the optimal solution. 2. In a linear programming problem, the objective function and the constraints must be linear functions of the decision variables. 3. In a feasible problem, an equal-to constraint cannot be nonbinding. 4. Only binding constraints form the shape (boundaries) of the feasible region. 5. The constraint 5x1-2x2 < 0 passes through the point (20, 50). 6. A redundant constraint is a binding constraint. 7. Because surplus variables represent the amount by which the solution exceeds a minimum target, they are given positive coefficients in the objective function. 8. Alternative optimal solutions occur when there is no feasible solution to the problem. 9. A range of optimality is applicable only if the other coefficient remains at its original value. 10. Because the dual price represents the improvement in the value of the optimal solution per unit increase in right-hand-side, a dual price cannot be negative.

Q 3: ( 18 Points) a) The followin is a tableau of minimization problem. State conditions on a1, a2, b, c1, c5, c6 that are required to make the following true: z x1 x2 x3 x4 x5 x6 RHS 1 c1 0 0 0 c5 c6 0 0-1 1 0 0 a1 0 1 0-1 0 0 1-2 0 a2 0 1 0 1 1 b (a) The current solution is feasible and optimal. (b) The current solution is not feasible. (c) The current solution is degenerate. (d) The current solution is feasible and the LP is unbounded. b) Solve the following primal problem and its duality graphically : minimization z 240x 100x 1 Subject to : 2x x 28 4x 3x 64 x 13 x 12 2 ; x 0 where i 1,2 i Q4: ( 10 Points ) Solve the above problem using two-phase method and big M-method and which of them is the best generally. max z 8x 10x Subject to : x x x x 1 9 1 x1 x2 4; xi 0 where i 1, 2 2

Q5: ( 22 Points ) a) Complete the following : 1- The general formula of Klee-Minty problem is.. 2- The number of iterations for Klee-Minty problem is.. 3- The optimal solution of Klee-Minty problem is. 4- The exponential algorithm is defined as. 5- The polynomial algorithm is defined as. b) SunRay Transport Company ships truckloads of grain from three silos to four mills. The supply (in truckloads) and the demand (also in truckloads) together with the unit transportation costs per truckload on the different routes are summarized in the following table. The unit transportation costs, cij (shown in the northeast corner of each box) are in hundreds of dollars. Supply 10 2 20 11 15 x11 x12 x13 x14 12 7 9 20 25 x21 x22 x23 x24 4 14 16 18 15 x31 x32 x33 x34 Demand 5 15 15 15 Find the minimum-cost shipping schedule between the silos and the mills using Northwest-corner, Leastcost and Vogel approximation methods? Good Luck

Benha University Final Exam. (تخلفات) Class: 2 rd Year Students Subject: Operations Research Faculty of Computers & Informatics Date: - / 5 / 2017 Time: 3 hours Examiner: Dr. El-Sayed Badr Answer the following questions: Q1: Choose the correct answer ( 20 Points ): 1. The maximization or minimization of a quantity is the a. goal of management science. b. decision for decision analysis. c. constraint of operations research. d. objective of linear programming. 2. Decision variables a. tell how much or how many of something to produce, invest, purchase, hire, etc. b. represent the values of the constraints. c. measure the objective function. d. must exist for each constraint. 3. Which of the following is a valid objective function for a linear programming problem? a. Max 5xy b. Min 4x + 3y + (2/3)z c. Max 5x 2 + 6y 2 d. Min (x 1 + x 2 )/x 3 4. Which of the following statements is NOT true? a. A feasible solution satisfies all constraints. b. An optimal solution satisfies all constraints. c. An infeasible solution violates all constraints. d. A feasible solution point does not have to lie on the boundary of the feasible region. 5. A solution that satisfies all the constraints of a linear programming problem except the nonnegativity constraints is called a. optimal. b. feasible. c. infeasible. d. semi-feasible. 6. Slack a. is the difference between the left and right sides of a constraint. b. is the amount by which the left side of a < constraint is smaller than the right side. c. is the amount by which the left side of a > constraint is larger than the right side. d. exists for each variable in a linear programming problem.

7. To find the optimal solution to a linear programming problem using the graphical method a. find the feasible point that is the farthest away from the origin. b. find the feasible point that is at the highest location. c. find the feasible point that is closest to the origin. d. None of the alternatives is correct. 8. Which of the following special cases does not require reformulation of the problem in order to obtain a solution? a. alternate optimality b. infeasibility c. unboundedness d. each case requires a reformulation. 9. The improvement in the value of the objective function per unit increase in a right-hand side is the a. sensitivity value. b. dual price. c. constraint coefficient. d. slack value. 10. As long as the slope of the objective function stays between the slopes of the binding constraints a. the value of the objective function won t change. b. there will be alternative optimal solutions. c. the values of the dual variables won t change. d. there will be no slack in the solution. Q2: TRUE/FALSE ( 20 Points ): 1. Increasing the right-hand side of a nonbinding constraint will not cause a change in the optimal solution. F 2. In a linear programming problem, the objective function and the constraints must be linear functions of the decision variables. T 3. In a feasible problem, an equal-to constraint cannot be nonbinding. T 4. Only binding constraints form the shape (boundaries) of the feasible region. F 5. The constraint 5x 1-2x 2 < 0 passes through the point (20, 50). T 6. A redundant constraint is a binding constraint. F 7. Because surplus variables represent the amount by which the solution exceeds a minimum target, they are given positive coefficients in the objective function. F 8. Alternative optimal solutions occur when there is no feasible solution to the problem. F 9. A range of optimality is applicable only if the other coefficient remains at its original value. T 10. Because the dual price represents the improvement in the value of the optimal solution per unit increase in right-hand-side, a dual price cannot be negative. F

Q 3: ( 18 Points) a) The followin is a tableau of minimization problem. State conditions on a 1, a 2, b, c 1, c 5, c 6 that are required to make the following true: Solution: a) b > = 0 b) b < 0 z x 1 x 2 x 3 x 4 x 5 x 6 RHS 1 c 1 0 0 0 c 5 c 6 0 0-1 1 0 0 a 1 0 1 0-1 0 0 1-2 0 a 2 0 1 0 1 1 b (a) The current solution is feasible and optimal. (b) The current solution is not feasible. (c) The current solution is degenerate. (d) The current solution is feasible and the LP is unbounded. c) x5 is an entering variable ; a 1 = 1 and b = 1 or x6 is an entering variable and b = 2 d) b > 0 and a2 < = 0 b) Solve the following primal problem and its duality graphically : minimization z 240x 100x 1 Subject to : 2x x 28 4x 3x 64 x 13 x 12 2 ; x 0 where i 1,2 i

Point X coordinate (X1) Y coordinate (X2) Value of the objetive function (Z) O 0 0 0 A 0 28 2800 B 14 0 3360 C 10 8 3200 D 13 2 3320 E 8 12 3120 F 0 21.333333333333 2133.3333333333 G 16 0 3840 H 13 4 3520 I 7 12 2880 J 13 0 3120 K 13 12 4320 L 0 12 1200 Q4: ( 10 Points ) Solve the above problem using two-phase method and big M-method and which of them is the best generally. max z 8x 10x Subject to : 1 9 1 x1 x2 4; xi 0 where i 1, 2 2 Solution: x x x x The problem is converted to canonical form by adding slack, surplus and artificial variables as appropiate (show/hide details) As the constraint 1 is of type '=' we should add the artificial variable X5. As the constraint 2 is of type ' ' we should add the slack variable X3. As the constraint 3 is of type ' ' we should add the surplus variable X4 and the artificial variable X6.

MAZIMIZE: 8 X1 + 10 X2 MAZIMIZE: 8 X1 + 10 X2 + 0 X3 + 0 X4 + 0 X5 + 0 X6 1 X1-1 X2 = 1 1 X1-1 X2 + 1 X5 = 1 1 X1 + 1 X2 9 1 X1 + 1 X2 + 1 X3 = 9 1 X1 + 0,5 X2 4 1 X1 + 0.5 X2-1 X4 + 1 X6 = 4 X1, X2 0 X1, X2, X3, X4, X5, X6 0 We'll build the first tableau of Phase I from Two Phase Simplex method. Tableau 1 0 0 0 0-1 -1 Base Cb P0 P1 P2 P3 P4 P5 P6 P5-1 1 1-1 0 0 1 0 P3 0 9 1 1 1 0 0 0 P6-1 4 1 0.5 0-1 0 1 Z -5-2 0.5 0 1 0 0 Intermediate operations (show/hide details) Tableau 2 0 0 0 0-1 -1 Base Cb P0 P1 P2 P3 P4 P5 P6 P1 0 1 1-1 0 0 1 0 P3 0 8 0 2 1 0-1 0 P6-1 3 0 1.5 0-1 -1 1 Z -3 0-1.5 0 0 Intermediate operations (show/hide details) Tableau 3 0 0 0 0-1 -1 Base Cb P0 P1 P2 P3 P4 P5 P6 P1 0 3 1 0 0-0.66666666666667 0.33333333333333 0.66666666666667 P3 0 4 0 0 1 1.3333333333333 0.33333333333333-1.3333333333333

P2 0 2 0 1 0-0.66666666666667-0.66666666666667 0.66666666666667 Z 0 0 0 0 0 1 1 Intermediate operations (show/hide details) Tableau 1 8 10 0 0 Base Cb P0 P1 P2 P3 P4 P1 8 3 1 0 0-0.66666666666667 P3 0 4 0 0 1 1.3333333333333 P2 10 2 0 1 0-0.66666666666667 Z 44 0 0 0-12 Intermediate operations (show/hide details) Tableau 2 8 10 0 0 Base Cb P0 P1 P2 P3 P4 P1 8 5 1 0 0.5 0 P4 0 3 0 0 0.75 1 P2 10 4 0 1 0.5 0 Z 80 0 0 9 0 The optimal solution value is Z = 80 X1 = 5 X2 = 4 Q5: ( 22 Points ) a) Complete the following : 1- The general formula of Klee-Minty problem is.. 2- The number of iterations for Klee-Minty problem is.. 3- The optimal solution of Klee-Minty problem is. 4- The exponential algorithm is defined as. 5- The polynomial algorithm is defined as.

b) SunRay Transport Company ships truckloads of grain from three silos to four mills. The supply (in truckloads) and the demand (also in truckloads) together with the unit transportation costs per truckload on the different routes are summarized in the following table. The unit transportation costs, c ij (shown in the northeast corner of each box) are in hundreds of dollars. Supply 10 2 20 11 15 x 11 x 12 x 13 x 14 12 7 9 20 25 x 21 x 22 x 23 x 24 4 14 16 18 15 x 31 x 32 x 33 x 34 Demand 5 15 15 15 Find the minimum-cost shipping schedule between the silos and the mills using Northwest-corner, Leastcost and Vogel approximation methods? Solution : a)

Good Luck