Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 Duality
Every linear programming problem (LPP) has a corresponding second LPP commonly
referred to as the dual. The LPP formulated in the previous chapters are considered as the initial or
primal problems because they were formulated directly from the descriptions of the problem.
Duality gives theoretical explanations to the complex procedures of special cases LPP solutions.
The uses and purposes of duality will be explained through the sample problems.
_______________________________ __________________________________
_______________________________ __________________________________
_______________________________ __________________________________
_______________________________ __________________________________
2. Min 2x1 + 2x2 x3
Subject to x1 + x2 2x3 6
2x1 x2 + x3 5
2x1 + x2 = 10
x 1, x2, x3 0
Standard Form: Dual:
_____________________________________ _________________________________________
Subject to Subject to
_______________________________ __________________________________
_______________________________ __________________________________
Chapter 4
_______________________________ __________________________________
_______________________________ __________________________________
_______________________________ __________________________________
Cj 300 280 0 M 0 M
Ci Solution Quantity y1 y2 S1 A1 S2 A2
300 y1 65/2 1 0 3/4 3/4 1/8 1/2
280 y2 105/4 0 1 5/8 5/8 3/4 3/4
Zj 17100 150 160 50 50 60 60
Cj Zj 0 0 50 M 50 60 M 60
Note the correspondence between Tables 4.1 and 4.2 with respect to the properties
listed above.
2. Minimization Problem
The nutritionist of a school has asked a dietitian to develop a snack that grade school
students can eat. The dietitian intends to mix two separate products together to make the snack; she
has obtained the following information:
Nutrient Product A Product B Amount Required(grams)
Protein 2 1 Maximum of 6
Carbohydrates 5 4 Minimum of 20
Duality 93
How many grams should each product contain to minimize the cost if Product A costs P2 and
product B costs P10?
Chapter 4
Ci Solution Quantity y1 y2 S1 S2
20 y2 6 0 1 1/3 2/3
6 y1 14 1 0 4/3 5/3
Zj 36 6 20 4/3 10/3
Cj Zj 0 0 4/3 10/3
The shadow price or dual price with a primal constraint tells how much the
optimal objective function value can be improved as the value of the right-hand
value (RHV) of its associated constraint is increased. It is the price per unit of the
resource of linear programming.
The shadow price is directly derived form the optimal dual variable values. It is equal to the
optimal dual variable value, which can be found in the Zj row corresponding to the artificial variable
of the constraint (or the slack/surplus variable if artificial variable is not present) in the final tableau
of the primal problem.
The shadow prices of the Mavic linear problem (maximization) are 65/2 and 105/4.
For the Dietitian linear problem (minimization), the shadow prices are 14 and 6.