Chapter 5 LP formulations. LP formulations of four basic problem Resource allocation problem Transportation problem Feed mix problem Joint products problem.

Slides:



Advertisements
Similar presentations
Applications of Optimization To Operations Management
Advertisements

With Vegetable Farm Example
Nonlinear Programming McCarl and Spreen Chapter 12.
IENG442 LINGO LAB3.
Understanding optimum solution
Linear Programming Problem
Linear Programming Models & Case Studies
Notes 4IE 3121 Why Sensitivity Analysis So far: find an optimium solution given certain constant parameters (costs, demand, etc) How well do we know these.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
BA 452 Lesson A.2 Solving Linear Programs 1 1ReadingsReadings Chapter 2 An Introduction to Linear Programming.
Linear Programming Problem Formulation.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Operations Management Linear Programming Module B - Part 2
Linear Programming Using the Excel Solver
Chapter 7 Linear Programming Models Part One n Basis of Linear Programming n Linear Program formulati on.
Managerial Decision Modeling with Spreadsheets
Strategic Allocation of Resources
1 Chapter 6 Sensitivity Analysis and Duality PART 3 Mahmut Ali GÖKÇE.
Chapter 4: Linear Programming Sensitivity Analysis
Basic LP Problem McCarl and Spreen Chapter 2 LP problem is linear form of Mathematical Program This formulation may also be expressed in matrix notation.
Basic Optimization Problem Notes for AGEC 641 Bruce McCarl Regents Professor of Agricultural Economics Texas A&M University Spring 2005.
Linear Programming: Fundamentals
1 Lecture 2 & 3 Linear Programming and Transportation Problem.
Linear Programming Econ Outline  Review the basic concepts of Linear Programming  Illustrate some problems which can be solved by linear programming.
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Linear Programming ISQA 459/559. Getting Started with LP Game problem Terms Algebraic & Graphical Illustration LP with Excel.
Linear-Programming Applications
Linear Programming.
Solver Linear Problem Solving MAN Micro-computers & Their Applications.
© Copyright 2004, Alan Marshall 1 Lecture 1 Linear Programming.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Department of Business Administration
Linear Programming Chapter 13 Supplement.
Ardavan Asef-Vaziri Systems and Operations Management
Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.
Lecture 2 Chapter 10 continued…. Last Lecture Summary: Covered Sec and most part of Sec Basic concepts of Linear Programming Problem and.
GAMS Anwendung Nutzeroberfläche eigene Programme Modellierungs- System GAMS AMPL ILOG Studio … Solver CPLEX, CONOPT, MINOS, COIN, BARON,...
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Chapter 6 Supplement Linear Programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Linear Programming last topic of the semester What is linear programming (LP)? Not about computer programming “Programming” means “planning” “Linear” refers.
A model consisting of linear relationships representing a firm’s objective and resource constraints Linear Programming (LP) LP is a mathematical modeling.
1 The Dual in Linear Programming In LP the solution for the profit- maximizing combination of outputs automatically determines the input amounts that must.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
1 1 Slide © 2005 Thomson/South-Western Simplex-Based Sensitivity Analysis and Duality n Sensitivity Analysis with the Simplex Tableau n Duality.
Business Mathematics MTH-367 Lecture 13. Chapter 10 Linear Programming An Introduction Continued…
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
LINEAR PROGRAMMING.
OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
GAMS: General Algebraic Modeling System Linear and Nonlinear Programming The full system documentation is provided electronically with the software.
SUPPLEMENTAL READING: CHAPTER 5.3 AND 5.4 Overheads 4 Different types of LP Formulations Part 1: The Transportation Model The Feed Mix Model 1.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Linear Programming Department of Business Administration FALL by Asst. Prof. Sami Fethi.
LINEAR PROGRAMMING MEANING:
LINEAR PROGRAMMING. Linear Programming Linear programming is a mathematical technique. This technique is applied for choosing the best alternative from.
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.
Chapter 3: Sensitivity Analysis and the Dual Problem & Shadow Prices
Linear Programming for Solving the DSS Problems
Tools for planning in agriculture – Linear programming approach
Chapter 12: Kay and Edwards
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Duality Theory and Sensitivity Analysis
Basic Linear Programming Concepts
Linear Programming SIMPLEX METHOD.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Introduction to Linear Programming
Linear Programming.
Presentation transcript:

Chapter 5 LP formulations

LP formulations of four basic problem Resource allocation problem Transportation problem Feed mix problem Joint products problem

We will examine: Basic Structure Formulation Example application Answer interpretation

Resource Allocation Problem The classical LP problem involves the allocation of an endowment of scarce resources among a number of competing products so as to maximize profits. – Objective: Maximize Profits – Competing products index is j; scarce resources index is i – Major decision variable Xj is the number of units of the jth product made – Non negative production (Xj ≥ 0) – Resource usage across all production possibilities is less than or equal to the resource endowment

Algebraic Set UP cj: profit per unit of the jth product aij: number of units of the ith resource used when producing one unit of the jth product bi: the endowment of the ith resource

Resource Allocation Problem: E-Z Chair Objective: find the number of two types of chairs to produce that will maximize profits. Chair Types: Functional and Fancy Resources: Large & Small Lathe, Chair Bottom Carver, and Labor Profit Contributions: (revenue – material cost - cost increase due to lathe shifts)

Information for Problem OBJFunctional$82 - $15 = $67 Fancy$105 - $25 = $80 Resource Requirements When Using The Normal Pattern Hours of Use per Chair Type FunctionalFancy Small Lathe Large Lathe Chair Bottom Carver Labor1.00.8

Resource Requirements and Increased Costs for Alternative Methods of Production in Hours of Use per Chair and Dollars Maximum Use of Small LatheMaximum Use of Large Lathe FunctionalFancyFunctionalFancy Small Lathe Large Lathe Chair Bottom Carver Labor Cost Increase$1.00$1.50$0.70$1.60 Alternative Production Method

Resource Limits Small lathe: 140 hours Large lathe: 90 hours Chair bottom carver: 120 hours Labor: 125 hours

Production alternatives and profits Functional, regular method (X1) : $67 (c1) Functional, max small lathe (X2): $66 (c2) Functional, max lg lathe (X3): $66.30 (c3) Fancy, regular method (X4): $80 (c4) Fancy, max small lathe (X5): $78.50 (c5) Fancy, max lg lathe (X6): $78.40 (c6)

Empirical Set-UP Max67X 1 +66X X 3 +80X X X 6 s.t.0.8X X X X X X 6 ≤ X X X X X X 6 ≤ X X X 3 +X4X4 +X5X5 +X6X6 ≤ 120 X1X X X X X X 6 ≤ 125 X1X1,X2X2,X3X3,X4X4,X5X5,X6X6 ≤ 0

Solution from Excel Solver McCarl provides GAMS code and solution from GAMS (same as this solution).

Interpretation Produce 62 functional chairs using the traditional method, 73 fancy chairs using the traditional method, and 5 fancy chairs using the maximum large lathe method to earn profits of $10,417 Producing functional chairs by the max small lathe method reduces profits by $11.30 per chair made, producing functional chairs by max large lathe reduces profits by $4.08/chair, and producing fancy chairs by max small lathe method reduces profits by $8.40/chair. An hour more small lathe time would increase profits by $33.33; an hour more large lathe time would increase profits by $25.79; an hour more labor would increase profits by

Dual of the problem (general)

Empirical Dual for E-Z Chair Min 140U 1 +90U U U 4 s.t. 0.8U U U 3 +U4U4 ≥67 1.3U U U U 4 ≥66 0.2U U U U 4 ≥ U U 2 +U3U3 +0.8U 4 ≥80 1.7U U 2 +U3U U 4 ≥ U U 2 +U3U U 4 ≥78.4 U1U1, U2U2, U3U3, U4U4 ≥ 0

Dual Solution = slack on constraint three in primal Shadow prices in primal answers to primal

Transportation Problem This problem involves the shipment of a homogeneous product from a number of supply locations to a number of demand locations. – Objective: Minimize cost – Variables: Quantity of goods shipped from each supply point to each demand point – Restrictions: Non negative shipments – Supply availability at supply point – Demand need at a demand point

Diagram of Problem Supply LocationsDemand Locations 12...m12...m AB...nAB...n

Formulate the problem Supply locations as supplyi Demand locations as demandj Decision variable = Movesupplyi,demandj – Decision to move a quantity of supply from location i to demand location j costsupplyi,demandj = the cost of moving one unit of product from location i to demand location j

Constraints Supply availability: limiting shipments from each supply point so that the sum of outgoing shipments from point supplyi to all possible destinations (demandj) doesn't exceed supplyi Minimum demand: requiring shipments into the demandjth demand point be greater than or equal to demand at that point. Incoming shipments include shipments from all possible supply points to the demandjth demand point. Nonnegative shipments:

Algebra

Transportation Problem Example: Shipping Goods Three plants:New York, Chicago, Los Angeles Four demand markets:Miami, Houston, Minneapolis, Portland Minimize the cost of shipping product from the three plants to the four demand markets.

Quantities

Distances

Transportation costs = 5 +5*Distance

Minimization problem. Note the first three inequalities.

Interpretation shadow price represents marginal values of the resources i.e.marginal value of additional units in Chicago = $15 reduced cost represents marginal costs of forcing non-basic variable into the solution i.e. shipments from New York to Portland increase costs by $75. twenty units are left in New York

Dual: Note the signs on U1, U2, U3 (the constraints were LE in primal) The dual is a maximization

Feeding Problem Objective: Minimize total diet costs Variables: how much of each feedstuff is used in the diet Restrictions: Non negative feedstuff Minimum requirements by nutrient Maximum requirements by nutrient Total volume of the diet

Indices needed Ingredients: How many possible ingredients can be used in the ration? (corn, soybeans, molasses, hay, etc.) Nutrients: What are the essential nutrients to consider? {protein, calories, vitamin A, etc.}

Constraints restricting the sum of the nutrients generated from each feedstuff to meet the dietary minimum restricting the sum of the nutrients generated from each feedstuff not to exceed the dietary maximum the ingredients in the diet equal the required weight of the diet. nonnegative feedstuff

Algebraic Representation

Example: Cattle Feeding Seven nutritional characteristics: energy, digestible protein, fat, vitamin A, calcium, salt, phosphorus Seven feed ingredient availability: corn, hay, soybeans, urea, dical phosphate, salt, vitamin A New product:potato slurry

Information for feeding problem New ingredient: Potato Slurry, initially set cost to $.01/kg

More information for problem

Nutrient Content per kilogram

Minimization problem. Note the LE constraints, and the equality.

u1-u5 associated with LE constraints in the min. U12 is associated with an equality constraint. So u12 is unrestricted in sign, which here we work as two parts, u12p and u12n. The dual problem

Tracing out the derived demand for slurry Start at $0.01 for slurry (which we've solved) and production is 96% slurry. Sensitivity report – tells you the price at which the answers would change. Look at the "allowable increase" for this price. It is So at slurry prices greater than , the optimal solution will change. Plug in.1163, and the slurry falls to 87% of the ration. In the new sensitivity report, the next allowable increase is At a price of.1222, slurry use falls to 64%. At prices close to.13, use of slurry falls to 0.

Joint Products Problem One production process yields multiple products, such as lambs and wool, or wheat grain and straw Maximize profits when each production possibility yields multiple products, uses some inputs with a fixed market price, and uses some resources that are available in fixed quantity.

Variables in model the amount of each product produced for sale the production process chosen to produce the products the amount of market inputs to purchase

Technical consideration How much of each output will a given production process generate? How much of each market input must be bought for that production process? How much of each fixed resource is used in the production process?

Transfer row "Transfer row" is the name given to a certain type of row in an LP problem. These rows take the production generated by a process and distribute it to sales activities. The RHS of a transfer row is generally zero.

Example: Wheat-Straw Problem 7 possible processes to produce wheat and straw with different yields. Wheat sells for $4 per bushel, straw for $.50 per small (square) bale. Fertilizer and seed can be purchased and are needed in different amounts for the 7 practices. Fertilizer costs $2/lb and seed costs $.20/lb. Land is limited to 500 acres.

Number of decision variables 2 sales variables (wheat and straw) 7 production variables (the 7 possible processes) 2 purchase variables (seed and fertilizer)

Number of constraints Transfer row for wheat sales (from processes to sales activity) Transfer row for straw sales (from processes to sales activity) Transfer row for fertilizer purchases (distribute purchased fertilizer to production processes) Transfer row for seed purchases (distribute purchased seed to processes) Limit on land

Other information: Yields from Processes

Joint Product Problem: Wheat-Straw Note the transfer rows have zero on RHS. It is important to get the inequality in the right direction. Here Sales must be LE production. Use of input must be LE purchases.

Excel Solver Solution

Dual