0% found this document useful (0 votes)
4 views

OR Module 2 text

Chapter 5 focuses on duality in linear programming, explaining the formulation of dual linear programming problems and their significance, including the concept of shadow prices. It outlines the relationship between primal and dual problems, providing rules for constructing duals and discussing the economic interpretation of dual variables and constraints. The chapter concludes with examples illustrating the dual formulation process.

Uploaded by

reshmasnath1505
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

OR Module 2 text

Chapter 5 focuses on duality in linear programming, explaining the formulation of dual linear programming problems and their significance, including the concept of shadow prices. It outlines the relationship between primal and dual problems, providing rules for constructing duals and discussing the economic interpretation of dual variables and constraints. The chapter concludes with examples illustrating the dual formulation process.

Uploaded by

reshmasnath1505
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

C h a p t e r 5 Module 2:

Duality in Linear Programming


Introduction, Formulation of Dual LPP, standard
results on duality, Advantages of
Duality, Theorems of duality with proof (theorems
5.1, 5.2, 5.3 only)
(Chapter 5: Sections: 5.1 to 5.3, 5.5)

Duality in Linear Programming


“A boat can’t have two captains.”
– Akira Mori

PREVIEW
The chapter deals with how to find the marginal value (also known as shadow price) of each resource.
This value reflects an additional cost to be paid to obtain one additional unit of the resource to get the
optimal value of objective function under resource constraints.

LEARNING OBJECTIVES

After studying this chapter, you should be able to


z appreciate the significance of the duality concept.
z formulate the dual LP problem and understand the relationship between primal and dual LP problems.
z understand the concept of shadow prices.

CHAPTER OUTLINE
5.1 Introduction • Conceptual Questions
5.2 Formulation of Dual Linear Programming • Self Practice Problems B
Problem • Hints and Answers
• Self Practice Problems A ‰ Chapter Summary
• Hints and Answers ‰ Chapter Concepts Quiz
5.3 Standard Results on Duality ‰ Case Study
5.4 Managerial Significance of Duality ‰ Appendix: Theorems of Duality
5.5 Advantages of Duality
146 Operations Research: Theory and Applications

5.1 INTRODUCTION
The term ‘dual’, in general, implies two or double. The concept of duality is very useful in mathematics,
physics, statistics, engineering and managerial decision-making. For example, in a two-person game theory,
one competitor’s problem is the dual of the opponent’s problem.
In linear programming, duality implies that each linear programming problem can be analyzed in two
different ways but would have equivalent solutions. Any LP problem (either maximization and minimization)
can be stated in another equivalent form based on the same data. The new LP problem is called dual linear
programming problem or in short dual. In general, it is immaterial which of the two problems is called primal
or dual, since the dual of the dual is primal.
Dual LP problem
For example, consider the problem of production planning. The production manager attempts to
provides useful determine quantities for each product to be produced with an objective to optimize the use of available
economic resources so that profit is maximum. But through a dual LP problem approach, he may develop a production
information about plan that optimizes resource utilization so that marginal opportunity cost of each unit of a resource is equal
worth of resources
to be used.
to its marginal return (also called shadow price). The shadow price indicates an additional price to be
paid to obtain one additional unit of the resources in order to maximize profit under the resource constraints.
If a resource is not completely used, i.e. there is slack, then its marginal return is zero.
The shadow price is also defined as the rate of change in the optimal objective function value with
respect to the unit change in the availability of a resource. To be more precise for any constraint, we have

Change in optimal objective function value


Shadow price =
Unit change in the availability of resource
The interpretation of rate of change (increase or decrease) in the value of objective function depends on
whether LP problem is of maximization or minimization type. The shadow price for a less than or equal to (≤) type
constraint will always be positive. This is because increasing the right-hand side resource value cannot
decrease the value of objective function. Similarly, the shadow price for a greater than or equal to (≥) type
constraint will always be negative because increasing the right-hand side resonance value cannot increase the
value of the objective function.
There is no need to solve both LP problems separately. Solving one LP problem is equivalent to solving
the other simultaneously. Thus, if the optimal solution to one is known, the optimal solution of the other
can also be read from the cj – zj row. In some cases, considerable computing time can be reduced by solving
the dual LP problem.

5.2 FORMULATION OF DUAL LINEAR PROGRAMMING PROBLEM

There are two important forms of primal and dual LP problems, namely the symmetrical (canonical) form
and the standard form.

Shadow price 5.2.1 Symmetrical Form


represents increase
in the objective
function value due
Suppose the primal LP problem is given in the form
to one-unit increase
in the right hand
Maximize Zx = c1 x1 + c2 x2 + . . . + cn xn
side (resource) of subject to the constraints
any constraint.
a11 x1 + a12 x2 + . . . + a1n xn ≤ b1
a21 x1 + a22 x2 + . . . + a2n xn ≤ b2
.. ..
. .
am1 x1 + am2 x2 + . . . + amn xn ≤ bm
and x1, x2 . . ., xn ≥0
Duality in Linear Programming 147

Then the corresponding dual LP problem is written as:


Minimize Zy = b1 y1 + b2 y2 + . . . + bm ym
subject to the constraints
a11 y1 + a21 y2 + . . . + am1 ym ≤ c1
a12 y1 + a22 y2 + . . . + am2 ym ≤ c2
. .
. .
. .
a1n y1 + a2n y2 + . . . + amn ym ≤ cn
and y1, y2, . . ., ym ≥ 0

In general, the primal-dual relationship between a pair of LP problems can be expressed as follows:
Dual variables
represent the
Primal Dual potential value of
n m resources
Max Z x = ∑ cj xj Min Z y = ∑ bi y i
j =1 i =1

subject to the constraints subject to the constraints

n m
∑ aij xj ≤ bi ; i = 1, 2 , . . ., m
j =1
∑ aji yi ≥ cj ; j = 1, 2, . . ., n
i =1
aij = aji
and xj ≥ 0; j = 1, 2, . . ., n and yi ≥ 0; i = 1, 2, . . ., m

A summary of the general relationships between primal and dual LP problems is given in Table 5.1.

If Primal Then Dual

(i) Objective is to maximize (i) Objective is to minimize


(ii) jth primal variable, xj (ii) jth dual constraint
(iii) ith primal constraint (iii) ith dual variable, yi
(iv) Primal variable xj unrestricted in sign (iv) Dual constraint j is = type Table 5.1
(v) Primal constraint i is = type (v) Dual variable yi is unrestricted in sign Primal-Dual
(vi) Primal constraints ≤ type (vi) Dual constraints ≥ type Relationship

5.2.2 Economic Interpretation of Dual Variables


In the maximization primal LP model, we may define each parameter as follows:
Z = return cj = profit (or return) per unit of variable (activity) xj
xj = number units of variable j aij = units of resource, i consumed (required)
bi = maximum units of resource, i available per unit of variable j
The new variables introduced in the dual problem are Zy and yi (dual variables). When both the primal
and the dual solutions are optimal, the value of objective function satisfies the strict equality, i.e. Zx = Zy.
The interpretation associated with the dual variables yi (i = 1, 2, . . ., m) is discussed below. Rewrite the
primal LP problem as follows:

Primal LP Problem
n n
Maximize (return) Zx = ∑ cj xj = Σ (Profit per unit of variable xj) (Units of variable xj)
j =1 j =1
subject to the constraints
n
∑ a ij xj ≤ bi
j =1
n
or ∑ (Units of resource i, consumed per unit of variable, xj) (Units of variable xj)
j =1
≤ Units of resource, i available
and xj ≥ 0, for all j i = 1, 2, ..., m
148 Operations Research: Theory and Applications

Dual LP Problem
m m
Minimize (cost) Zy = ∑ bi y i = Σ (Units of resource, i) (Cost per unit of resource, i )
i =1 i =1

subject to the constraints


m
∑ aji y i ≥ cj
i =1
m
or Σ (Units of a resource, i consumed per unit of variable yi ) (Cost per unit of resource, i)
i =1 ≥ Profit per unit for each variable, xj
and yi ≥ 0, for all i ..., n
From these expressions of parameters of both primal and dual problems, it is clear that for the unit of
measurement to be consistent, the dual variable (yi) must be expressed in terms of return (or worth) per
unit of resource i. This is called dual price (simplex multiplier or shadow price) of resource i. In other
words, optimal value of a dual variable associated with a particular primal constraint indicates the marginal
change (increase, if positive or decrease, if negative) in the optimal value of the primal objective function.
For example, if y2 = 5, then this indicates that for every additional unit (up to a certain limit) of resource 2
(resource associated with constraint 2 in the primal), the objective function value will increase by 5 units.
The value y2 = 5 is also called the marginal (or shadow or implicit) price of resource 2.
Similarly, for feasible solutions of both primal and dual LP problems, objective function value satisfy
the inequality Zx ≤ Zy. This inequality is interpreted as: Profit ≤ Worth of resources. Thus, so long as the
total profit (return) from all activities is less than the worth of the resources, the feasible solution of both
primal and dual is not optimal. The optimality (maximum profit or return) is reached only when the resources
have been completely utilized. This is only possible if the worth of the resources (i.e. input) is equal to
profit (i.e. output).

5.2.3 Economic Interpretation of Dual Constraints


As stated earlier, the dual constraints are expressed as:
m
∑ a ji yi − c j ≥ 0
i =1
Since coefficients aji represents the amount of resource bi consumed by per unit of activity xj, and the dual
variable yi represents shadow price per unit of resource bi, the quantity Σ aji yi (= zj) should be total shadow
price of all resources required to produce one unit of activity xj.
For maximization LP problem, if cj – zj > 0 value corresponds to any non-basic variable, then the value of
objective function can be increased. This implies that the value of variable, xj can be increased from zero to a
positive level provided its unit profit (cj) is more than its shadow price, i.e.
m
cj ≥ ∑ a ji yi
i =1
Profit per unit of activity xj ≥ Shadow price of resources used per unit of activity, xj.

5.2.4 Rules for Constructing the Dual from Primal


The rules for constructing the dual from the primal and vice-versa using the symmetrical form of LP problem are:
1. A dual variable is defined corresponds to each constraint in the primal LP problem and vice versa. Thus,
for a primal LP problem with m constraints and n variables, there exists a dual LP problem with m
variables and n constraints and vice-versa.
2. The right-hand side constants b1, b2, . . ., bm of the primal LP problem becomes the coefficients of the
dual variables y1, y2, . . ., ym in the dual objective function Zy. Also the coefficients c1, c2, . . ., cn of
the primal variables x1, x2, . . ., xn in the objective function become the right-hand side constants in
the dual LP problem.
Duality in Linear Programming 149

3. For a maximization primal LP problem with all ≤ (less than or equal to) type constraints, there exists
a minimization dual LP problem with all ≥ (greater than or equal to) type constraints and vice versa.
Thus, the inequality sign is reversed in all the constraints except the non-negativity conditions.
4. The matrix of the coefficients of variables in the constraints of dual is the transpose of the matrix of
coefficients of variables in the constraints of primal and vice versa.
5. If the objective function of a primal LP problem is to be maximized, the objective function of the dual
is to be minimized and vice versa.
6. If the ith primal constraint is = (equality) type, then the ith dual variables is unrestricted in sign and
vice versa.
The primal-dual relationships may also be memorized by using the following table:

Dual Variables Primal Variables Maximize Zx


x1 x2 . . . xj . . . xn
y1 a 11 a 12 . . . a 1j . . . a 1n ≤ b1
y2 a 21 a 22 . . . a 2j . . . a 2n ≤ b2
. . .
.. .. ..
ym a m1 a m2 . . . a mj . . . a mn ≤ bm

Minimize Zy ≥ c1 ≥ c2 . . . ≥ cj . . . ≥ cn ↑ Dual objective function coefficients

↑ jth dual constraint


The primal constraints should be read across the rows, and the dual constraints should be read across the
columns.
Example 5.1 Write the dual to the following LP problem.
Maximize Z = x1 – x2 + 3x3
subject to the constraints
(i) x1 + x2 + x3 ≤ 10, (ii) 2x1 – x2 – x3 ≤ 2, (iii) 2x1 – 2x2 – 3x3 ≤ 6
and x1, x2, x3 ≥ 0

Solution In the given LP problem there are m = 3 constraints and n = 3 variables. Thus, there must be
m = 3 dual variables and n = 3 constraints. Further, the coefficients of the primal variables, c1 = 1,
c2 = –1, c3 = 3 become right-hand side constants of the dual. The right-hand side constants b1 = 10,
b2 = 2, b3 = 6 become the coefficients in the dual objective function. Finally, the dual must have a minimizing
objective function with all ≥ type constraints. If y1, y2 and y3 are dual variables corresponding to three primal
constraints in the given order, the resultant dual is
Minimize Zy = 10y1 + 2y2 + 6y3
subject to the constraints
(i) y1 + 2y2 + 2y3 ≥ 1, (iii) y1 – y2 – 2y3 ≥ –1, (iii) y1 – y2 – 3y3 ≥ 3
and y1, y2, y3 ≥ 0

Example 5.2 Write the dual of the following LP problem.


Minimize Zx = 3x1 – 2x2 + 4x3
subject to the constraints
(i) 3x1 + 5x2 + 4x3 ≥ 7, (ii) 6x1 + x2 + 3x3 ≥ 4, (iii) 7x1 – 2x2 – x3 ≤ 10
(iv) x1 – 2x2 + 5x3 ≥ 3, (v) 4x1 + 7x2 – 2x3 ≥ 2
and x1, x2, x3 ≥ 0

Solution Since the objective function of the given LP problem is of minimization, the direction of each
inequality has to be changed to ≥ type by multiplying both sides by – 1. The standard primal LP problem
so obtained is:
150 Operations Research: Theory and Applications

Minimize Zx = 3x1 – 2x2 + 4x3


subject to the constraints
(i) 3x1 + 5x2 + 4x3 ≥ 7, (ii) 6x1 + x2 + 3x3 ≥ 4, (iii) –7x1 + 2x2 + x3 ≥ – 10
(iv) x1 – 2x2 + 5x3 ≥ 3, (v) 4x1 + 7x2 – 2x3 ≥ 2
and x1, x2, x3 ≥ 0
If y1, y2, y3, y4 and y5 are dual variables corresponding to the five primal constraints in the given order,
the dual of this primal LP problem is stated as:
Maximize Zy = 7y1 + 4y2 – 10y3 + 3y4 + 2y5
subject to the constraints
(i) 3y1 + 6y2 – 7y3 + y4 + 4y5 ≤ 3, (ii) 5y1 + y2 + 2y3 – 2y4 + 7y5 ≤ – 2
(iii) 4y1 + 3y2 + y3 + 5y4 – 2y5 ≤ 4
and y1, y2, y3, y4, y5 ≥ 0

Example 5.3 Obtain the dual LP problem of the following primal LP problem:
Minimize Z = x1 + 2x2
subject to the constraints
(i) 2x1 + 4x2 ≤ 160, (ii) x1 – x2 = 30, (iii) x1 ≥ 10
and x1, x2 ≥ 0

Solution Since the objective function of the primal LP problem is of minimization, change all ≤ type
constraints to ≥ type constraints by multiplying the constraint on both sides by –1. Also write = type
constraint equivalent to two constraints of the type ≥ and ≤. Then the given primal LP problem can be
rewritten as:
Minimize Zx = x1 + 2x2
subject to the constraint
(i) – 2x1 – 4x2 ≥ –160, (ii) x1 – x2 ≥ 30
(iii) x1 – x2 ≤ 30 or – x1 + x2 ≥ – 30, (iv) x1 ≥ 10
and x1, x2 ≥ 0
Let y1, y2, y3 and y4 be the dual variables corresponding to the four constraints in the given order.
The dual of the given primal LP problem can then be formulated as follows:
Maximize Zy = – 160y1 + 30y2 – 30y3 + 10y4
subject to the constraints
(i) – 2y1 + y2 – y3 + y4 ≤ 1, (ii) – 4y1 – y2 + y3 ≤ 2
and y1, y2, y3, y4 ≥ 0

Let y = y2 – y3 (y2, y3 ≥ 0). The above dual problem then reduces to the form
Maximize Zy = – 160y1 + 30y + 10y4
subject to the constraints
(i) – 2y1 + y + y4 ≤ 1, (ii) – 4y1 – y ≤ 2
and y1, y4 ≥ 0; y unrestricted in sign

Remark Since second constraint in the primal LP problem is equality, therefore as per rule 6 corresponding
second dual variable y (= y2 – y3) should be unrestricted in sign.
Example 5.4 Obtain the dual LP problem of the following primal LP problem:
Minimize Zx = x1 – 3x2 – 2x3
Duality in Linear Programming 151

subject to the constraints


(i) 3x1 – x2 + 2x3 ≤ 7, (ii) 2x1 – 4x2 ≥ 12, (iii) – 4x1 + 3x2 + 8x3 = 10
and x1, x2≥ 0; x3 unrestricted in sign.

Solution Let y1, y2 and y3 be the dual variables corresponding to three primal constraints in the given
order. As the given LP problem is of minimization, all constraints can be converted to ≥ type by multiplying
both sides by –1, i.e., –3x1 + x2 – 2x3 ≥ –7. Since the third constraint of the primal is an equation, the third
dual variable y3 will be unrestricted in sign. The dual of the given LP primal can be formulated as follows:

Maximize Zy = –7y1 + 12y2 + 10y3


subject to the constraints
(i) – 3y1 + 2y2 – 4y3 ≤ 1, (ii) y1 – 4y2 + 3y3 ≤ – 3, (iii) – 2y1 + 8y3 ≤ – 2
and y1, y2 ≥ 0; y3 unrestricted in sign.

Example 5.5 Obtain the dual of the following primal LP problem


Maximize Zx = x1 – 2x2 + 3x3
subject to the constraints
(i) – 2x1 + x2 + 3x3 = 2, (ii) 2x1 + 3x2 + 4x3 = 1
and x1, x2, x3 ≥ 0

Solution Since both the primal constraints are of the equality type, the corresponding dual variables y1
and y2, will be unrestricted in sign. Following the rules of duality formulation, the dual of the given primal
LP problem is
Minimize Zy = 2y1 + y2
subject to the constraints
(i) – 2y1 + 2y2 ≥ 1, (ii) y1 + 3y2 ≥ – 2, (iii) 3y1 + 4y2 ≥ 3
and y1, y2 unrestricted in sign.

Example 5.6 Write the dual of the following primal LP problem


Maximize Z = 3x1 + x2 + 2x3 – x4
subject to the constraints
(i) 2x1 – x2 + 3x3 + x4 = 1, (ii) x1 + x2 – x3 + x4 = 3
and x1, x2 ≥ 0 and x3, x4 unrestricted in sign.

Solution Here we may apply the following rules of forming a dual of given primal LP problem.
(i) The x3 and x4 variables in the primal are unrestricted in sign, third and fourth constraints in the
dual shall be equalities.
(ii) The given primal LP problem is of maximization; the first two constraints in the dual LP problem
will therefore be ≥ type constraints.
(iii) Since both the constraints in the primal are equalities, the corresponding dual variables y1 and y2
will be unrestricted in sign.
If y1 and y2 are dual variables corresponding to the two primal constraints in the given order, the dual
of the given primal can be written as:
Minimize Zy = y1 + 3y2
subject to the constraints
(i) 2y1 + y2 ≥ 3, (ii) – y1 + y2 ≥ 1, (iii) 3y1 – y2 = 2
(iv) y1 + y2 = – 1
and y1, y2 unrestricted in sign.
152 Operations Research: Theory and Applications

SELF PRACTICE PROBLEMS A

Write the dual of the following primal LP problems 6. Min Zx = x1 + x2 + x3


1. Max Zx = 2x1 + 5x2 + 6x3 subject to (i) x1 – 3x2 + 4x3 = 5, (ii) x1 – 2x2 ≤ 3
subject to (i) 5x1 + 6x2 – x3 ≤ 3 (ii) 2x2 – 3x3 ≥ 4
(ii) – 2x1 + 3x2 + 4x3 ≤ 4 . and x1, x2 ≥ 0, x3 is unrestricted.
(iii) x1 – 5x2 + 3x3 ≤ 1 [Meerut, MSc (Maths), 2005]
(iv) – 3x1 – 3x2 + 7x3 ≤ 6 7. Min Zx = 8x1 + 3x2
and x1, x2, x3 ≥ 0 subject to (i) x1 – 6x2 ≥ 2, (ii) 5x1 + 7x2 = – 4
[Sambalpur MSc (Maths), 1996] and x1, x2 ≥ 0.
2. Min Zx = 7x1 + 3x2 + 8x3 8. Max Zx = 8x1 + 8x2 + 8x3 + 12x4
subject to (i) 8x1 + 2x2 + x3 ≥ 3 subject to (i) 30x1 + 20x2 + 25x3 + 40x4 ≤ 800
(ii) 3x1 + 6x2 + 4x3 ≥ 4 (ii) 25x1 + 10x2 + 7x3 + 15x4 ≤ 250
(iii) 4x1 + x2 + 5x3 ≥ 1 (iii) 4x1 – x2 = 0
(iv) x1 + 5x2 + 2x3 ≥ 7 (iv) x3 ≥ 5
and x1, x2, x3 ≥ 0 and x1, x2, x3, x4 ≥ 0
3. Max Zx = 2x1 + 3x2 + x3 9. Min Zx = 18x1 + 10x2 + 11x3
subject to (i) 4x1 + 3x2 + x3 = 6, (ii) x1 + 2x2 + 5x3 = 4 subject to (i) 4x1 + 6x2 + 5x3 ≥ 480
and x1, x2, x3 ≥ 0 (ii) 12x1 + 10x2 + 10x3 ≥ 1,200
4. Max Zx = 3x1 + x2 + 3x3 – x4 (iii) 10x1 + 15x2 + 7x3 ≤ 1,500
subject to (i) 2x1 – x2 + 3x3 + x4 = 1 (iv) x3 ≥ 50
(ii) x1 + x2 – 3x3 + x4 = 3 (v) x1 – x2 ≤ 0
and x1, x2, x3, x4 ≥ 0 and x1, x2, x3 ≥ 0
5. Min Zx = 2x1 + 3x2 + 4x3 10. Min Zx = 2x1 – x2 + 3x3
subject to (i) 2x1 + 3x2 + 5x3 ≥ 2 subject to (i) x1 + 2x2 + x3 ≥ 12
(ii) 3x1 + 3x2 + 7x3 = 3 (ii) x2 – 2x3 ≥ –6
(iii) x1 + 4x2 + 6x3 ≤ 5 (iii) 6 ≤ x1 + 2x2 + 4x3 ≥ 24
and x1, x2, ≥ 0, x3 is unrestricted and x1, x2 ≥ 0, x3 unrestricted.

HINTS AND ANSWERS

1. Min Zy = 3y1 + 4y2 + y3 + 6y4 5. Max Zy = 2y1 + 3y2 – 5y3


subject to (i) 5y1 – 2y2 + y3 – 3y4 ≥ 2 subject to 2y1 + 3y2 – y3 ≤ 2
(ii) 6y1 + y2 – 5y3 – 3y4 ≥ 5 3y1 + 3y2 – 4y3 ≤ 3
(iii) – y1 + 4y2 + 3y3 + 7y4 ≥ 6
5y1 + 7y2 – 6y3 = 4
and y1, y2, y3, y4 ≥ 0
and y1, y3 ≥ 0 and y2 unrestricted.
2. Max Zy = 3y1 + 4y2 + y3 + 7y4
6. Max Zy = – 5y1 – 3y2 + 4y3
subject to (i) 8y1 + 3y2 + 4y3 + 5y4 ≤ 7
(ii) 2y1 + 6y2 + 5y3 + 5y4 ≤ 3 subject to (i) – y1 – y2 ≤ 1, (ii) –3y1 + 2y2 + 2y3 ≤ 1
(iii) y1 + 4y2 + 5y3 + 2y4 ≤ 8 4y1 – y3 ≤ 1
and y1, y2, y3, y4 ≥ 0 and y2, y3 ≥ 0 and y1 is unrestricted.
3. Min Zy = 6y1 + 4y2 7. Max Zy = 2y1 – 4y2
subject to (i) 4y1 + 2y2 ≥ 2, (ii) 3y1 + 2y2 ≥ 3 subject to (i) y1 + 5y2 ≤ 8, (ii) – 6y1 + 7y2 ≤ 3
(iii) y1 + 5y2 ≥ 1 and y1 ≥ 0 and y2 is unrestricted.
and y1, y2 unrestricted in sign.
8. Min Zy = 800y1 + 250y2 + y3 + 5y4
4. Min Zy = y1 + 3y2
subject to 30y1 + 25y2 + 4y3 ≥ 8
subject to (i) 2y1 + y2 ≥ 3
20y1 + 10y2 – y3 ≥ 8
(ii) – y1 + y2 ≥ 1
(iii) 3y1 – y2 ≥ 3 25y1 + 7y2 + y4 ≥ 8
(iv) y1 + y2 ≥ –1 40y1 + 15y2 ≥ 12
and y1, y2 unrestricted in sign. y1, y2 ≥ 0 and y3, y4 are unrestricted.
Duality in Linear Programming 153

5.3 STANDARD RESULTS ON DUALITY


See appendix for detail proof of the following standard results:
1. The dual of the dual LP problem is again the primal problem.
2. If either the primal or the dual problem has an unbounded objective function value, the other problem
has no feasible solution.
3. If either the primal or dual problem has a finite optimal solution, the other one also possesses the same,
and the optimal value of the objective functions of the two problems are equal, i.e. Max Zx = Min Zy.
This analytical result is known as the fundamental primal-dual relationship. These results are
summarized as follows.

Dual Problem (Max) Primal Problem (Min)

Feasible Infeasible
Feasible Max Zy = Min Zx Max Zy → + ∞
Infeasible Min Zx → – ∞ Unbounded or infeasible

4. Complementary slackness property of primal-dual relationship states that for a positive basic variable
in the primal, the corresponding dual variable will be equal to zero. Alternatively, for a non-basic
variable in the primal (which is zero), the corresponding dual variable will be basic and positive.

5.3.1 Principle of Complementary Slackness


The principle of complementary slackness establishes the relationship between the optimal value of the main
variables in one problem with their counterpart slack or surplus variables in other problem. Thus, this
principle can also be helpful in obtaining the primal LP problem solution when only the dual solution is
known. To illustrate this concept, let us consider the following example.
1. If at the optimal solution of a primal problem, a primal constraint has a positive value of a slack variable,
the corresponding resource is not completely used and must have zero opportunity cost (shadow
price). This means that having more of this resource will not improve the value of the objective
function. But if the value of slack variable is zero in that constraint, the entire resource is being used
and must have a positive opportunity cost, i.e. additional resource will improve the value of objective
function by allowing more production.
Since resources are represented by slack variables in the primal and by main variables in the dual,
therefore, the principle of complementary slackness states that for every resource, the following
condition must hold:
Primal slack variable × Dual main variable = 0
2. In cases where the resources are not completely used, the opportunity cost of such resources exceeds
the unit profit from that variable. But, if few units of the variable are obtained, then the opportunity
cost of resources used must equal the profit from each unit of the variable, so that the surplus cost
is zero. A primal variable in primal LP problem represents the quantity to be obtained, and the surplus
variables in dual represent surplus costs. In this case the principle of complementary slackness states
that for every unit of the variable, the following condition must hold.
Primal main variable × Dual surplus variable = 0

5.4 MANAGERIAL SIGNIFICANCE OF DUALITY


The study of dual LP problem provides information about the value of the resources. Thus, a thorough
economic analysis is required to decide whether additional units of any resource are needed. If yes, then
how much cost per unit is required to be paid for any resource.
The significance of the study of dual is summarized as follows:
(i) The right-hand side of the constraint in primal LP problem represents the amount of a resource
available and the associated dual variable value is interpretated as the maximum amount likely to
be paid for an additional unit of this resource.
Duality in Linear Programming 159

In schemes A and B, it is necessary to work strictly alternating sequences of specified shifts, as long as the
correct proportion of shifts is worked in the long run.
(a) Formulate a linear programming model to obtain the required number of operators at minimum cost.
(b) By solving the dual of the problem, determine how many operators must be employed under each of the
three schemes. Does this result in over-provision of operators on any one of the three shifts?

Solution The primal and dual LP problems of the given problem are:

Primal Problem Dual Problem


x1, x2 and x3 = number of operators employed under y1, y2 and y3 = shadow price (or worth) per unit
scheme A, B and C, respectively. of resources—operators in three
1 1 1  shifts, respectively.
Minimize Zx = 20 × x1 + 15  x1 + x2  Maximize Zy = 10y1 + 24x2 + 50y3
4 4 2 
1 1  subject to the constraints
+ 10  x1 + x2 + x3  (1/4)y1 + (1/4)y2 + (1/2)y3 ≤ 55/4
 2 2 
55 25 (1/2)y2 + (1/2)y3 ≤ 25/2
= x1 + x2 + 10 x3 y3 ≤ 10
4 2
subject to the constraints and y1, y2, y3 ≥ 0.
(1/4) x1 ≥ 10,
(1/4) x1 + (1/2) x2 ≥ 24
(1/2) x1 + (1/2) x2 + x3 ≥ 50
and x1, x2, x3 ≥ 0.

5.5 ADVANTAGES OF DUALITY


1. It is advantageous to solve the dual of a primal that has a less number of constraints because the
number of constraints usually equals the number of iterations required to solve the problem.
2. This avoids the necessity for adding surplus or artificial variables and solves the problem quickly (the
technique is known as the primal-dual method ). In economics, duality is useful in the formulation of
the input and output systems. It is also useful in physics, engineering, mathematics, etc.
3. The dual variables provide an important economic interpretation of the final solution of an LP problem.
4. It is quite useful when investigating changes in the parameters of an LP problem (the technique is
known as the sensitivity analysis).
5. Duality is used to solve an LP problem by the simplex method in which the initial solution is infeasible
(the technique is known as the dual simplex method ).

CONCEPTUAL QUESTIONS

1. Define the dual of a linear programming problem. State the 7. What is a shadow price? How does the concept relate to the
functional properties of duality. dual of an LP problem?
2. Explain the primal-dual relationship. 8. How can the concept of duality be useful in managerial decision-
3. Briefly discuss ‘duality’ in linear programming. making?
4. What is the principle of duality in linear programming? Explain its 9. State and prove the relationship between the feasible solutions
advantages. of an LP problem and its dual.
5. What is duality? What is the significance of dual variables in an 10. Prove that the necessary and sufficient condition for any LP
LP model? problem and its dual, in order to have optimal solutions is that
6. State the general rules for formulating a dual LP problem from both have feasible solutions.
its primal.

SELF PRACTICE PROBLEMS B

Write the dual of the following primal LP problems 2. Min Zx = 7x1 + 3x2 + 8x3
1. Max Zx = 2x1 + 5x2 + 6x3 subject to (i) 8x1 + 2x2 + 3x3 ≥ 3 (ii) 3x1 + 6x2 + 4x3 ≥ 4
subject to (i) 5x1 + 6x2 – x3 ≤ 3 (ii) – 2x1 + x2 + 4x3 ≤ 4 (iii) 4x1 + 3x2 + 5x3 ≥ 1 (iv) x1 + 5x2 + 2x3 ≥ 7
(iii) x1 – 5x2 + 3x3 ≤ 1 (iv) – 3x1 – 3x2 + 7x3 ≤ 6 and x1, x2, x3 ≥ 0.
and x1, x2, x3 ≥ 0.
160 Operations Research: Theory and Applications

3. Max Zx = 2x1 + 3x2 + x3 II. The first one provides 7, 5 and 2 units of the three vitamins per
subject to (i) 4x1 + 3x2 + x3 = 6 (ii) x1 + 2x2 + 5x3 = 4 gram, respectively and the second one provides 2, 4 and 8 units of
and x1, x2, x3 ≥ 0. the same three vitamins per gram of the foodstuff, respectively.
The first foodstuff costs Rs. 3 per gram and the second Rs. 2 per
4. Max Zx = 3x1 + x2 + 3x3 – x4
gram. The problem is how many grams of each foodstuff should
subject to (i) 2x1 – x2 + 3x3 + x4 = 1 (ii) x1 + x2 – x3 + x4 = 3 the housewife buy everyday to keep her food bill as low as possible?
and x1, x2, x3, x4 ≥ 0. (a) Formulate this problem as an LP model.
5. Min Zx = 2x1 + 3x2 + 4x3 (b) Write and then solve the dual problem.
subject to (i) 2x1 + 3x2 + 5x3 ≥ 2 (ii) 3x1 + 3x2 + 7x3 = 3 12. A large distributing company buys coffee seeds from four different
(iii) x1 + 4x2 + 6x3 ≤ 5 plantations. On these plantations, the seeds are available only in a
and x1, x2 ≥ 0, x3 is unrestricted. blend of two types A and B. The company wants to market a blend
consisting of 30 per cent of type A and 70 per cent of type B. The
6. Min Zx = x1 + x2 + x3 percentage of each type used by each plantation and the selling
subject to (i) x1 – 3x2 + 4x3 = 5 (ii) x1 – 2x2 ≤ 3 prices per 10 kg of the blends of each plantation are as follows:
(iii) 2x2 – x3 ≥ 4
and x1, x2 ≥ 0, x3 is unrestricted. Type Plantation Desired
[Meerut Univ., MSc (Maths), 2004] 1 2 3 4
7. One unit of product A contributes Rs. 7 and requires 3 units of raw
material and 2 hours of labour. One unit of product B contributes A 40% 20% 60% 80% 30%
Rs. 5 and requires one unit of raw material and one hour of labour. B 60% 80% 40% 20% 70%
Availability of raw material at present is 48 units and there are 40 Selling price
hours of labour. per 5 kg Rs. 3 Rs. 2 Rs. 1.20 Rs. 1.50
(a) Formulate this problem as a linear programming problem.
(b) Write its dual. What quantity of coffee seeds should the company buy from each
(c) Solve the dual by the simplex method and find the optimal plantation so that the total mixture will contain the desired
product mix and the shadow prices of the raw material and percentages of A and B and at the same time keep the purchasing
labour. cost at a minimum? Also write the dual of the problem.
8. A company makes three products: X, Y and Z out of three raw 13. The XYZ Plastic Company has just received a government contract
materials A, B and C. The raw material requirements are given to produce three different plastic valves. These valves must be
below: highly heat and pressure resistant and the company has developed
a three-stage production process that will provide the valves with
Raw Materials Number of Units of Raw Material Required the necessary properties involving work in three different chambers.
to Produce One Unit of Product Chamber 1 provides the necessary pressure resistance and can
process valves for 1,200 minutes each week. Chamber 2 provides
X Y Z heat resistance and can process valves for 900 minutes per week.
Chamber 3 tests the valves and can work 1,300 minutes per
A 1 2 1 week. The three valve types and the time in minutes required in
B 2 1 4 each chamber are:
C 2 5 1
Time Required in
The unit profit contribution of the products: X, Y and Z is Rs. 40, 25 Valve Type
and 50, respectively. The number of units of raw material available Chamber 1 Chamber 2 Chamber 3
are 36, 60 and 45, respectively. A 5 7 4
(a) Determine the product mix that will maximize the total profit. B 3 2 10
(b) Using the final simplex table, write the solution to the dual
C 2 4 5
problem and give its economic interpretation.
9. Three food products are available at costs of Rs. 10, Rs. 36 and Rs. The government will buy all the valves that can be produced and
24 per unit, respectively. They contain 1,000, 4,000 and 2,000 the company will receive the following profit margins on each valve:
calories per unit, respectively and 200, 900 and 500 protein units per A, Rs. 15; B, Rs. 13.50; and C, Rs. 10.
unit, respectively. It is required to find the minimum-cost diet How many valves of each type should the company produce
containing at least 20,000 calories and 3,000 units of protein. each week in order to maximize profits? Write the dual of the given
Formulate and solve the given problem as an LP problem. Write the LP problem and give its economic interpretation?
dual and use it to check the optimal solution of the given problem. 14. A medical scientist claims to have found a cure for the common
10. A company produces three products: P, Q and R from three raw cold that consists of three drugs called K, S and H. His results
materials A, B and C. One unit of product P requires 2 units of A and indicate that the minimum daily adult dosage for effective treatment
3 units of B. A unit of product Q requires 2 units of B and 5 units of C is 10 mg of drug K, 6 mg of drug S and 8 mg of drug H. Two
and one unit of product R requires 3 units of A, 2 units of B and 4 units substances are readily available for preparing pills for distribution
of C. The company has 8 units of material A, 10 units of material B to cold sufferers. Both substances contain all three of the required
and 15 units of material C available to it. Profits per unit of products P, drugs. Each unit of substance A contains 6 mg, 1 mg and 2 mg of
Q and R are Rs. 3, Rs. 5 and Rs. 4, respectively. drugs K, S and H, respectively and each unit of substance B
(a) Formulate this problem as an LP problem. contains 2 mg, 3 mg and 2 mg of the same drugs. Substance A
(b) How many units of each product should be produced to costs Rs. 3 per unit and substance B costs Rs. 5 per unit.
maximize profit? (a) Find the least-cost combination of the two substances that
(c) Write the dual of this problem. will yield a pill designed to contain the minimum daily
11. A diet conscious housewife wishes to ensure certain minimum recommended adult dosage.
intake of vitamins A, B and C for the family. The minimum daily (b) Suppose that the costs of the two substances are
(quantity) needs of the vitamins A, B and C for the family are interchanged so that substance A costs Rs. 5 per unit and
respectively 30, 20 and 16 units. For the supply of these minimum substance B costs Rs. 3 per unit. Find the new optimal solution.
vitamin requirements, the housewife relies on two fresh food I and [Delhi Univ., MBA (HCA), 2008]
Duality in Linear Programming 161

15. The XYZ company has the option of producing two products during 18. A firm produces three articles X, Y, Z at a total cost of Rs. 4 , Rs.
the period of slack activity. For the next period, production has 3, and Rs. 6 per item respectively. Total number of X and Z item
been scheduled so that the milling machine is free for 10 hours and produced should be at least 2 and number of Y and Z together be
skilled labour will have 8 hours of time available. at least 5. The firm wants to minimize the cost. Formulate this
problem as an LP problem. Write its dual. Solve the dual by the
Product Machine Time Skilled Labour Profit simplex method. Can you point out the solution of the primal
per Unit Time per Unit Contribution problem? If yes, what is it?
per Unit (Rs.) 19. A firm produces three types of biscuits A, B and C. It packs them
in assortments of two sizes I and II. The size I contains 20 biscuits
A 4 2 5 of type A, 50 of type B and 10 of type C. The size II contains 10
B 2 2 3 biscuits of type A, 80 of type B and 60 of type C. A buyer intends to
buy at least 120 biscuits of type A, 740 of type B and 240 of type C.
Solve the primal and dual LP problems and bring out the fact that Determine the least number of packets he should buy. Write the
the optimum solution of one can be obtained from the other. Also dual LP problem and interpret your answer.
explain in the context of the example, what you understand by
20. Consider the following product mix problem: Let x1 denote
shadow prices (or dual prices or marginal value) of resource.
number of units of Product 1 to be produced daily and x2 the
[Jammu Univ. MBA 2006]
number of units of Product 2 to be produced daily. The production
16. A company produces three products P, Q and R whose prices per
of Product 1 requires one hour of processing time in department
unit are 3, 5 and 4 respectively. On unit of product P requires 2
D1 . Production of 1 unit of Product 2 requires 2 hours of
units of m1 and 3 units of m2. A unit of product Q requires 2 units of
processing time in department D1 and one hour in department
m2 and 5 units of m3 and one unit of product R requires 3 units of
D2. The number of hours available in department D1 are 32
m1, 2 units of m2 and 4 units of m3. The company has 8 units of
hours and in department D2, 8 hours. The contribution of one
material m1, 10 units of material m2 and 15 units of material m3
unit of Product 1 is Rs. 200 and of Product 2 is Rs. 300.
available to it.
The solution to this LP model is given below:
(a) Formulate the problem as on LP model.
(b) How many units of each product should be produced to cj → 200 300 0 0
maximize revenue?
(c) Write the dual problem. Basic Solution x1 x2 s1 s2
Variables Values
17. A person consumes two types of food A and B everyday to obtain 8 cB xB
units of proteins, 12 units of carbohydrates and 9 units of fats which
is his daily minimum requirements. 1 kg of food A contains 2, 6 and 1 200 x1 32 1 2 1 0
units of protein, carbohydrates and fats, respectively. 1 kg of food B 0 s2 8 0 1 0 1
contains 1, 1 and 3 units of proteins, carbohydrates and fats
Z = 6400 cj – zj –100 –200 0 6400
respectively. Food A costs Rs. 8.50 per kg, while B costs Rs. 4 per
kg. Determine how many kg of each food should he buy daily to Given the dual of the primal model. Obtain the optimum solution
minimize his cost of food and still meet the minimum requirements. to the dual LP model from the above table. Interpret the dual
Formulate on LP problem mathematically. Write its dual and variables.
solve the dual by the simplex method. [Gujarat Univ. MBA, 2006]

HINTS AND ANSWERS

1. Min Zy = 3y1 + 4y2 + y3 + 6y4 5. Max Zy = 2y1 + 3y2 – 5y3


subject to (i) 5y1 – 2y2 + 5y3 – 3y4 ≥ 2 subject to (i) 2y1 + 3y2 – y3 ≤ 2 (ii) 3y1 + 3y2 – 4y3 ≤ 3
(ii) 6y1 + y2 – 5y3 – 3y4 ≥ 5 (iii) 5y1 + 7y2 – 6y3 = 4
(iii) – y1 + 4y2 + 3y3 + 7y4 ≥ 6 and y1, y3 ≥ 0 and y2 unrestricted.
and y1, y2, y3, y4 ≥ 0. 6. Max Zy = – 5y1 – 3y2 + 4y3
subject to (i) – y1 – y2 ≤ 1 (ii) 3y1 + 2y2 + 2y3 ≤ 1
2. Max Zy = 3y1 + 4y2 + y3 + 7y4
(iii) – 4y1 – y3 ≤ 1
subject to (i) 8y1 + 3y2 + 4y3 + 5y4 ≤ 7
and y2, y3 ≥ 0 and y1 is unrestricted.
(ii) 2y1 + 6y2 + 5y3 + 5y4 ≤ 3
7. Primal
(iii) y1 + 4y2 + 5y3 + 2y4 ≤ 8
x1 and x2 = number of units of products A
and y1, y2, y3, y4 ≥ 0.
x1 and x2 = and B, respectively to be produced.
3. Min Zy = 6y1 + 4y2
Max Zx = 7x1 + 5x2
subject to (i) 4y1 + 2y2 ≥ 2 (ii) 3y1 + 2y2 ≥ 3
subject to (i) 3x1 + x2 ≤ 48 (ii) 2x1 + x2 ≤ 40
(iii) y1 + 5y2 ≥ 1
and x1, x2 ≥ 40
and y1, y2 unrestricted in sign.
4. Min Zy = y1 + 3y2 Ans. x1 = 0, x2 = 40, Max Zx = Rs. 200
Dual
subject to (i) 2y1 + y2 ≥ 3 (ii) – y1 + y2 ≥ 1
y1 and y2 = worth of one unit of raw material
(iii) 3y1 – y2 ≥ 3 (iv) y1 + y2 ≥ – 1
y1, and y2 = and labour, respectively.
and y1, y2, unrestricted in sign.
162 Operations Research: Theory and Applications

Min Zy = 48y1 + 40y2 and x1, x2, x3, x4 ≥ 0.


subject to (i) 3y1 + 2y2 ≥ 7 (ii) y1 + 2y2 ≥ 5 Dual
and y1, y2 ≥ 0 y1 and y2 = worth of coffee seeds A and B, respectively
Max Zy = 0.3y1 + 0.7y2
Ans. y1 = 0, y2 = 5 and Min Zy = Rs. 200
8. Primal subject to (i) 0.4y1 + 0.6y2 ≤ 3 (ii) 0.2y1 + 0.8y2 ≤ 2
x1, x2 and x3 = units of the products X, Y and (iii) 0.6y1 + 0.4y2 ≤ 1.2 (iv) 0.8y1 + 0.2y2 ≤ 1.5
x1, x2, and x3 = Z, respectively to be produced. and y1, y2 ≥ 0
Max Zx = 40x1 + 25x2 + 50x3 13. Primal
subject to (i) x1 + 5x2 + 4x3 ≤ 36 (ii) 2x1 + 5x2 + 4x3 ≤ 60 x1, x2 and x3 = number of valves of the types A, B and C,
respectively to be produced.
(iii) 2x1 + 5x2 + 4x3 ≤ 45
Max Zx = 15x1 + 13.5x2 + 10x3
and x1, x2, x3 ≥ 0.
subject to (i) 5x1 + 13x2 + 2x3 ≤ 1,200
Ans. x1 = 20, x2 = 0, x3 = 5; Max Zx = 1,050
Dual (ii) 7x1 + 12x2 + 4x3 ≤ 900
y1, y2 and y3 = worth (or shadow price) per unit (iii) 4x1 + 10x2 + 5x3 ≤ 1,300
y1, y2, and y3 = of raw materials A, B and C, respectively. and x1, x2, x3 ≥ 0.
Min Zx = 36y1 + 60y2 + 45y3 Ans. x1 = 22,400/217, x2 = 5,500/62, x3 = 0 and
subject to (i) y1 + 2y2 + 2y3 ≥ 40 (ii) y1 + 5y2 + 5y3 ≥ 25 Ans. Max Zx = Rs. 58,125/31
(iii) y1 + 4y2 + 5y3 ≥ 50 Dual
and x1, x2, x3 ≥ 0. y1, y2 and y3 = work of Chambers 1, 2 and 3 production capacity,
y1, y2 and y3 = respectively.
Ans. y1 = 0, y2 = 0, y3 = 10; Min Zy = 1,050
10. Primal Min Zy = 1,200y1 + 900y2 + 1,300y3
x1, x2 and x3 = units of the products P, Q and R to be produced, subject to (i) 5y1 + 7y2 + 14y3 ≥ 15
respectively. (ii) 3y1 + 2y2 + 10y3 ≥ 13.5
Max Z = 3x1 + 5x2 + 4x3 (iii) 2y1 + 4y2 + 15y3 ≥ 10
subject to (i) 2x1 + 3x3 ≤ 8 (ii) 5x1 + 2x2 + 2x3 ≤ 10 and y1, y2, y3 ≥ 0.
(iii) 5x2 + 4x3 ≤ 15 Ans. y1 = 0, y2 = – 41/31, y3 = – 645/62.
and x1, x2, x3 ≥ 10.
Dual 15. Primal
Min Z = 8y1 + 10y2 + 15y3 x1, x2 = number of units of product A and B respectively to be
produced
subject to (i) 2y1 + 5y2 ≥ 3 (ii) 2y2 + 5y3 ≥ 5
Max Zx = 5x1 + 3x2
(iii) 3y1 + 2y2 + 4y3 ≥ 4
subject to (i) 4x1 + 2x2 ≤ 10 (ii) 2x1 + 2x2 ≤ 8
and y1, y2, y3 ≥ 0.
11. Primal and x1, x2 ≥ 0
x1 and x2 = units of fresh food I and II, to be bought, respectively Ans. x1 = 1, x2 = 3 and Max Zx = 14
Min Z = 3x1 + 2x2 Dual
subject to (i) 7x1 + 2x2 ≥ 30 (ii) 5x1 + 4x2 ≥ 20 y1, y2, y3 = worth (or shadow price) per unit of resource operators
(iii) 2x1 + 8x2 ≥ 16 in three shifts respectively.
and x1, x2 ≥ 10. Min Zy = 10y1 + 8y2
Dual subject to (i) 4y1 + 2y2 ≥ 5 (ii) 2y1 + 2y2 ≥ 3
y1, y2 and y3 = worth per unit of vitamins A, B and C, respectively and y1, y2 ≥ 0.
to the body.
Ans. y1 = 1, y2 = 1/2 and Min Zy = 14.
Max Z = 30y1 + 20y2 + 16y3
16. Primal
subject to (i) 7y1 + 5y2 + 2y3 ≤ 3 (ii) 2y1 + 4y2 + 8y3 ≤ 2
x1, x2, x3 = number of units of product P, Q and R to be produced,
and y1, y2, y3 ≥ 0.
respectively.
(b) The optimal solution to the dual problem is: y1 = 20/52,
Max Zx = 3x1 + 5x2 + 4x3
y2 = 0, y3 = 8/52 and Max Z = Rs. 14.
subject to (i) 2x1 + 3x3 ≤ 8 (ii) 5x1 + 2x2 + 2x3 ≤ 10
12. Primal (iii) 5x2 + 4x3 ≤ 15
x1, x2, x3 and x4 = quantities of coffee seeds, respectively which and x1, x2, x3 ≥ 0.
the company buys from each plantation. Ans. x1 = 44/41, x2 = 59/41, x3 = 80/41
Min = 3x1 + 2x2 + 1.2x3 + 1.5x4 Dual
subject to (i) 0.4x1 + 0.2x2 + 0.6x3 + 0.8x4 ≥ 0.3 y1, y2, y3 = worth per unit of material m 1 , m 2 and m 3
(ii) 0.6x1 + 0.8x2 + 0.4x3 + 0.2x4 ≥ 0.7 respectively.
Duality in Linear Programming 163

Min Zy = 8y1 + 10y2 + 15y3 19. Primal


subject to (i) 2y1 + 3y2 ≥ 3 (ii) 2y2 + 5y3 ≥ 5 x1, x2 = number of assortments of size I and II, respectively.
(iii) 3y1 + 2y2 + 4y3 ≥ 4 Max Zx = x1 + x2
subject to (i) 20x1 + 10x2 ≥ 120 (ii) 50x1 + 80x2 ≥ 740
and y1, y2, y3 ≥ 0.
(iii) 10x1 + 60x2 ≥ 240
17. Primal
and x1, x2 ≥ 0
x1, x2 = number of units of food A and B to be consumed,
Ans. x1 = 2, x2 = 8 and Min Zx = 10
respectively.
Dual
Max Zx = 8.50x1 + 4x2
y1, y2, y3 = worth per unit of biscuits of type A, B and C,
subject to (i) 2x1 + x2 ≥ 8 (ii) 6x1 + x2 ≥ 12
respectively.
(iii) x1 + 3x2 ≥ 9 Min Zy = 120y1 + 740y2 + 240
and x1, x2 ≥ 0. subject to (i) 20y1 + 50y2 + 10y3 ≤ 1
Ans. x1 = 1, x2 = 6 and Min Zx = 65/2; (ii) 10y1 + 80y2 + 60y3 ≤ 1
Dual and y1, y2, y3 ≥ 0
y1, y2, y3 = worth per unit of proteins, carbohydrates and fats 20. Primal
respectively. Max Zx = 200x1 + 300x2
Min Zy = 8y1 + 12y2 + 9y3 subject to (i) x1 + 2x2 ≤ 32 (ii) 0x1 + x2 ≤ 8
subject to (i) 2y1 + 6y2 + y3 ≤ 8.50 (ii) y1 + y2 + 3y3 ≤ 4 and x1, x2 ≥ 0.
and y1, y2, y3 ≥ 0 Dual
Ans. y1 = 31/8, y2 = 1/8, y3 = 0 and Max Zy = 65/2; Min Zy = 32y1 + 8y2
subject to (i) y1 + 0y2 ≥ 200 (ii) 2y1 + y2 ≥ 300
18. Primal
and y1, y2 ≥ 0
x1, x2, x3 = number of units of articles X, Y and Z respectively.
The optimum solution to the dual LP problem is: y1 = 200, y2 = 0s1
Max Zx = 4x1 + 3x2 + 6x3 = 0s2 = 100, Z* = Rs. 600
subject to (i) x1 + x3 ≥ 2 (ii) x2 + x3 ≥ 5 Note that, y1 = marginal increase in profit for an addition 1 hour
and x1, x2, x3 ≥ 0. of capacity. Since y1 = Rs. 200, profit becomes Rs. 6400 + 200
= Rs. 6600. Also y2 = marginal increase in profit given an addition
Ans. x1 = 0, x2 = 3, x3 = 2 with Min Z = 21
hour of capacity in D2. Since y2 = 0, there would be no change in
Dual the profit.
y1, y2 = worth per unit of resources to be used, respectively In primal LP problem solution, s2 = 8 indicates that there is an
excess capacity of 8 hours in D2. Thus, in dual solution we have y2 = 0.
Min Zy = 2y1 + 5y2
Dual constraint (i) is written as: y1 + 0y2 ≥ 200 or
subject to (i) y1 ≤ 4 (ii) y2 ≤ 3
 total value of hours in department D1 and D 2 
(iii) y1 + y2 ≤ 6  
 required to produce 1 unit of Product 1 
and y1, y2 ≤ 0  unit profit received from manufacturing 
≥  
Ans. y1 = 3, y2 = 3 with Max Z* = 21 and selling 1 unit of Product 1 

CHAPTER SUMMARY
In this chapter we discussed the relationship between an LP problem and its dual. The method of formulating a dual LP problem
of the given LP problem was explained with several examples. The main focus, while solving a dual LP problem, was to find for
each resource its best marginal value, also known as dual or shadow price. This value reflects the maximum additional price to
be paid in order to obtain one additional unit of any resource in order to maximize profit (or minimize cost) under resource
constraints.

CHAPTER CONCEPTS QUIZ


True or False
1. If the objective function of the primal LP problem is maximized, 3. The dual of dual is a primal problem.
then the objective function of the dual is to be minimized. 4. The value in the cj – zj row under columns of slack/surplus
2. A dual variable is not defined for each constraint in the primal variables ignoring negative signs do not give the direct optimal
LP problem. values of the dual/primal basic variables.

You might also like