Linear Programming OPIM 310-Lecture 2 Instructor: Jose Cruz.

Slides:



Advertisements
Similar presentations
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Operations Management - 5 th Edition Chapter 13 Supplement Roberta.
Advertisements

Solving Linear Programming Models. Topics Computer Solution Sensitivity Analysis.
Linear Programming.
Linear Programming Problem
1/53 Slide Linear Programming: Sensitivity Analysis and Interpretation of Solution n Introduction to Sensitivity Analysis n Graphical Sensitivity Analysis.
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
Operations Management Linear Programming Module B - Part 2
2-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions.
Sensitivity analysis BSAD 30 Dave Novak
Operations Management
BUS 2420 Management Science
An Introduction to Linear Programming : Graphical and Computer Methods
Introduction to Management Science
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved by Prentice-Hall, Inc1  Model.
© 2000 by Prentice-Hall Inc Russell/Taylor Oper Mgt 3/e Chapter 11 Capacity Planning And Aggregate Production Planning.
Linear Programming: Computer Solution and Sensitivity Analysis
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Introduction to Management Science
Linear Programming: Model Formulation and Graphical Solution
Operations Management - 5 th Edition Chapter 13 Supplement Roberta Russell & Bernard W. Taylor, III Linear Programming.
John Loucks Modifications by A. Asef-Vaziri Slides by St. Edward’s
Linear Programming Chapter 14 Supplement. Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
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.
3.4 Linear Programming.
3-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Linear Programming: Computer Solution and Sensitivity Analysis Chapter 3.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Chapter 13 Supplement.
Chapter Topics Computer Solution Sensitivity Analysis
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
1 Linear Programming: Model Formulation and Graphical Solution.
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.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Management Science – MNG221 Linear Programming: Graphical Solution.
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
A model consisting of linear relationships representing a firm’s objective and resource constraints Linear Programming (LP) LP is a mathematical modeling.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
Professional software packages such as The WinQSB and LINDO provide the following LP information: Information about the objective function: –its optimal.
Linear Programming Models: Graphical and Computer Methods
EMIS 8374 Network Flow Models updated 29 January 2008.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Introduction to Linear Programming and Formulation Meeting 2 Course: D Deterministic Optimization Year: 2009.
BUAD306 Chapter 19 – Linear Programming. Optimization QUESTION: Have you ever been limited to what you can get done because you don’t have enough ________?
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Supplement S9 Linear Programming.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
2-1 Modeling with Linear Programming Chapter Optimal Solution for New Objective Function Graphical Solution of Maximization Model (12 of 12) Maximize.
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.
Operations Research.  Operations Research (OR) aims to having the optimization solution for some administrative problems, such as transportation, decision-making,
Linear Programming Chapter 14 Supplement Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
Beni Asllani University of Tennessee at Chattanooga
Beni Asllani University of Tennessee at Chattanooga
OPERATIONS MANAGEMENT: Creating Value Along the Supply Chain,
Chapter 2 An Introduction to Linear Programming
St. Edward’s University
Chapter 19 – Linear Programming
Beni Asllani University of Tennessee at Chattanooga
Introduction Basic formulations Applications
Linear Programming.
Optimization Theory Linear Programming
Module B Linear Programming.
Operations Research.
Introduction to Linear Programming
Linear Programming: Model Formulation and Graphic Solution
Presentation transcript:

Linear Programming OPIM 310-Lecture 2 Instructor: Jose Cruz

Model consisting of linear relationships representing a firm’s objectives & resource constraints Model consisting of linear relationships representing a firm’s objectives & resource constraints Decision variables are mathematical symbols representing levels of activity of an operation Decision variables are mathematical symbols representing levels of activity of an operation Objective function is a linear relationship reflecting objective of an operation Objective function is a linear relationship reflecting objective of an operation Constraint is a linear relationship representing a restriction on decision making Constraint is a linear relationship representing a restriction on decision making Linear Programming

General Structure of a Linear Programming (LP) Model Max/min z = c 1 x 1 + c 2 x c n x n subject to:a 11 x 1 + a 12 x a 1n x n  b 1 (or , =) a 21 x 1 + a 22 x a 2n x n  b 2 : a m1 x 1 + a m2 x a mn x n  b m a m1 x 1 + a m2 x a mn x n  b m x j = decision variables b i = constraint levels c j = objective function coefficients a ij = constraint coefficients

Linear Programming Model Formulation LaborClayRevenue PRODUCT(hr/unit)(lb/unit)($/unit) Bowl1440 Mug2350 There are 40 hours of labor and 120 pounds of clay available each day Decision variables x 1 = number of bowls to produce x 2 = number of mugs to produce RESOURCE REQUIREMENTS Example S9.1

Objective Function and Constraints Maximize Z = $40 x x 2 Subject to x 1 +2x 2  40 hr(labor constraint) 4x 1 +3x 2  120 lb(clay constraint) x 1, x 2  0 Solution is x 1 = 24 bowls x 2 = 8 mugs Revenue = $1,360 Example S9.1

Graphical Solution Method 1.Plot model constraint on a set of coordinates in a plane 2.Identify the feasible solution space on the graph where all constraints are satisfied simultaneously 3.Plot objective function to find the point on boundary of this space that maximizes (or minimizes) value of objective function

Graph of Pottery Problem 4 x x 2  120 lb x x 2  40 hr Area common to both constraints – – – – – 0 0 – | x1x1x1x1 x2x2x2x2 Example 1

Plot Objective Function – – – – 0 0 – $800 = 40x x 2 Optimal point B | x1x1x1x1 x2x2x2x2 Example S9.2

Computing Optimal Values Z = $50(24) + $50(8) Z = $1,360 x 1 +2x 2 =40 4x 1 +3x 2 =120 4x 1 +8x 2 =160 -4x 1 -3x 2 =-120 5x 2 =40 x 2 =8 x 1 +2(8)=40 x 1 =24 A. 8 B C x 1 + 2x 2 = 40 4x 1 + 3x 2 = 120 | x1x1x1x1 x2x2x2x – – – – 0 0 – Example 1

Extreme Corner Points x 1 = 24 bowls x 2 =  8 mugs Z = $1,360 x 1 = 30 bowls x 2 =  0 mugs Z = $1,200 x 1 = 0 bowls x 2 =  20 mugs Z = $1,000 A B C | x1x1x1x1 x2x2x2x – – – – 0 0 – Example 1

Objective Function Determines Optimal Solution 4x 1 + 3x 2  120 lb x 1 + 2x 2  40 hr – – – – 0 0 –B | x1x1x1x1 x2x2x2x2 C A Z = 70x x 2 Optimal point: x 1 = 30 bowls x 2 =  0 mugs Z = $2,100 Example 1

Farmer’s Hardware CHEMICAL CONTRIBUTION BrandNitrogen (lb/bag)Phosphate (lb/bag) Super-gro24 Crop-quik43 Minimize Z = $6x 1 + $3x 2 subject to 2x 1 +4x 2  16 lb of nitrogen 4x 1 +3x 2  24 lb of phosphate x 1, x 2  0 Example 2

Farmer’s Hardware – – – 8 8 – 6 6 – 4 4 – 2 2 – 0 0 – |22|222 |44|444 |66|666 |88|888 | x1x1x1x1 x2x2x2x2 A B C Z = 6x 1 + 3x 2 x 1 = 0 bags of Super-gro x 2 = 8 bags of Crop-quik Z = $24 Example 2

Solving LP Problems Exhibit S9.3 Click on “Tools” to invoke “Solver.” Objective function Decision variables – bowls (x 1 )=B10; mugs (x 2 )=B11

Solving LP Problems Exhibit S9.4 After all parameters and constraints have been input, click on “Solve.” Objective function Decision variables C6*B10+D6*B11≤40 C7*B10+D7*B11≤120 Click on “Add” to insert contraints.

Solving LP Problems Exhibit 1

Example 2: Olympic Bike Co. Model Formulation Max 10x x 2 (Total Weekly Profit) s.t. 2x 1 + 4x 2 < 100 (Aluminum Available) 3x 1 + 2x 2 < 80 (Steel Available) x 1, x 2 > 0

Example 2: Olympic Bike Co. Partial Spreadsheet Showing Solution

Example 2: Olympic Bike Co. Optimal Solution According to the output: x 1 (Deluxe frames) = 15 x 2 (Professional frames) = 17.5 Objective function value = $412.50

Example 2: Olympic Bike Co. Range of Optimality Question Suppose the profit on deluxe frames is increased to $20. Is the above solution still optimal? What is the value of the objective function when this unit profit is increased to $20?

Example 2: Olympic Bike Co. Sensitivity Report

Example 2: Olympic Bike Co. Range of Optimality Answer The output states that the solution remains optimal as long as the objective function coefficient of x 1 is between 7.5 and Since 20 is within this range, the optimal solution will not change. The optimal profit will change: 20x x 2 = 20(15) + 15(17.5) = $

Example 2: Olympic Bike Co. Range of Optimality Question If the unit profit on deluxe frames were $6 instead of $10, would the optimal solution change?

Example 2: Olympic Bike Co. Range of Optimality

Answer The output states that the solution remains optimal as long as the objective function coefficient of x 1 is between 7.5 and Since 6 is outside this range, the optimal solution would change. Example 2: Olympic Bike Co.

The Minimum Cost Network Flow Problem (MCNFP) Extremely Useful Model in OR & EM Important Special Cases of the MCNFP –Transportation and Assignment Problems –Maximum Flow Problem –Minimum Cut Problem –Shortest Path Problem Network Structure –Some MCNFP LP’s have integer values !!! –Problems can be formulated graphically

Formulation of Shortest Path Problems Source node s has a supply of 1 Sink node t has a demand of 1 All other nodes are transshipment nodes Each arc has capacity 1 Tracing the unit of flow from s to t gives a path from s to t

Shortest Path

Shortest Path Example In a rural area of Texas, there are six farms connected my small roads. The distances in miles between the farms are given in the following table. What is the minimum distance to get from Farm 1 to Farm 6?

Formulation as Shortest Path s t

LP Formulation