Optimization Models Module 9.

Slides:



Advertisements
Similar presentations
With Vegetable Farm Example
Advertisements

Lecture 3 Linear Programming: Tutorial Simplex Method
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
Understanding optimum solution
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.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Optimization Models Module 9. MODEL OUTPUT EXTERNAL INPUTS DECISION INPUTS Optimization models answer the question, “What decision values give the best.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Managerial Decision Modeling with Spreadsheets
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.
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
1 Linear Programming Using the software that comes with the book.
Linear Programming: Computer Solution and Sensitivity Analysis
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Spreadsheet Modeling & Decision Analysis:
Solver Linear Problem Solving MAN Micro-computers & Their Applications.
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Graduate Program in Business Information Systems Linear Programming: Sensitivity Analysis and Duality Aslı Sencer.
Introduction to Mathematical Programming OR/MA 504 Chapter 3.
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
Special Conditions in LP Models (sambungan BAB 1)
Introduction to Management Science
Chapter Topics Computer Solution Sensitivity Analysis
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Linear Programming: Basic Concepts
Managerial Decision Making and Problem Solving
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1/24: Linear Programming & Sensitivity Analysis Review: –LP Requirements –Graphical solutions Using MS Excel for Linear Programming Sensitivity Analysis.
LP: Summary thus far Requirements Graphical solutions Excel Sensitivity Analysis.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
BUAD306 Chapter 19 – Linear Programming. Optimization QUESTION: Have you ever been limited to what you can get done because you don’t have enough ________?
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
Managerial Decision Modeling with Spreadsheets Chapter 4 Linear Programming Sensitivity Analysis.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Chapter 3: Sensitivity Analysis and the Dual Problem & Shadow Prices
Chapter 13 Linear Optimization
An Introduction to Linear Programming
Linear Programming.
A Multiperiod Production Problem
Linear Programming: Sensitivity Analysis and Duality
St. Edward’s University
Table of Contents Chapter 5 (What-If Analysis for Linear Programming)
Chapter 19 – Linear Programming
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
MAN 305 OPERATIONS RESEARCH II Week 4 –Sensitivity Analysis with Spreadsheets DR. KAZIM BARIŞ ATICI.
Graphical Analysis – the Feasible Region
Introduction to linear programming (LP): Minimization
Duality Theory and Sensitivity Analysis
Linear Programming SIMPLEX METHOD.
Sensitivity.
Lecture 4 Part I Mohamed A. M. A..
Linear Programming Excel Solver.
Linear Programming – Sensitivity Analysis
Linear Programming: Computer Solution and Sensitivity Analysis
Applied Statistical and Optimization Models
Presentation transcript:

Optimization Models Module 9

OPTIMIZATION MODELS EXTERNAL INPUTS OUTPUT MODEL DECISION INPUTS Optimization models answer the question, “What decision values give the best outputs?”

SCARCITY DECISION INPUTS CONSTRAINTS Optimization models are necessary because resources are always limited.

LINEAR PROGRAMMING MODEL (objective function) 10x + 18y DECISION INPUTS CONSTRAINTS OUTPUT 2x + 6y < 150 x x + .8y < 40 x + 1.5y < 50 y Linear programming is a special type of optimization model that sets up constraints as linear equations and solves them simultaneously while maximizing an objective function.

EXAMPLE 1: BOB’S MUFFLER SHOP Bob manufactures 2 types of mufflers, family and sport. Each family muffler nets him $10 and each sport muffler nets him $18. These numbers are known as the products’ ‘contribution margin’. His profit is determined by the function $10f + $18s, where f and s are the total number of each type of muffler sold. This is his objective function. His decision variables are the number of family and sport mufflers to manufacture each month. In an unconstrained situation, he would want to sell as many sport mufflers as because of their higher contribution. However…

EXAMPLE 1: BACKGROUND In order to create a muffler, Bob must use brackets, labor hours, and alloy. The resources needed for each type are:   Family Sports Brackets 2.00 6.00 Labor hours 1.00 0.80 Max Alloy 1 1.5 In any given month, he is limited in all three resources to these amounts:   Quantity Brackets 150 Labor hours 40 Max Alloy 50 These are the problem constraints.

EXAMPLE 1: MODELING CONSTRAINTS AS LINEAR EQUATIONS These constraints can be modeled as a system of linear equations: 2f + 6s ≤ 150 (brackets) f + .8s ≤ 40 (labor) 50f + 33.33s ≤ 50 (alloy) Bob also has an outstanding contract that forces him to manufacture 5 sports style mufflers each month and knows, from historical performance, that demand for family mufflers in a given month will not exceed 35. These constraints can be modeled as: f ≤ 35 (maximum demand) s ≥ 5 (contractual obligation) The objective function (profit) is: 10f + 18s

EXAMPLE 1: GRAPHING A CONSTRAINT This situation can be represented graphically. Consider the constraint imposed by brackets: 2f + 6s ≤ 150. If zero family mufflers are manufactured, the equation changes to (0)f + 6s ≤ 150, which reduces to s ≤ 25. Thus a maximum of 25 sports mufflers can be made if no family mufflers are made. Similarly, 75 family mufflers can be made if there are no sports mufflers manufactured. Connecting these points gives a graphical representation of this constraint.

EXAMPLE 1: RANGE OF FEASIBILITY Points on the line are scenarios in which all available brackets are used. The area under the line is called the Range of Feasibility because it covers all product mixes that the constraint allows. Any point above the line is infeasible because Bob does not have enough brackets to create that combination of mufflers. Infeasible Point: (30 sport, 40 family) Range of Feasibility

EXAMPLE 1: GRAPHING ALL CONSTRAINTS The rest of the constraints can then be added in a similar fashion. 2f + 6s ≤ 150 (brackets) f + .8s ≤ 40 (labor) f + 1.5s ≤ 50 (alloy) f ≤ 35 (maximum demand) s ≥ 5 (contractual obligation)

EXAMPLE 1: THE COMPOSITE RANGE OF FEASIBILITY The Range of Feasibility for the model is the area enclosed by all lines. 2f + 6s ≤ 150 (brackets) f + .8s ≤ 40 (labor) f + 1.5s ≤ 50 (alloy) f ≤ 35 (maximum demand) s ≥ 5 (contractual obligation) Range of Feasibility

EXAMPLE 1: POTENTIAL PROFIT LINES The profit function will be a line with the slope of -5/9, the ratio of the contribution margin of family mufflers to sports mufflers. Each line corresponds to a particular level of total profit. The further out the line is, the greater the amount of profit. Total Profit: $100 $190 $280 $370 $460 $550

EXAMPLE 1: FEASIBLE PROFIT LINES By combining the profit lines with the range of feasibility, you can identify the highest profit line that touches a feasible point.

EXAMPLE 1: OPTIMAL SOLUTION VIA GRAPHICAL METHOD The optimal point is a mix of 25 family mufflers and 16.67 sport mufflers. This combination will net Bob $550. Optimal point

EXAMPLE 1: SPREADSHEET MODEL The situation can be modeled in Excel and an optimal solution found with Solver.

EXAMPLE 1: SPREADSHEET MODEL Contribution Margins Available resources Resources needed for each type of muffler Profit Max demand Contract Decisions: How many of each muffler to make Modeled constraints

EXAMPLE 1: SOLVER INPUTS Select the profit cell and choose solver from the tools menu.

EXAMPLE 1: SOLVER INPUTS Objective function (profit) Click Decision variables Constraints

EXAMPLE 1: SOLVER RESULTS Solver finds a solution. Select the answer and sensitivity reports for further analysis.

EXAMPLE 1: OPTIMAL SOLUTION Solver found the same optimal solution as the graphical method.

EXAMPLE 1: ANSWER REPORT ‘Binding’ means all available resources are used Brackets: 2f + 6s ≤ 150 Labor: f + .8s ≤ 40 The total resources used in the optimal solution Slack is the amount of leftover resources All available brackets are used in the optimal solution, making it a binding constraint. There are 1.67 labor hours left over, or slack.

EXAMPLE 1: SENSITIVITY ANALYSIS The shadow price is the amount of profit that an additional unit of available resources would yield. A non-binding constraint will have a shadow price of 0 because there is already an excess of the resource. An additional available bracket (a total of 151) will yield $1 of profit. An additional labor hour will yield no profit because there is already an excess. The allowable increase is the amount of resources that would have to be available to change the optimal solution. If 50 additional brackets are available, the optimal product mix will change. The allowable decrease is the amount of fewer resources that will change the optimal mix.

EXAMPLE 1: SENSITIVITY ANALYSIS If an additional unit of resource can be obtained for less than the shadow price, then the difference will be profit. The allowable increase and decrease tells you how sensitive the decision inputs of the optimal solution (final value column) are to the right hand sides of each constraint.

EXAMPLE 1: RANGE OF OPTIMALITY Profit: 10 f + 18 s The contribution margin for each type of muffler may be uncertain. The range of optimality is the range of contribution margins (coefficients in the objective function) in which a particular solution is the optimal solution.

EXAMPLE 1: RANGE OF OPTIMALITY Profit: 10 f + 18 s 8 ≤ contribution margin ≤ 14 15 ≤ contribution margin ≤ 30 Sports mufflers range: $18 + $12 = $30 $18 - $3 = $15 The range of optimality tells you how sensitive the decision inputs for the optimal solution are to variation in the coefficients of the objective function.