Spreadsheet Modeling & Decision Analysis:

Slides:



Advertisements
Similar presentations
Solving LP Problems in a Spreadsheet
Advertisements

Linear Programming Problem
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
19 Linear Programming CHAPTER
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale.
Linear Programming Unit 2, Lesson 4 10/13.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 6 th edition Cliff T. Ragsdale © 2011 Cengage Learning. All Rights.
Introduction to Management Science
6s-1Linear Programming CHAPTER 6s Linear Programming.
Introduction to Management Science
Spreadsheet Modeling & Decision Analysis:
Chapter 3 An Introduction to Linear Programming
FORMULATION AND GRAPHIC METHOD
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Linear Programming Models: Graphical and Computer Methods
1-1 Introduction to Optimization and Linear Programming Chapter 1.
Introduction to Mathematical Programming OR/MA 504 Chapter 5 Integer Linear Programming.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Linear Programming Models: Graphical Method © 2007 Pearson Education from the companion CD - Chapter 2 of the book: Balakrishnan, Render, and Stair, “Managerial.
3.4 Linear Programming.
Introduction to Mathematical Programming OR/MA 504 Chapter 3.
Special Conditions in LP Models (sambungan BAB 1)
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
Spreadsheet Modeling & Decision Analysis:
L4 Graphical Solution Homework See new Revised Schedule Review Graphical Solution Process Special conditions Summary 1 Read for W for.
Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. 6-1 Integer Linear Programming Chapter 6.
1 Additional examples LP Let : X 1, X 2, X 3, ………, X n = decision variables Z = Objective function or linear function Requirement: Maximization of the.
BUSINESS MATHEMATICS & STATISTICS. LECTURE 45 Planning Production Levels: Linear Programming.
1 1 Slide © 2005 Thomson/South-Western Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization.
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
OPSM 301 Operations Management Class 10: Introduction to Linear Programming Koç University Zeynep Aksin
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
1 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.
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
CDAE Class 13 Oct. 10 Last class: Result of Quiz 3 3. Linear programming and applications Class exercise 5 Today: 3. Linear programming and applications.
Linear Programming (LP) Problems MAX (or MIN): c 1 X 1 + c 2 X 2 + … + c n X n Subject to:a 11 X 1 + a 12 X 2 + … + a 1 n X n
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
LINEAR PROGRAMMING Classic Types of Constrained Decision Problems 1. Product Mix 2. Ingredient Mix 3. Transportation 4. Assignment 5. Time Period.
Don Sutton Spring LP Basic Properties Objective Function – maximize/minimize profit/cost Resource Constraints – labor, money Decision.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
An Introduction to Linear Programming
Decision Support Systems
An Introduction to Linear Programming Pertemuan 4
Chapter 2 An Introduction to Linear Programming
MAN 305 OPERATIONS RESEARCH II Week 4 –Sensitivity Analysis with Spreadsheets DR. KAZIM BARIŞ ATICI.
Linear Programming Topics General optimization model
Solving LP Problems in a Spreadsheet
Linear Programming Topics General optimization model
Introduction to Optimization and Linear Programming (LP)
Spreadsheet Modeling & Decision Analysis
Linear Programming.
Operations Research Models
Linear Programming Problem
Optimization Theory Linear Programming
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
BASIC FEASIBLE SOLUTIONS
Spreadsheet Modeling & Decision Analysis:
Spreadsheet Modeling & Decision Analysis:
Operations Research.
Spreadsheet Modeling & Decision Analysis:
Integer Linear Programming
Simplex Tableau Method
Presentation transcript:

Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science 3d edition by Cliff Ragsdale

Introduction to Optimization and Linear Programming Chapter 2 Introduction to Optimization and Linear Programming Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Introduction We all face decision about how to use limited resources such as: Oil in the earth Land for dumps Time Money Workers Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Mathematical Programming... MP is a field of management science that finds the optimal, or most efficient, way of using limited resources to achieve the objectives of an individual of a business. a.k.a. Optimization Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Applications of Mathematical Optimization Determining Product Mix Manufacturing Routing and Logistics Financial Planning Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Characteristics of Optimization Problems Decisions Constraints Objectives Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

General Form of an Optimization Problem MAX (of MIN): f0(X1, X2, …, Xn) Subject to: f1(X1, X2, …, Xn)<=b1 : fk(X1, X2, …, Xn)>=bk fm(X1, X2, …, Xn)=bm Note: If all the functions in an optimization are linear, the problem is a Linear Programming (LP) problem Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

General Form of a Linear Programming (LP) Problem MAX (or MIN): c1X1 + c2X2 + … + cnXn Subject to: a11X1 + a12X2 + … + a1nXn <= b1 : ak1X1 + ak2X2 + … + aknXn >=bk am1X1 + am2X2 + … + amnXn = bm Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

An Example LP Problem Blue Ridge Hot Tubs produces two types of hot tubs: Aqua-Spas & Hydro-Luxes. Aqua-Spa Hydro-Lux Pumps 1 1 Labor 9 hours 6 hours Tubing 12 feet 16 feet Unit Profit $350 $300 There are 200 pumps, 1566 hours of labor, and 2880 feet of tubing available. Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

5 Steps In Formulating LP Models: 1. Understand the problem. 2. Identify the decision variables. X1=number of Aqua-Spas to produce X2=number of Hydro-Luxes to produce 3. State the objective function as a linear combination of the decision variables. MAX: 350X1 + 300X2 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

5 Steps In Formulating LP Models (continued) 4. State the constraints as linear combinations of the decision variables. 1X1 + 1X2 <= 200 } pumps 9X1 + 6X2 <= 1566 } labor 12X1 + 16X2 <= 2880 } tubing 5. Identify any upper or lower bounds on the decision variables. X1 >= 0 X2 >= 0 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Summary of the LP Model for Blue Ridge Hot Tubs MAX: 350X1 + 300X2 S.T.: 1X1 + 1X2 <= 200 9X1 + 6X2 <= 1566 12X1 + 16X2 <= 2880 X1 >= 0 X2 >= 0 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Solving LP Problems: An Intuitive Approach Idea: Each Aqua-Spa (X1) generates the highest unit profit ($350), so let’s make as many of them as possible! How many would that be? Let X2 = 0 1st constraint: 1X1 <= 200 2nd constraint: 9X1 <=1566 or X1 <=174 3rd constraint: 12X1 <= 2880 or X1 <= 240 If X2=0, the maximum value of X1 is 174 and the total profit is $350*174 + $300*0 = $60,900 This solution is feasible, but is it optimal? No! Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Solving LP Problems: A Graphical Approach The constraints of an LP problem defines its feasible region. The best point in the feasible region is the optimal solution to the problem. For LP problems with 2 variables, it is easy to plot the feasible region and find the optimal solution. Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

boundary line of pump constraint Plotting the First Constraint X2 250 (0, 200) 200 boundary line of pump constraint X1 + X2 = 200 150 100 50 (200, 0) 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

boundary line of labor constraint Plotting the Second Constraint X2 (0, 261) 250 boundary line of labor constraint 200 9X1 + 6X2 = 1566 150 100 50 (174, 0) 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

boundary line of tubing constraint Plotting the Third Constraint X2 250 (0, 180) 200 150 boundary line of tubing constraint 12X1 + 16X2 = 2880 100 Feasible Region 50 (240, 0) 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Plotting A Level Curve of the Objective Function X2 Plotting A Level Curve of the Objective Function 250 200 (0, 116.67) objective function 150 350X1 + 300X2 = 35000 100 (100, 0) 50 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

A Second Level Curve of the Objective Function X2 250 (0, 175) objective function 200 350X1 + 300X2 = 35000 objective function 150 350X1 + 300X2 = 52500 100 (150, 0) 50 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Using A Level Curve to Locate the Optimal Solution X2 250 objective function 200 350X1 + 300X2 = 35000 150 optimal solution 100 objective function 350X1 + 300X2 = 52500 50 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Calculating the Optimal Solution The optimal solution occurs where the “pumps” and “labor” constraints intersect. This occurs where: X1 + X2 = 200 (1) and 9X1 + 6X2 = 1566 (2) From (1) we have, X2 = 200 -X1 (3) Substituting (3) for X2 in (2) we have, 9X1 + 6 (200 -X1) = 1566 which reduces to X1 = 122 So the optimal solution is, X1=122, X2=200-X1=78 Total Profit = $350*122 + $300*78 = $66,100 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Enumerating The Corner Points X2 250 obj. value = $54,000 (0, 180) 200 obj. value = $64,000 150 (80, 120) obj. value = $66,100 100 (122, 78) 50 obj. value = $0 obj. value = $60,900 (0, 0) (174, 0) 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning. Note: This technique will not work if the solution is unbounded.

Summary of Graphical Solution to LP Problems 1. Plot the boundary line of each constraint 2. Identify the feasible region 3. Locate the optimal solution by either: a. Plotting level curves b. Enumerating the extreme points Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Special Conditions in LP Models A number of anomalies can occur in LP problems: Alternate Optimal Solutions Redundant Constraints Unbounded Solutions Infeasibility Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

alternate optimal solutions X2 Example of Alternate Optimal Solutions 250 objective function level curve 450X1 + 300X2 = 78300 200 150 100 alternate optimal solutions 50 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Example of a Redundant Constraint 250 boundary line of tubing constraint 200 boundary line of pump constraint 150 boundary line of labor constraint 100 Feasible Region 50 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Example of an Unbounded Solution 1000 objective function X1 + X2 = 600 -X1 + 2X2 = 400 800 objective function X1 + X2 = 800 600 400 200 X1 + X2 = 400 200 400 600 800 1000 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

Example of Infeasibility 250 200 X1 + X2 = 200 feasible region for second constraint 150 100 feasible region for first constraint 50 X1 + X2 = 150 50 100 150 200 250 X1 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.

End of Chapter 2 Spreadsheet Modeling and Decision Analysis, 3e, by Cliff Ragsdale. © 2001 South-Western/Thomson Learning.