Linear Programming.

Slides:



Advertisements
Similar presentations
Max output (Q) subject to a cost constraint
Advertisements

1 © 2006 by Nelson, a division of Thomson Canada Limited Slides developed by: William Rentz & Al Kahl University of Ottawa Web Appendix 4A Production Decisions.
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Linear Programming Problem
Lesson 08 Linear Programming
Linear Programming Problem
Linear Programming Models & Case Studies
Session II – Introduction to Linear Programming
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Learning Objectives for Section 5.3
Managerial Decision Modeling with Spreadsheets
Linear Programming. Linear programming A technique that allows decision makers to solve maximization and minimization problems where there are certain.
6s-1Linear Programming CHAPTER 6s Linear Programming.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
Linear-Programming Applications
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Chapter 19 Linear Programming McGraw-Hill/Irwin
Department of Business Administration
Linear Programming Chapter 13 Supplement.
PowerPoint presentation to accompany Operations Management, 6E (Heizer & Render) © 2001 by Prentice Hall, Inc., Upper Saddle River, N.J B-1 Operations.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
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 -
Chapter 6 Supplement Linear Programming.
Transparency Masters to accompany Heizer/Render – Principles of Operations Management, 5e, and Operations Management, 7e © 2004 by Prentice Hall, Inc.,
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
A LINEAR PROGRAMMING PROBLEM HAS LINEAR OBJECTIVE FUNCTION AND LINEAR CONSTRAINT AND VARIABLES THAT ARE RESTRICTED TO NON-NEGATIVE VALUES. 1. -X 1 +2X.
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.
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.
LINEAR PROGRAMMING.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
© 2008 Prentice-Hall, Inc. Linear Programming Models: Graphical and Computer Methods.
BUAD306 Chapter 19 – Linear Programming. Optimization QUESTION: Have you ever been limited to what you can get done because you don’t have enough ________?
Linear Programming Department of Business Administration FALL by Asst. Prof. Sami Fethi.
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Supply Chain Management By Dr. Asif Mahmood Chapter 9: Aggregate Planning.
Chapter 3: Sensitivity Analysis and the Dual Problem & Shadow Prices
An Introduction to Linear Programming
Linear Programming.
Linear Programming Models: Graphical and Computer Methods
Engineering Economics (2+0)
MID-TERM EXAM/REVISION
Chapter 2 An Introduction to Linear Programming
Chapter 5 Linear Inequalities and Linear Programming
Chapter 19 – Linear Programming
Limiting factor analysis
Linear Programming Dr. T. T. Kachwala.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
MBA 651 Quantitative Methods for Decision Making
Linear Programming Prof. Sweta Shah.
Introduction to linear programming (LP): Minimization
Duality Theory and Sensitivity Analysis
Basic Linear Programming Concepts
Linear Programming.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear Programming Problem
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Introduction to Linear Programming
Presentation transcript:

Linear Programming

Readings Linear Programming Handout: Tutorial of Linear Programming (tutorial-LP.pdf)

Linear Programming Graphical analysis Computational analysis (Simplex Method)

Most business resource-allocation problems deal with constraints (capital, labor, legal, environmental). A wide variety of production, finance, marketing, and distribution problems employ the linear programming framework.

What is Linear Programming (LP)? LP is a tool to solve maximization/minimization problems subject to underlying constraints. Assumptions: The objective function and the inequality constraint functions are linear functions of the decision variables. Applications: production decisions, profit maximization, investment decisions, scheduling, cost minimization, etc. Question: What is the difference between optimization problems solved by calculus-based methods and LP?

Example: Consider the White Company, a manufacturer of gas (Product 1) and electric (Product 2) clothes dryers. Problem: to determine the optimal levels of products to manufacture. Production consists of a machine process that takes raw materials and converts them into unassembled parts. These parts are sent to one of two divisions for assembly. Division 1 for Product 1 Division 2 for Product 2

Quantity of Resources Required Per Unit of Output Quantity of Resources Available Raw material (units) 20 40 400 Machine processing time (hours) 5 2 Capacity of Assembly Division 1 (units) 1 6 Capacity of Assembly Division 2 (units) 9 Product 1 requires 20 units of raw material and 5 hours of machine-processing time. Product 2 requires 40 units of raw material and 2 hours of machine-processing time. 400 units of raw material are available. 40 hours of machine processing time are available. The capacities of the two assembly divisions are 6 and 9 units.

The percent contribution to profit and overhead (fixed costs) is $100 for each unit of Product 1 and $60 for each unit of Product 2. Formulation of the LP Problem #1 Formulate the Objective Function: Let P1 denote Product 1 and let P2 denote Product 2. P1 is the number of gas clothes dryers to manufacture and P2 is the number of electric clothes dryers to manufacture. The objective of White Company is to maximize profits. Max Profits (π) = 100P1 + 60P2

#2 Consider Constraints (1) Raw material constraint 20P1 + 40P2 ≤ 400 (2) Machine processing time constraint 5P1 + 2P2 ≤ 40 (3) Capacity constraint of Division 1 P1 ≤ 6 (4) Capacity constraint of Division 2 P2 ≤ 9 (5) Non-negativity constraints P1 ≥ 0 and P2 ≥ 0

Various techniques are available for solving linear programming problems. -- Graphical analysis Graphing the Feasible Solution Space Combining all the constraints yields the feasible solution space, which simultaneously satisfies all the constraints of the problem.

Graphing the Objective Function The profit function can be represented graphically as a series of parallel isoprofit lines. Each combination of output levels (P1 and P2) lying on a given line has the same total profit. The objective of profit maximization can be interpreted graphically to find an output combination that falls on as high an isoprofit line as possible. The resource constraints obviously limit us from increasing output and profits indefinitely.

Isoprofit Lines for The White Company Problem

Graphical Solution Combining the graphs of the feasible solution space and the objective function yields the output combination point within the feasible solution space that lies on the highest possible isoprofit line.

Optimal Solution a feasible solution that maximizes or minimizes the value of the objective function. Sometimes it is difficult to read the exact coordinates of the optimal solution from the graph. At point C, the machine-processing time constraint and the raw material constraint intersect. Therefore, 20P1 + 40P2 = 400 5P1 + 2P2 = 40 so, P1 = 5 and P2 = 7.5

Extreme Points and the Optimal Solution Extreme point graphically a corner point of the feasible solution space. Two important general properties of an optimal solution to a LP problem. (1) The optimal solution lies on the boundary of the feasible space. => we can ignore interior points on the feasible solution space when searching for an optimal solution. (2) The optimal solution occurs at one of the extreme points (corner points) of the feasible solution space.

Multiple Optimal Solutions Suppose that the objective function in our problem were to maximize π = 100P1 + 40P2.

In addition to the optimal combination of outputs P1 and P2 to produce (P1 = 5 and P2 = 7.5) and the maximum π ($950), we also are interested in the amount of each resource to use in the production process. Raw Material Constraint 20P1 + 40P2 = 20(5) + 40(7.5) = 400 all available raw materials (400 units) are used in producing the optimal output combination. Machine-Processing Time Constraint 5P1 + 2P2 = 5(5) + 2(7.5) = 40 all available machine-producing time is used in producing the optimal output combination. Division 1 Capacity Division 2 Capacity P1 ≤ 6 but P1 = 5 P2 ≤ 9 but P2 = 7.5 So, 1 unit of Division 1 assembly capacity and 1.5 units of Division 2 assembly capacity are unused in producing the optimal output combination.

5P1 + 2P2 + S2 = 40 P1 + S3 = 6 P2 + S4 = 9 Slack Variables Unused or idle resources associated with a less than or equal to constraint are referred to as slack. Slack variables can be added to the formation of a LP problem to represent this slack or idle capacity. Max π = 100P1 + 60P2 + 0S1 + 0S2 + 0S3 + 0S4 20P1 + 40P2 + S1 = 400 5P1 + 2P2 + S2 = 40 P1 + S3 = 6 P2 + S4 = 9 P1, P2, S1, S2, S3, S4 ≥ 0.

Primal Problem The original formulation of the LP problem. Dual Problem Associated with every LP problem is a related dual LP problem. If the objective in the primal problem is maximization of some function, then the objective in the dual problem is the minimization of a related (but different) function. Conversely, a primal minimization problem has a related dual maximization problem. The dual variables represent the variables contained in the dual problem.

Dual Problem of the White Company Profit Maximization Problem. Associated with each constraint of the primal problem is a dual variable. Because the primal problem had four constraints, the dual problem has four variables, say W1,, W2, W3, and W4. (Note: the constraints requiring each of the primal variables to be greater than or equal to zero P1 ≥ 0, P2 ≥ 0, are not included when determining the number of dual variables). The objective of the dual problem is minimization, that is to minimize the total cost or value of the resources employed in the process. Specify, minimize Z = 400W1 + 40W2 + 6W3 + 9W4. The constants 400, 40, 6, and 9 come from the resource constraints in the primal problem; W1, W2, W3, and W4 are expressed in $/unit.

The constraints of the dual problem come from the fact that 20 units of W1,, 5 units of W2, and 1 unit of W3 are involved to produce P1 and that 40 units of W1, 2 units of W2, and 1 unit of W4 are involved to produce P2. 20W1 + 5W2 + W3 ≥ 100 40W1 + 2W2 + W4 ≥ 60 W1 ≥ 0, W2 ≥ 0, W3 ≥ 0, and W4 ≥ 0. The value of the resources used in producing one unit each of P1 and P2 must be at least as great as the profit received from the sale of one unit of each product.

Economic Interpretation of the Dual Variables The dual variables measure the “imputed values” or shadow prices of each of the scarce resources. The shadow price measures the contribution to the objective function of one additional unit of a resource. W1 ,= $.625 per unit, W2 = $17.50 per unit, W3 = W4 = $0 per unit. Each dual variable indicates the change in profits for an incremental change in the amount of each of the various resources. In this way, the dual variables are similar to the Lagrangian Multiplier λ.

W2 = $17.50 indicates that profits could be increased by as much as $17.50 if an additional hour of machine capacity could be made available to the production process. W1 = $.625 indicates that profits could be increased by as much as $.625 if additional units of raw material could be made available to the production process. W3 = W4 = $0 indicates profits would not increase at all if additional assembly capacity were available.

Example Cost Minimization: Silverado Mining Company Suppose that the Silverado Mining Company owns two different mines (A and B) for producing uranium ore. After the ore is mined, it is separated into three grades – high, medium and low. Mine A produces .75 tons of high grade ore/hr. Mine A produces .25 tons of medium grade ore/hr. Mine A produces .50 tons of low grade ore/hr. Mine B produces .25 tons of high grade ore/hr. Mine B produces .25 tons of medium grade ore/hr. Mine B produces 1.50 tons of low grade ore/hr. The Company has contracts with uranium processing plants to supply a minimum of 36 tons of high-grade ore, 24 tons of medium-grade ore, and 72 tons of low-grade ore per week.

It costs the company $50/hr to operate Mine A and $40/hr to operate Mine B Objective: The company wishes to determine the number of hours per week it should operate each mine to minimize the total cost of fulfilling its supply contracts. Formulation of the LP Problem Objective Function: Define H1 as the number of hours per week that Mine A is operated and H2 as the number of hours per week that Mine B is operated. Minimize TC = 50H1 + 40H2 TC (refers to total cost).

Constraint Relationships High-Grade Ore Contract .75H1 + .25H2 ≥ 36. Medium-Grade Ore Contract .25H1 + .25H2 ≥ 24. Low-Grade Ore Contract .50H1 + 1.50H2 ≥ 72. Non-negativity Constraints H1 ≥ 0, H2 ≥ 0.

Surplus Variables In a minimization problem, surplus variables are subtracted from the greater than or equal to inequality constraints to convert these constraints to equalities. Minimize TC = 50H1 + 40H2 + 0S1 + 0S2 + 0S3. s.t. .75H1 + .25H2 – S1 = 36 .25H1 + .25H2 – S2 = 24 .50H1 + 1.50H2 – S3 = 72 H1, H2, S1, S2, S3 ≥ 0.

H1 8 Graph the Feasible Solution Space based on .75H1 + .25H2 ≥ 36 Iso-Cost line TC = 50H1 + 40H2 H1 8 4 400 200 5 10 H2

H1 144 120 96 72 48 24 ABCD Represents the Feasible Solution Boundary A(0,144) .50H1 + 1.50H2 = 72 B(24,72) isocost line at TC = $4,080, TC = 50H1, + 40H2 .25H1 + .25H2 = 24 C(72,24) .75H1 + .25H2 = 36 D(144,0) 24 48 72 96 120 144 H2

TC At point A, H1 = 144 H2 = 0 $50(144) + $40(0) = $7,200 B, H1 = 72 H2 = 24 $50(72) + $40(24) = $4,560 C, H1 = 24 H2 = 72 $50(24) + $40(72) = $4,080 D, H1 = 0 H2 = 144 $50(0) + $40(144) = $5,760 At point B, intersection of .50H1 + 1.50H2 = 72 .25H1 + .25H2 = 24 H1 = 72, H2 = 24 At point C, intersection of .25H1 + .25H2 = 24 .75H1 + .25H2 = 36 H1 = 24, H2 = 72 Minimum TC combination of H1 & H2 occurs at point C. Minimum TC is $4,080.