Operations Management Linear Programming Module B - Part 2

Slides:



Advertisements
Similar presentations
Optimization problems using excel solver
Advertisements

Understanding optimum solution
Linear Programming.
1/53 Slide Linear Programming: Sensitivity Analysis and Interpretation of Solution n Introduction to Sensitivity Analysis n Graphical Sensitivity Analysis.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
B-1 Operations Management Linear Programming Module B - New Formulations.
Chapter 7 Linear Programming Models Part One n Basis of Linear Programming n Linear Program formulati on.
Chapter 3 Linear Programming: Sensitivity Analysis and Interpretation of Solution MT 235.
Operations Management Dr. Ron Lembke
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.
QM B Linear Programming
1 5. Linear Programming 1.Introduction to Constrained Optimization –Three elements: objective, constraints, decisions –General formulation –Terminology.
Linear Programming: Fundamentals
B-1 Operations Management Linear Programming Module B - Harder Formulations.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Goals and aims To introduce Linear Programming To find a knowledge on graphical solution for LP problems To solve linear programming problems using excel.
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
Solver Linear Problem Solving MAN Micro-computers & Their Applications.
© Copyright 2004, Alan Marshall 1 Lecture 1 Linear Programming.
Introduction to Optimization
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.
Introduction to Mathematical Programming OR/MA 504 Chapter 3.
START EXCEL BUILD OR RETRIEVE YOUR OPTIMIZATION MODEL SAVE YOUR WORKBOOK!! CHOOSE “Solver…” IN THE “Tools” MENU SPECIFY IN SOLVER DIALOG BOX: 1.CELL TO.
1 The Role of Sensitivity Analysis of the Optimal Solution Is the optimal solution sensitive to changes in input parameters? Possible reasons for asking.
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Introduction to Management Science
The Theory of the Simplex Method
Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.
Linear Programming: Basic Concepts
Managerial Decision Making and Problem Solving
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Chapter 6 Supplement Linear Programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
MIS 463: Decision Support Systems for Business Review of Linear Programming and Applications Aslı Sencer.
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.
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
Linear Programming with Excel Solver.  Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Wiley Supplement B Linear Programming Operations Management by R. Dan Reid & Nada R. Sanders 4th Edition © Wiley 2010.
A model consisting of linear relationships representing a firm’s objective and resource constraints Linear Programming (LP) LP is a mathematical modeling.
Goal Seek and Solver. Goal seeking helps you n Find a specific value for a target cell by adjusting the value of one other cell whose value is allowed.
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
Sensitivity analysis continued… BSAD 30 Dave Novak Source: Anderson et al., 2013 Quantitative Methods for Business 12 th edition – some slides are directly.
Math Programming Concept of Optimization (L.O. a ) Linear Programming Managerial Value of Information (L.O. d) Theory (L.O. b) Example Applications (L.O.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
Lecture 6 Linear Programming Sensitivity Analysis
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming Chapter 2.
Introduction to Integer Programming Integer programming models Thursday, April 4 Handouts: Lecture Notes.
CDAE Class 16 Oct. 18 Last class: 3. Linear programming and applications Quiz 4 Today: Result of Quiz 4 3. Linear programming and applications Group.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
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.
Solving Linear Optimization Problems Using the Solver Add-in.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Appendix A with Woodruff Edits Linear Programming Using the Excel Solver Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Solver Feature Excel’s KY San Jose State University Engineering 10.
Problem 1 Demand Total There are 20 full time employees, each can produce 10.
Solver & Optimization Problems
Sensitivity.
Linear Programming Excel Solver.
Solving Linear Optimization Problems Using the Solver Add-in
Presentation transcript:

Operations Management Linear Programming Module B - Part 2

Problem B.23 1. Gross Distributors packages and distributes industrial supplies. A standard shipment can be packaged in a class A container, a class K container, or a class T container. The profit from using each type of container is: $8 for each class A container, $6 for each class K container, and $14 for each class T container. The amount of packing material required by each A, K and T container is 2, 1 and 3 lbs., respectively. The amount of packing time required by each A, K, and T container is 2, 6, and 4 hours, respectively. There is 120 lbs of packing material available each week. Six packers must be employed full time (40 hours per week each). Determine how many containers to pack each week.

Problem B.23 Container Profit Packing material (lbs.) time (hrs.) A $8 1 Amount available K T $6 $14 3 6 4 120 =240

Problem B.23 xi = Number of class i containers to pack each week. i=A, K, T : Maximize: 8xA + 6xK + 14xT 2xA + xK + 3xT  120 (lbs.) 2xA + 6xK + 4xT = 240 (hours) xA, xK, xT  0

Linear Programming Solutions Unique Optimal Solution. Multiple Optimal Solutions. Infeasible (no solution). x + y  800 x  1000 x, y  0 Unbounded (infinite solution). Maximize 3x + 2y x + y  1000

Computer Solutions Optimal values of decision variables and objective function. Sensitivity information for objective function coefficients. Sensitivity information for RHS (right-hand side) of constraints and shadow price.

Computer Solutions Enter data from formulation in Excel. 1 row for the coefficients of objective. 1 row for coefficients & RHS of each constraint. 1 final row for solution (decision variable) values. Select Solver from the Tools Menu.

Computer Solutions - Spreadsheet

Computer Solutions - Spreadsheet

Computer Solutions - Spreadsheet

Computer Solutions - Solver

Computer Solutions - Solver

Computer Solutions - Solver Parameters

Computer Solutions Set Target Cell: to value of objective function. Equal To: Max or Min By Changing Cells: = Sol’n values (decision variable values). B7:D7 Subject to the Constraints: Click Add to add each constraint: LHS =,  ,  RHS

Computer Solutions - Adding Constraints Cell Reference: LHS location Select sign : <=, =, >= Constraint: RHS location

Computer Solutions - Adding Constraints 1st constraint. Click Add. Repeat for second constraint.

Computer Solutions Click Options to set up Solver for LP.

Computer Solutions - Solver Options Check ‘on’ Assume Linear Model and Assume Non-Negative.

Computer Solutions Click Solve to find the optimal solution.

Computer Solutions - Solver Results

Computer Solutions - Optimal Solution Optimal solution is to use: 0 A containers 17.14 K containers 34.29 T containers Maximum profit is $583 per week. Actually $582.857… in Excel values are rounded.

Computer Solutions Optimal solution is to use: 0 class A containers. 17.14 class K containers. 34.29 class T containers. Maximum profit is $582.857 per week. Select Answer and Sensitivity Reports and click OK. New pages appear in Excel.

Computer Solution - Answer Report

Sensitivity Analysis Projects how much a solution will change if there are changes in variables or input data. Shadow price (dual) - Value of one additional unit of a resource.

Computer Solution - Sensitivity Report

Computer Solution - Sensitivity Report Microsoft Excel 8.0e Sensitivity Report Worksheet: [probb.23.xls]Sheet1 Report Created: 1/31/01 9:53:27 PM Adjustable Cells Final Reduced Objective Allowable Allowable Cell Name Value Cost Coefficient Increase Decrease $B$7 Sol'n values A cont. -1.142857143 8 1.142857143 1E+30 $C$7 Sol'n values K cont. 17.14285714 6 8 1E+30 $D$7 Sol'n values T cont 34.28571429 14 1E+30 1.6 Optimal solution: 0 class A containers 17.14285… class K containers 34.28571… class T containers Profit = 0(8) + 17.14285(6) + 34.28571(14) = $582.857

Computer Solution - Sensitivity Report

Sensitivity for Objective Coefficients As long as coefficients are in range indicated, then current solution is still optimal, but profit may change! Current solution is optimal as long as: Coefficient of xA is between -infinity and 9.142857 Coefficient of xK is between -infinity and 14 Coefficient of xT is between 12.4 and infinity

Sensitivity for Objective Coefficients If profit for class K container was 12 (not 6), what is optimal solution?

Sensitivity for Objective Coefficients If profit for class K container was 12 (not 6), what is optimal solution? xA=0, xK=17.14, xT=34.29 (same as before) profit = 685.71 (more than before!)

Sensitivity for Objective Coefficients If profit for class K container was 16 (not 6), what is optimal solution?

Sensitivity for Objective Coefficients If profit for class K container was 16 (not 6), what is optimal solution? Different! Resolve problem to get solution.

Computer Solution - Sensitivity Report

Sensitivity for RHS values Shadow price is change in objective value for each unit change in RHS as long as change in RHS is within range. Each additional lb. of packing material will increase profit by $4.2857... for up to 60 additional lbs. Each additional hour of packing time will increase profit by $0.2857... for up to 480 additional hours.

Sensitivity for RHS values Suppose you can buy 50 more lbs. of packing material for $250. Should you buy it?

Sensitivity for RHS values Suppose you can buy 50 more lbs. of packing material for $250. Should you buy it? NO. $250 for 50 lbs. is $5 per lb. Profit increase is only $4.2857 per lb.

Sensitivity for RHS values How much would you pay for 50 more lbs. of packing material?

Sensitivity for RHS values How much would you pay for 50 more lbs. of packing material? $214.28 50 lbs.  $4.2857/lb. = $214.2857...

Sensitivity for RHS values If change in RHS is outside range (from allowable increase or decrease), then we can not tell how the objective value will change.

Extensions of Linear Programming Integer programming (IP): Some or all variables are restricted to integer values. Allows “if…then” constraints. Much harder to solve (more computer time). Nonlinear programming: Some constraints or objective are nonlinear functions. Allows wider range of situations to be modeled.

{ { Integer Programming 1 if we build a factory in St. Louis 0 otherwise. { 1 if we build a factory in Chicago 0 otherwise. We will build one factory in Chicago or St. Louis. x1 + x2  1 We will build one factory in either Chicago or St. Louis. x1 + x2 = 1 If we build in Chicago, then we will not build in St. Louis. x2  1 - x1

Harder Formulation Example You are creating an investment portfolio from 4 investment options: stocks, real estate, T-bills (Treasury-bills), and cash. Stocks have an annual rate of return of 12% and a risk measure of 5. Real estate has an annual rate of return of 10% and a risk measure of 8. T-bills have an annual rate of return of 5% and a risk measure of 1. Cash has an annual rate of return of 0% and a risk measure of 0. The average risk of the portfolio can not exceed 5. At least 15% of the portfolio must be in cash. Formulate an LP to maximize the annual rate of return of the portfolio.

Another Formulation Example A business operates 24 hours a day and employees work 8 hour shifts. Shifts may begin at midnight, 4 am, 8 am, noon, 4 pm or 8 pm. The number of employees needed in each 4 hour period of the day to serve demand is in the table below. Formulate an LP to minimize the number of employees to satisfy the demand. Midnight - 4 am 4 am - 8 am 3 6 8 am - noon Noon - 4 pm 4 pm - 8 pm 8 pm - midnight 12 9 13 15