Solver Linear Problem Solving MAN 327 2.0 Micro-computers & Their Applications.

Slides:



Advertisements
Similar presentations
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Advertisements

1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
Understanding optimum solution
Linear Programming.
Introduction to Sensitivity Analysis Graphical Sensitivity Analysis
Sensitivity Analysis Sensitivity analysis examines how the optimal solution will be impacted by changes in the model coefficients due to uncertainty, error.
Linear Programming Sensitivity of the Right Hand Side Coefficients.
1/53 Slide Linear Programming: Sensitivity Analysis and Interpretation of Solution n Introduction to Sensitivity Analysis n Graphical Sensitivity Analysis.
Linear and Integer Programming Models
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Operations Management Linear Programming Module B - Part 2
Introduction to Management Science
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
Linear Programming Introduction. linear function linear constraintsA Linear Programming model seeks to maximize or minimize a linear function, subject.
Chapter 4: Linear Programming Sensitivity Analysis
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
Linear and Integer Programming Models
Linear Programming: Fundamentals
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
3-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Computer Solution and Sensitivity Analysis Chapter 3.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
5.6 Maximization and Minimization with Mixed Problem Constraints
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
Linear Programming.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Kerimcan OzcanMNGT 379 Operations Research1 LP: Sensitivity Analysis and Interpretation of Solution Chapter 3.
Linear Programming Sensitivity of the Objective Function Coefficients.
1 The Role of Sensitivity Analysis of the Optimal Solution Is the optimal solution sensitive to changes in input parameters? Possible reasons for asking.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Introduction to Management Science
Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.
Chapter Topics Computer Solution Sensitivity Analysis
Linear and Integer Programming Models 1 Chapter 2.
Managerial Decision Making and Problem Solving
1 Chapter 10 The primal linear program solution answers the tactical question when it tells us how much to produce. But the dual can have far greater impact.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Chapter 6 Supplement Linear Programming.
Managerial Decision Making and Problem Solving
BUSINESS MATHEMATICS & STATISTICS. LECTURE 45 Planning Production Levels: Linear Programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Linear and Integer Programming Models Chapter 2.
5-1 Wyndor (Before What-If Analysis). 5-2 Using the Spreadsheet to do Sensitivity Analysis The profit per door has been revised from $300 to $200. No.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
Linear Programming: Sensitivity Analysis and Interpretation of Solution Pertemuan 5 Matakuliah: K0442-Metode Kuantitatif Tahun: 2009.
1/24: Linear Programming & Sensitivity Analysis Review: –LP Requirements –Graphical solutions Using MS Excel for Linear Programming Sensitivity Analysis.
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Professional software packages such as The WinQSB and LINDO provide the following LP information: Information about the objective function: –its optimal.
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
1 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear model consists of the.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Adeyl Khan, Faculty, BBA, NSU 1 Introduction to Linear Programming  A Linear Programming model seeks to maximize or minimize a linear function, subject.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Linear Programming Chapter 14 Supplement Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Graphical Analysis – the Feasible Region
Duality Theory and Sensitivity Analysis
Sensitivity.
Linear Programming Introduction.
Linear Programming – Sensitivity Analysis
Optimization Models Module 9.
Linear Programming Introduction.
Presentation transcript:

Solver Linear Problem Solving MAN Micro-computers & Their Applications

Installing Solver for Use File  Options  Add-ins  Solver-ins Data  Analysis  Solver

What is Linear Programming? A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints.

4 Introduction to Linear Programming The Importance of Linear Programming – Many real world problems lend themselves to linear programming modeling. – Many real world problems can be approximated by linear models. – There are well-known successful applications in: Manufacturing Marketing Finance (investment) Advertising Agriculture

Setting up a Linear Problem The Objective Function The Decision Variables (optimal values will be calculated by Solver) The Constraints – Relationships ( >, <, =) – Values

Output The Answer Report The Sensitivity Report

9 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1 - X 2  350 (Mix) X j > = 0, j = 1,2 (Nonnegativity) The Galaxy Linear Programming Model

10 Using Excel Solver – Optimal Solution

11 Using Excel Solver –Answer Report

12 Using Excel Solver –Sensitivity Report

13 The Role of Sensitivity Analysis of the Optimal Solution Is the optimal solution sensitive to changes in input parameters? Possible reasons for asking this question: – Parameter values used were only best estimates. – Dynamic environment may cause changes. – “What-if” analysis may provide economical and operational information.

14 Solver – Unbounded solution

15 Solver does not alert the user to the existence of alternate optimal solutions. Many times alternate optimal solutions exist when the allowable increase or allowable decrease is equal to zero. In these cases, we can find alternate optimal solutions using Solver by the following procedure: Solver – An Alternate Optimal Solution

16 Observe that for some variable X j the Allowable increase = 0, or Allowable decrease = 0. Add a constraint of the form: Objective function = Current optimal value. If Allowable increase = 0, change the objective to Maximize X j If Allowable decrease = 0, change the objective to Minimize X j Solver – An Alternate Optimal Solution

Setup VariantNumberAssemblyPolishPackProfit Total0000 Limit =$B$2*C2+$B$3*C3+$B$4*C4+$B$5*C5 =$B$2*F2+$B$3*F3+$B$4*F4+$B$5*F5

Solution VariantNumberAssemblyPolishPackProfit Total Limit

Note : Analysis below ONLY applies for a single change

21 Range of Optimality – The optimal solution will remain unchanged as long as An objective function coefficient lies within its range of optimality There are no changes in any other input parameters. – The value of the objective function will change if the coefficient multiplies a variable whose value is nonzero. Sensitivity Analysis of Objective Function Coefficients.

What they mean ? Changing the objective function coefficient for a variable Optimal LP solution will remain unchanged – Decision to produce of variant 2 and 6000 of variant 3 remains optimal even if the profit per unit on variant 2 is not actually 2.5. It lies in the range ( ) to 4.50 ( ).

What they mean ? Forcing a variable which is currently zero to be non- zero Reduced Cost column gives us, for each variable which is currently zero (X 1 and X 4 ), an estimate of how much the objective function will change if we make (force) that variable to be non-zero. Often called the 'opportunity cost' for the variable. – profit per unit on variant 1 would need to increase by 1.5 before it would be profitable to produce any of variant 1.

24 Shadow Prices Assuming there are no other changes to the input parameters, the change to the objective function value per unit increase to a right hand side of a constraint is called the “Shadow Price”

What they mean ? Changing the right-hand side of a constraint Shadow Price tells us exactly how much the objective function will change if we change the right-hand side of the corresponding constraint within the limits given in the Allowable Increase/Decrease columns Often called the 'marginal value' or 'dual value' for that constraint. – For the polish constraint, the objective function change will be exactly 0.80.

26 In sensitivity analysis of right-hand sides of constraints we are interested in the following questions: – Keeping all other factors the same, how much would the optimal value of the objective function (for example, the profit) change if the right-hand side of a constraint changed by one unit? – For how many additional or fewer units will this per unit change be valid? Sensitivity Analysis of Right-Hand Side Values

27 Any change to the right hand side of a binding constraint will change the optimal solution. Any change to the right-hand side of a non- binding constraint that is less than its slack or surplus, will cause no change in the optimal solution. Sensitivity Analysis of Right-Hand Side Values

To decide whether the objective function will go up or down use: – constraint more (less) restrictive after change in right-hand side implies objective function worse (better) – if objective is maximise (minimise) then worse means down (up), better means up (down) Hence – if you had an extra 100 hours to which operation would you assign it? – if you had to take 50 hours away from polishing or packing which one would you choose? – what would the new objective function value be in these two cases?

Minimizing Problem Nutritional facts of foods (per 100 g) Bread (500cal) – P 10 g, F 30g, C 60g, Rice (800cal) - P 10 g, F 10g, C 80g, Dahl (700cal) - P 70 g, F 10g, C 20g, Egg (1100cal) - P 80 g, F 15g, C 5g, Suppose we need to minimize our calories (2000cal), while keeping the minimum level of nutritionals. Protein – 300 cal(75g) Fat – 600 cal(67g) Carbohydrate – 1100 cal(275g)

Solver Help