1 Chapter 10 The primal linear program solution answers the tactical question when it tells us how much to produce. But the dual can have far greater impact because it addresses strategical issues regarding the structure of the business itself. Sensitivity Analysis and Duality in Linear Programming
2 Shadow Prices and Opportunity Costs The Redwood furniture problem involves X T and X C denote the number of tables and chairs to be made. Maximize P = 6X T + 8X C Subject to: 30X T + 20X C < 300 (wood) 5X T + 10X C < 110 (labor) where X T, X C > 0 What is the effect of one additional unit of the respective resources? It will allow more product to be made, increasing profit. That is the resource’s marginal value or shadow price. The marginal value of a resource can be found by changing the available level and solving the revised problem. There is a faster way to find the marginal value. Knowing levels for marginal values enhances planning capabilities. They can be used to “price” out a new product. Consider the wood used in making furniture. Raising the available level from 300 to 301 board feet will change the feasible solution region, as shown on the following slide. It will increase profit by $.10.
3 Shadow Prices and Opportunity Costs
4 The Dual Linear Program The original problem is here referred to as the primal linear program. The dual linear program expresses the problem with a resource orientation. Let U W and U L denote the marginal values of wood and labor. The objective is to Minimize C = 300U W + 110U L Subject to: 30U W + 5U L > 6(table) 20U W + 10U L > 8(chair) where U W, U L > 0 The total value of available resources is minimized. The constraint left-hand sides express the opportunity cost of making one unit of the respective product. It is an opportunity cost because making the product may divert resources from their optimal utilization, and theUs measure their value. Each product is required to have an opportunity cost > its unit profit. The dual has a column (variable) for each primal row (constraint). Primal right-hand sides are dual objective coefficients and vice versa.
5 Redwood Furniture Problem: Graphical Solution of Dual
6 Meaning of Dual Solution The values U W =.10 and U L =.60 tell us that additional wood (acquired at present costs) would raise profit by $.10. Similarly, an additional hour of labor raises P by $.60. Redwood would benefit by more resources. They would even pay a small premium to get it (not more than the respective U.) The Us are shadow prices for resource in pricing out a new product, such a desk. Making a desk would divert resources from tables and chairs, and fewer would be made.
7 Evaluating New Products Using the Dual Redwood evaluates new products: Bench having profit of $7, needing 25 board feet of wood and 7 hours of labor. Planter box having profit of $2, needing 10 board feet of wood and 2 hours of labor. The opportunity costs for one of each are: Bench: $.10(25) +.60(7) = $6.70 (< $7). Make it, because doing so increases P by $.30/unit. Planter box: $.10(10) +.60(2) = $2.40 (> $2). Do not make. Resources are too valuable.
8 Sensitivity Limits for Right-Hand Sides wood labor QuickQuant provides the following report that lists for each constraint the optimal level of the applicable dual variable. Included are the sensitivity limits for the right-hand sides. The dual values will be the same for any available quantity of wood and labor falling within those limits.
9 Sensitivity Limits for Objective Coefficients QuickQuant also gives sensitivity limits for objective coefficients (unit profits, costs). The present primal optimal quantities will be exactly the same for any level of profit falling with those limits. For example, if the table and chair profits are both $10, only P changes, to $10(4) + 10(9) = $130.
10 Post-Optimality Analysis Perhaps the most important role of the dual is helping the decision maker improve the business itself. That can be done with a post-optimality analysis in which a series of changes are made to the problem structure ( and hence business environment). Find economic bottlenecks, get more resources: Authorize overtime or train new employees. Install faster machines or expand plant. Target marketing, expand profitable products. Adjust pricing. Solve New LPs after each possible change. New Us will suggest further possible improvements.
11 Solver’s Sensitivity Report Solver’s Sensitivity Report yields the values of the: dual variables allowable increases and decreases for the right-hand sides (upper and lower limits). allowable increases and decreases for the coefficients of the objective function (upper and lower limits).
12 Solver’s Sensitivity Report To get Solver’s Sensitivity Report, highlight Sensitivity Report in the Report box of the Solver Results dialog box before clicking the OK button.
13 Sensitivity Report for Swatville Sluggers (Figure 10-3 ) 1. Shadow prices. 2. Dual slack or surplus variables (in the Reduced Cost column). 3. Allowable increases and decreases for right-hand sides. NB: Multiple optimal solutions exist to the dual. This dual solution found by Excel is different than the dual solution given in the primal. 4. Allowable increases and decreases for coefficients of the objective function.
14 Sensitivity Report for Redwood Furniture (Figure 10-6) 1. Shadow prices. 2. Dual slack or surplus variables (in the Reduced Cost column). 3. Allowable increases and decreases for right- hand sides. These give lower and upper limits. 4. Allowable increases and decreases for the coefficients of the objective function. These give the lower and upper limits.