Professional Documents
Culture Documents
Qabd Unit 2 PDF
Qabd Unit 2 PDF
Qabd Unit 2 PDF
2.1 Problem
Unit
Linear Programming
2 Method and
Transportation Problem
Learning Objectives
After studying this unit, one would be able to understand,
v Concept, Structure, Assumptions and Application areas of LPP.
v Guidelines for Formulation of LPP – Formulation of LPP for different areas.
v Concept of LPP by Graphical Method – Extreme Point Method.
v Concept of Simplex Method and procedure for solving LPP through Simplex Method.
v Concept of Converting Primal LPP to Dual LPP.
v Advantages and Limitations of LPP.
v Mathematical Model for Transportation Problems.
Methods of Solving Initial Feasible Solution using NWCR, LCM and VAM Methods.
v
Optimality Test by Modi Method.
v
Introduction
Linear programming problems deal with optimal allocation of resources which are limited. The main objective
of an LPP is to optimize the given problem i.e., either profit maximization or cost minimization. Firms generally
desire to maximize profits and minimize losses and investment cost.
Transportation problem is a special type of linear programming problem in which goods or products are transferred
from sources to destination for minimizing the total cost of transportation. The main aim of the transportation
problem is to reduce the transportation cost and fulfill the needs of the individuals located at the destinations.
Transportation model includes many activities such as, transporting the product from plants to warehouses,
warehouses to wholesalers, wholesalers to retailers and retailers to customers. The transportation model
is effectively used in scheduling, production, investments, plant location, inventory control, employment
scheduling, product mix problems and so on.
Figure
1. Objective Function
This is the function which is formulated by using contributions (i.e., profits, cost) and this function is to be optimized
i.e., to maximize the profit and minimize the loss respectively.
It is formulated by considering contributions and decision variables. It should be a linear equation.
Example
Profit per doll of type A = 30/- and profit per doll of type B = 40/-. Express the objective function.
If profit is given, objective function is to be maximized and if cost is given it should be minimized.
Given that profit per doll of type A = 30/-
So, if ‘x’ dolls of type A are produced, total profit would be 30x.
Similarly, if ‘y’ dolls of type B are produced, then total profit would be 40y.
Objective function is denoted by ‘Z’. It can be written as,
Z = 30x + 40y
∴ Maximize Z = 30 x + 40 y
LP helps in determining the optimum transportation The second step in the formulation of LPP is the
schedule with minimum total transportation cost of moving setting of goal or objective function. It may be in two forms
goods from various origins to various destinations. i.e., maximization or minimization form. If the data reveals
profit in the system, then the objective function will be in
5. Assignment Problem maximization form. For example, output, profit, sales etc.,
LP models give the best assignment schedule with are to be maximized. If the data is in terms of cost, then the
minimum total cost of assignment of various resources to objective function will be written in the minimization form.
various activities on a one-to-one basis. For example, production cost, spoilage, overheads, loss etc.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.5 Problem
(c) Developing the Constraints Equation The relevant data is given in the table. If the whole labour
The third step in the formulation of LPP is the is engaged in manufacturing product A, 1600 units of this
development of the constraints equation. Constraints are product can be produced. There is demand for at least 300,
the restrictions applied to the objective function. These 250 and 200 units of products A, B and C and the profit
constraints may be demand, supply and equality constraints. earned per unit is ` 50, ` 40 and ` 70 respectively. Formulate
Demand constraints are represented by ‘ ’ sign and is used the problem as linear programming problem.
when a minimum restriction is applied to the function.
Requirement per
Supply constraints are represented by ‘ ’ sign and Raw unit of product (kg) Total
issued when a maximum restriction is applied to the function. material Availability
A B C
Equality constraints are represented by ‘=’ sign and P 6 5 9 5000
is used when an exact value should be used.
Q 4 7 8 6000
(d) Deciding the Variable Status
The fourth step in the formulation of LPP is deciding Assume the number of units to be produced of products
the status of decision variable. As the variables are generally A, B and C be x1, x2, x3 where x1 0, x2 0 and x3 0.
numbers, they may be positive, negative or zero. For most ∴ The objective is to maximize the profit.
of the cases it will be positive. For example, allocation of
material for transportation cannot be negative, it should be The objective function can be written as,
either zero or greater than that. But, in some cases, it may Max Z = 50x1 + 40x2 + 70x3
be positive or negative, like in inventory. Therefore, the
condition of the variable can be non-negative or unrestricted. Constraints can be formed as,
Mathematical Formulation of LPP 6x1 + 5x2 + 9x3 5000
LP is the optimum allocation of the available 4x1 + 7x2 + 8x3 6000
resources on the basis of the given criterion. The LPP can
be mathematically represented as follows, The constraints on the number of units to be
manufactured can be expressed as,
Let,
Z = Overall optimum value. 1 1
x1 + x2 + x3 1600
xi = Decision variables (Where, i = 1, 2, 3, ..., n). 2 3
Ci = Constants multiplied to each level of (Since, B requires 1/2 and C requires 1/3, the time
activity depending on their contribution required for A)
to Z.
Market demand requires,
bj = Resource available for the allocation.
x1 300
aij = Resource consumed by each activity.
x2 250
Therefore, the LPP form of the above data can be
written as, x3 200
(Max or Min ) Z = C1 x1 + C2 x2 + C3 x3 + ... + Cnxn As A, B and C are to be produced in the ratio of 3 : 4
Subject to, : 5, we get,
a11 x1 + a12 x2 + a13 x3 + .... or or = b1 x1 : x2 : x3 :: 3 : 4 : 5
a21 x1 + a22 x2 + a23 x3 + ... or or = b2
x1 x2
a31 x1 + a32 x2 + a33 x3 + ... or or = b3 ∴ =
3 4
Where, x1, x2, x3, ...., xn 0.
x2 x3
Q5. How do you formulate LPP in production and and =
4 5
marketing? Illustrate.
∴ Two additional constraints obtained are,
Answer :
4x1 – 3x2 = 0
LPP Formulation in Production – Illustration
5x2 – 4x3 = 0
A firm manufactures three products A, B and C. Time
to manufacture product A is twice that for B and thrice that ∴ The above relations obtained forms the linear
for C and they are to be produced in the ratio of 3 : 4 : 5. programming model.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.6 Quantitative analysis for business decisions
LPP Formulation in Marketing – Illustration Thus, x1 + x2 + x3 = 50,00,000
A marketing manager wishes to allocate his annual Through bond issue, the company can obtain
advertisement budget of ` 20,000 in two media vehicles A `20 lakhs.
and B. The unit cost of a message in media A is ` 1000 and
Thus, x1 ≤ 20,00,000
that of B is ` 1500. Media A is a monthly magazine and not
more than one insertion is desired in one issue. At least 5 Financial corporation ‘A’ can provide loan upto
messages should appear in media B. The expected effective `30 lakhs.
audience for unit messages in the media A is 40,000 and Thus, x2 ≤ 30,00,000
for media B is 55,000. Develop a mathematical model for
maximizing total effective audience. The condition of A, states that the bond debt and loan
from B should not be more than twice the amount of A.
Maximize Z = 40000x + 55000y
Thus, x1 + x3 ≤ 2x2
Subject to 1000x + 1500y 20000
Financial corporation ‘B’ can also provide loan upto
x 12
`30 lakhs.
y 5
Thus, x3 ≤ 30,00,000
and x, y 0
Therefore,
Q6. Illustrate the formulation of LPP in financial
management. Min z = 0.12 x1 + 0.16 x2 + 0.18 x3
Answer : STC,
The board of directors of a company has given x1 + x2 + x3 = 50,00,000
approval for the construction of a new plant. The plant will
require an investment of `50 lakh. The required funds will x1 ≤ 20,00,000
come from the sale of a proposed bond issue and by taking x2 ≤ 30,00,000
loans from two financial corporations. For the company, it
x3 ≤ 30,00,000
will not be possible to sell more than `20 lakh worth of bonds
at the proposed rate of 12%. Financial corporation A will give x1 + x3 ≤ 2x2
loan upto `30 lakh at an interest rate of 16% but insists that and x1, x2, x3 ≥ 0.
the amount of bond debt plus the amount owned to financial
corporation B be no Z more than twice the amount owned Q7. Explain the formulation of LPP in personnel
to financial corporation A. Financial corporation B will loan management.
the same amount as that loaned by financial corporation A Answer :
but it would do so at an interest rate of 18%. Formulate this
A machine tool company conducts a job training
problem as an L.P model to determine the amount of funds
program for machinists. Trained machinists are used as
to be obtained from each source in a manner that minimizes
teachers in the programme at a ratio of one for every
the total annual interest charges.
ten trainees. The training lasts for one month. From past
Objective Function experience it has been found that out of ten trainees
In the given problem, the objective function is to hired, only six complete the programme successfully. The
unsuccessful trainees are released. Trained machinists are
minimizes the total annual interest charges, after fulfilling
needed for machining and company’s requirements for the
the requirement of `50 lakhs for constructing new plant. next three months are January: 120, February: 180 and
Let, March: 220. Further, the company requires 250 trained
‘x1’ – Be the bond debt machinists by April. There are 150 trained machinists
available at the beginning of the year. The relevant costs per
‘x2’ – Be the loan from A month are,
‘x3’ – Be the loan from B
Each trainee : ` 1,000.00
The interest rates of x1, x2 and x3 are 12,16 and 18
percents respectively. Each trained machinists : ` 2,000.00
Equation II
By solving equation (2), we get the values of R and S points.
Case I
If A = 0, then by solving equation (2), we get
3A + 4B = 24
3(0) + 4B = 24
4B = 24
B = 24
4
B=6
\ R = (0, 6)
Case II
If B = 0, then by solving equation (2), we get,
3A + 4B = 24
3A + 4(0) = 24
3A = 24
A = 24
3
A=8
\ S = ^8, 0h
Equation III
By solving equation (3), we get,
A=2
\ T = (2, 0)
Equation IV
By solving equation (4), we get,
U Þ A – B = 0
(or)
\ J = (2, 0) –
Step 3
Plot the points P, Q, R, S, T and U on the graph to obtain a feasible solution.
P(0, 4), Q(4, 0), R(0, 6), S(8, 0), T(2, 0), U(0, 0)
Step - 4
The common feasible region is V, W and X
V = (2, 2)
W = (3, 4, 3.4)
X = (2, 4.5)
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.11 Problem
Step - 5
Substitute the coordinates of feasible region in objective function.
Max 3A + 2B
V (2,2) = 3(2) = 2(2) = 6 + 4 = 10
W (3.4. 3.4) = 3(3.4) + 2 (3.4) = 10.20 + 6.80 = 17
X (2, 4.5) = 3(2) + 2 (4.5) = 6 + 9 = 15
\ Maximum value of ` is obtainal at W (3.4, 3.4) = 17.
2. The manufacturer of patent medicines has proposed to prepare a production plan for medicines A and
B. There are sufficient ingredients available to make 20,000 bottles of medicine A and 40,000 bottles of
medicine B but there are only 45,000 bottles into which either of the medicines can be filled. Further, it
makes three hours to prepare enough material to fill 100 bottles of medicine A and one hour to prepare
enough material to fill 1000 bottles of medicine B and there are 66 hours available for this operation.
The profit is ` 8 bottle for medicine A and ` 7 per bottle for medicine B. Formulate this problem as a
LPP and solve it by graphical method.
Solution : Sept./Oct.-13, Q1(b)
Formulating LPP
Let us assume that the two types of medicines A and B are x1 and x2.
The sufficient ingredients available to make x1 is 20,000.
Thus, x1 ≤ 20,000.
The sufficient ingredients available to make x2 is 40,000.
Thus, x2 ≤ 40,000.
Total number of bottles that can be filled is 45000.
Thus, x1 + x2 ≤ 45000.
Number of hours needed to fill x1 is 3 and x2 is 1.
Availability of hours is 66.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.12 Quantitative analysis for business decisions
Thus, 3x1 + x2 ≤ 66
Profit on x1 is 8 and on x2 is 7.
x1 = 100; x2 = 1000
Thus, z = 8 × 100 x1 + 7 × 1000 x2
= 800 x1 + 7000 x2
This can be summarized as,
Objective function, max z = 800 x1 + 7000 x2.
STC, 3x1 + x2 ≤ 66 ... (1)
x1 + x2 ≤ 45 (in 000’s) ... (2)
x1 ≤ 20 (in 000’s) ... (3)
x2 ≤ 40 (in 000’s) ... (4)
x1, x2 ≥ 0
Solving the LPP with Graphical Method
Considering equation (1),
3x1 + x2 = 66
Put x1 = 0; 3(0) + x2 = 66, x2 = 66
∴ (0, 66)
66
Put x2 = 0; 3x1 + 0 = 66; x1 = = 22
3
∴ (22, 0)
Considering equation (2),
x1 + x2 = 45
Put x1 = 0; 0 + x2 = 45, x2 = 45
∴ (0, 45)
Put x2 = 0, x1 + 0 = 45, x1 = 45
(45, 0)
x1 = 20 – Equation (3)
x2 = 40 – Equation (4)
Plotting points on a graph to obtain a feasible region.
The quantities S1 and S2 are slack variables and their values depends upon the values assumed by other in a
particular equation.
Characteristics of the Standard Form
(i) The objective function is of maximization type
(ii) All constraints are expressed as equations
(iii) Right hand side of each constraint is non-negative
(iv) All variables are non-negative.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.14 Quantitative analysis for business decisions
Example 7. Product Mix
Express the following LPP in standard form, A column in the simplex table that contains all of the
variables in the solution.
Minimize Z = 5x1 + 7x2
Subject to the constraints 8. Basic
Maximize Z = – c1 x1 – c2 x2
0 s1 b1 a1 a2 1 0
2. Convert the inequality constraints into equations by
adding or subtracting the variables depending on 0 sS22 b2 a3 a4 0 1
inequalities.
xB
cCBB B xXBB x1 x2 Ss11 sS2
2
xi
0 S1 b1 a1 a2 1 0 b1 /a2
Key ⇐ Min
0 S2 b2 a3 element 0 1 b2 /a4 Ratio
a4
(Leaving)
Zj a1 × 0 a2 × 0 0×1 0×0
=0 =0 =0 =0
Step 6
Next iteration is performed by replacing the entering and leaving variable.
Values of rows and columns change after each iteration, for simplicity as follow,
old row value
1. New values of key row are ⇒
key element
2. New values of remaining rows are,
corresponding corresponding
old row value – old value in × new value in
key column key row in same column
Step 7
After performing each iteration check for optimality,
i.e., once the Cj – Zj ≤ 0 and minimum ratio cannot be determined, then that would be the final iteration and it gives
out the final optimal solution.
Problems on Simplex Method (maximization case)
1. Maximize Z = 5x1 – 2x2 + 3x3,
Subject to,
2x1 + 2x2 – x3 > 2,
3x1 – 4x2 ≤ 3,
x2 + 3x3 ≤ 5
and x1, x2, x3 > 0.
Solution : (Model Paper-II, Q4(a) | Aug.-17, Q4(b))
Given that,
Maximize Z = 5x1 – 2x2 + 3x3
Subject to,
2x1 + 2x2 – x3 > 2
3x1 – 4x2 < 3
x2 + 3x3 < 5
x1, x2, x3 > 0
2 ←
–M A1 2 2 2 –1 –1 0 0 1 =1
2
3
0 S2 3 3 –4 0 0 1 0 0 =1
3
5
0 S3 5 0 1 3 0 0 1 0 =0
0
Z = – 2M Zj – 2M – 2M M –M 0 0 –M
Cj – Zj 5 + 2M – 2 + 2M 3–M –M 0 0 0
Entering variable is x1
Droping variable is A1
New R1 = R1 (old) ¸ 2 (Key element)
2
= = 1 and vice versa
2
New R2 = old R2 – (3 × New R1)
R3 = old R3 – (0 × New R1)
Table-II
Cj 5 –2 3 0 0 0
Remarks (Min.Ratio)
CB BV XB X1 X2 X3 S1 S2 S3
–1 –1 –1 –1
5 X1 1 1 1 0 0 1÷ =
2 2 2 2
0 S2 0 0 –7 3 3 1 0 3 3
0÷ =
2 2 2 2
5
0 S3 5 0 1 3 0 0 1 5÷3=
3
–5 –5
Z=5 Zj 5 5 0 0
2 2
11 –5
Cj – Zj 0 –7 0 0
2 2
5 X1 1 1 –4 0 0 1 0 1 ÷ – 4 = – ve
3 3 3
– 14 2
3 X3 0 0 1 1 0 0 ÷ – 14 = – 14 – ve
3 3 3 3
0 S3 5 0 15 0 –3 –2 1 5 ÷ 15 = 1
3
– 62 11
Z=5 Zj 5 3 3 0
3 3
56 – 11
Cj – Zj 0 0 –3 0
3 3
Entering variable is x2
Leaving variable is S2
New R3 = R3 (old) ¸15 (Key element)
–4
R1 = old R1 – f ×New R3 p
3
– 14
R2 = old R2 – f ×New R3 p
3
Table-IV
Cj 5 –2 3 0 0 0 Remarks
CB BV XB X1 X2 X3 S1 S2 S3 (Min. Ratio)
–4 13 –4
5 X1 13 1 0 0 7 4 ÷ = – ve
15 9 5
9 45 45
14 1 2 14 14 1
3 X3 0 0 1 ÷ = 70
9 15 45 45 19 15 3
1 –1 –2 1 1 –1
–2 X2 0 1 0 ÷ = – ve
3 5 15 15 3 5
101 – 11 53 56
Z= Zj 5 –2 3
9 15 45 45
11 – 53 – 56
Cj –Zj 0 0 0
15 45 45
Entering variable is S1
Leaving variable is X3
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.19 Problem
1
New R2 = R2 old ¸ (Key element)
15
–4
R1 = old R1 – f × New R 2 p
15
–1
R3 = old R3 – f × New R 2 p
5
Table-V
Cj 5 –2 3 0 0 0 Remarks
CB BV XB X1 X2 X3 S1 S2 S3 (Min. Ratio)
5 X1 23 1 0 4 0 1 4
3 3 3
70 2 14
0 S1 0 0 15 1
3 3 3
–2 X2 5 0 1 3 0 0 1
85 5 14
Z= Zj 5 –2 14 0
3 3 3
0 –5 – 14
Cj – Zj 0 0 – 11
3 3
Since all Cj – Zj < 0, the current basis feasible solution is optimal.
85 23
\ The optimal solution is Max Z = , x1 = , x2 = 5, x3 = 0.
3 3
Working Notes
1. Calculation of Zj = CB × jth Column of Matrix
For Table-I = – M × 2 + 0 × 3 + 0 × 0
= – 2M.
Calculate the remaining Zj values in the same way.
2. Calculation of Z value.
Z = CB × XB
For Table-I, Z = – M × 2 + 0 × 3 + 0 × 5
= – 2M.
2. Solve the following LP problem using Simplex method.
Maximize Z = 10X1 + 15X2 + 20X3
Subject to,
2X1+4X2+6X3 < 24
3X1+9X2+6X3 < 30
X1, X2, and X3 > 0
Solution : Feb.-17, Q5
Given that,
Maximize Z = 10x1 + 15x2 + 20x3
Subject to,
2x1 + 4x2 + 6x3 # 24
3x1 + 9x2 + 6x3 # 30
x1, x2 and x3 $ 0
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.20 Quantitative analysis for business decisions
Standardization Since ‘Cj – Zj’ value is highest for ‘x1’, thus enter
the basis for ‘x1’ and leaves through ‘s2’ as it has lowest
Maximize = 10x1 + 15x2 + 20x3 + 0s1 + 0s2
minimum ratio of ‘6’.
Subject to,
Interation II
2x1 + 4x2 + 6x3 + s1 = 24
Old R 2 Old R 2
3x1 + 9x2 + 6x3 + s2 = 30 New R2 = Key element i.e, 1
Index row : Cj – Zj zj 10 30 20 0 10
3
Cj 10 15 20 0 0 cj – zj 0 – 15 0 0 – 10
3
CB Bv XB x1 x2 x3 s1 s2 Min ratio
0 s1 24 2 4 6 1 0 24 = Since, all ‘Cj – Zj’ values are # 0 , thus the
6 4 optimality reached with,
0 s2 30 3 9 6 0 1 30 = x1 = 6, x2 = 0, x3 = 2
6 5
zj 0 0 0 0 0 Substituting the values of x1 and x2, x3, in the objective
cj – zj 10 function.
15 20 0 0
Max Z = 10X1 + 15 X2 + 20 X3
= 10 (6) + 15 (0) + 20 (2)
Since, Cj – Zj value is highest for ‘x3’, thus enter the
basis through x3 and leaves through ‘s1’ as it has lowest = 60 + 0 + 40
minimum ratio of ‘4’. = 100
Iteration - I
2.3.2 Minimization Case – Big-M
Old R1 Old R1
New R1 = Key element i.e., 6 Method
New R2 = Old R2 – Key element × New R1 i.e., Q12. Explain about the minimization case of LPP.
Old R2 – 6 × New R1 Write about the Big-M method used in simplex
problem.
Simplex Table
Answer :
Cj 10 15 20 0 0 Minimization Case of LPP
Min ratio
CB Bv XB x1 x2 x3 s1 s2 In simplex method, starting the simplex iterations at
20 x3 4 1 2 1 1 0 12 a basic feasible solution guarantees that all the succeeding
3 3 6 iterations will be feasible.
0 s2 6 1 5 0 –1 1 6
For the LPs in which all the constraints are of the (≤)
zj 20 40
40 20 10 0 type (with non-negative right hand sides), the slacks offer a
3 33 3
0 – 10 0 convenient starting basic feasible solution. A natural question
cj – zj 10 5
3 3 3 then arises.
How can we find a starting basic solution for models
that involve (=) and (> =) constraints?
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation 2.21 Problem
The most common procedure for starting LPs that do not have convenient slacks is to use artificial variables.
These are variables that assume the role of slacks at the first iteration, only to be disposed off at a later iteration.
Two closely related methods are proposed for effecting this result.
1. The Big-M method (Penalty method) and
2. Two phase method.
Big-M Method (Penalty Method)
The Big-M method starts with the LP in the standard form. For any equation i that does not have a slack, we augment
an artificial variable Ri. Such a variable then becomes part of the starting basic solution.
However, because artificial are extraneous to the LP model, we assign them a penalty in the objective function to
force them to zero level at a later iteration of the simplex algorithm.
Computational Steps of Big-M Method
1. Express the LPP in the standard form.
2. Add non-negative artificial variables to the left side of each of the equations corresponding to constraints of the type
(≥) and ‘=’. When artificial variables are added, it causes violation of the corresponding constraints. This difficulty is
removed by introducing a condition which ensures that artificial variables will be zero in the final solution (provided
the solution of the problem exists). On the other hand, if the problem does not have a solution, at least one of the
artificial variables will appear in the final solution with positive value. This is achieved by assigning a very large
price (per unit penalty) to these variables in the objective function. Such large price will be designated by –M for
maximization problems (+M for minimization problems), where M > 0.
3. In the last, use the artificial variables for the starting solution and proceed with the usual simplex routine until the
optimal solution is obtained arrived.
Problems on Minimization Case (Big-M Method)
1. Solve the following LPP by simplex method,
Maximize Z = 3x1 + 2x2
Subject to 2x1 + x2 ≤ 2
3x1 + 4x2 ≥ 12 and x1, x2 ≥ 0
Solution :
By introducing the non-negative slack variable S1 and surplus variable S2, the standard form of the LPP becomes,
Maximize Z = 3x1 + 2x2 + 0S1 + 0S2
STC,
2x1 + x2 + S1 = 2
3x1 + 4x2 – S2 = 12
x1, x2, S1, S2 ≥ 0
But this will not yield a basic feasible solution. To get the basic feasible solution, add the artificial variable R1 to the
left hand side of the constraint equation which does not possess the slack variable and assign –M to the artificial variable
in the objective function.
The LPP becomes,
Maximize Z = 3x1 + 2x2 + 0S1 + 0S2 – MA1
STC,
2x1 + x2 + S1 = 2
3x1 + 4x2 – S2 + A1 = 12
x1, x2, S1, S2, A1 ≥ 0
The initial basic feasible solution is given by,
S1 = 2, R1 + 12 (basic) (x1 = x2 = S2 = 0, non-basic)
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.22 Quantitative analysis for business decisions
Note
While constructing simplex table in Big-M method, some constraints will be having both slack and artificial
variables, in such a situation, only artificial variable must be taken as a non basic variable. The same condition is applied
in 2nd constraint i.e., “3x1 + 4x2 + 0S1 – S2 + A1 = 12”.
Initial Iteration
Cj (3 2 0 0 – M) Min Ratio
CB BV XB x1 x2 S1 S2 A1
0 2 2 1 1 0 – 2
S1 =2
1
–M A1 12 3 4 0 –1 1 12
=3
4
Zj – 3M – 4M 0 M –M
Cj – Zj 3 + 3M 2 + 4M 0 –M 0
Since there are some Cj – Zj > 0. The current basic feasible solution is not optimal.
The non-basic variable x2 enters into the basic and the basic variable S1 leaves the basis.
First Iteration
New X2 value = 2, 2, 1, 1, 0
New A1
12 – 4(2) = 4
3 – 4(2) = – 5
4 – 4(1) = 0
0 – 4(1) = – 4
– 1 – 4(0) = – 1
1 – 4(0) = 1
Cj 3 2 0 0 –M
CB BV XB x1 x2 S1 S2 A1
2 x2 2 2 1 1 0 –
– M A1 4 –5 0 –4 –1 1
Zj 4 + 5M 2 2 + 4M M –M
Cj – Zj – 5M – 1 0 – 4M – 2 – M 0
Since, all Cj – Zj ≤ 0 and an artificial variable A1 appears in the basic with non-zero level, the given LPP does not
posses any feasible solution. But the LPP possess a pseudo optimal solution.
2. Solve the following LPP
Max Z = 6x1 + 4x2
STC, 2x1 + 3x2 ≤ 30
3x1 + 2x2 ≤ 24
x1 + x2 ≤ 3 and
xi ≥ 0
Before starting phase-II remove all artificial variables from the table which were non-basic at the end of phase-I.
3x1 + 2x2 ≥ 3
x1 + 4x2 ≥ 4
x1 + x2 ≤ 5
x1, x2 ≥ 0
Solution :
By introducing the non-negative slack, surplus and artificial variables, the standard form of the LPP becomes.
Subject to
3 x1 + 2x2 – S1 + A1 = 3
x1 + 4x2 – S2 + A2 = 4
x1 + x2 + S3 = 5
Phase-I
Assigning a cost-1 to the artificial variable and cost-0 to all other variables, the objective function of the auxiliary
LPP becomes,
Max Z* = –A1 – A2
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.25 Problem
Subject to the given constraints.
Cj (0 0 0 0 0 –1 – 1) Min.Ratio
CB BV XB x1 x2 S1 S2 S3 A1 A2 (XB/X2)
–1 3 3 2 –1 0 0 1 0 3
A1 = 1.5
2
0 4
–1 A2 4 1 4 –1 0 0 1 =1→
4
0 S3 5 1 1 0 0 1 0 0 5
=5
1
Zj – 4 –6 1 1 0 –1 –1
Cj – Zj 4 6 –1 –1 0 0 0
↑
First Iteration
Introduce x2 and drop A2.
New R2 = old R2 ÷ 4
New R1 = old R1 – (2 × new R2)
New R3 = old R3 – (1 × new R2)
5 1 −1 2
–1 A1 1 0 –1 0 1 →
2 2 5
2
0 1 1 1 0 −1 0 0 1 4
x2
4 4 4
3 1 −1 16
0 S3 4 0 0 1 0
4 4 4 3
Zj –5/2 0 1 –1/2 0 –1 1/2
5 0 –1 1 0 0 3
−
Cj – Zj 2 2 2
↑
Second Iteration
Introduce x1 and drop A1.
New R1 = old R1 ÷ 5/2
New R2 = old R2 – (1/4 × new R1)
New R3 = old R3 – (3/4 × new R1)
2 −2 1 2 −1
0 x1 1 0 0
5 5 5 5 5
9 1 −3 −1 3
0 x2 0 1 0
10 10 10 10 10
37 3 1 −3 −1
0 S3 0 0 1
10 10 10 10 10
Zj 0 0 0 0 0 0 0
Cj – Zj 0 0 0 0 0 –1 –1
Since, all Cj – Zj ≤ 0, the current basic feasible solution is an optimum solution. Further more, no artificial variable
appears in the optimum basic so we proceed to phase-II.
Phase-II
Here, we consider actual costs associated with the original variables. The new objective function then becomes.
The initial basic feasible solution for this phase is the one obtained at the end of phase-I.
Initial Iteration
Cj (5 8 0 0 0) Min. Ratio
CB YB XB x1 x2 S1 S2 S3 (XB/S2)
2 −2 1
5 x1 1 0 0 2→
5 5 5
9 1 −3
8 x2 0 1 0 ––
10 10 10
37 3 1
0 S3 0 0 1 37
10 10 10
Zj 5 8 –6/5 –7/5 0
6 7
Cj – Zj 0 0 0
5 ↑5
Since, there are some Cj – Zj > 0, the current basic feasible solution is not optimal.
New R1 = old R1 ÷ 1/5
Cj (5 8 0 0 0)
CB BV XB x1 x2 S1 S2 S3
0 S2 16 3 0 0 1 4
8 x2 5 1 1 0 0 1
0 S1 7 –1 0 1 0 2
Zj 8 8 0 0 8
Cj – Zj –3 0 0 0 –8
Z
C Z
Since all Cj – Zj ≤ 0, the problem cannot be solved further. All values in the CB column are ‘zero’. Hence, feasible
solution to the given original LP problem does not exist.
Q15. What are unrestricted variables? Give example.
Answer :
In LPP along with the functional constraints, a non-negative constraint is given which states that the decision variable
can take only zero or positive values.
The simplex procedure was evolved keeping in mind this constraint. But, in many practical situations, one or more
of the variables may be unrestricted i.e., the variable may take either positive, negative or zero value.
In order to convert an LP problem involving unrestricted variables into an equivalent problem having only restricted
variables, the following operation is carried out,
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.29 Problem
Each unrestricted variable is expressed as the difference of two non-negative variables.
i.e., Let xr – Unrestricted variable
Then xr can be represented as a difference of two non-negative variables.
' "
i.e., xr = xr − xr
Variables x2' and x2" cannot appear simultaneously in the basis and one of the following may happen in optimal
solution,
4 x1 + 5 x2′ + 5 x2′′+ S1 = 20
STC,
Cj 8 –4 4 0 0
CB BV XB x1 x '2 x '2' S1 S2 θ
0 S1 20 4 5 5 1 0 5
0 S2 – 23 – 1 3 3 0 1 – 23
Zj 0 0 0 0 0
Cj – Zj
8 –4 4 0 0
Since there are some (Cj – Zj) > 0, the current basic feasible solution is not optimal.
First Iteration
Introduction X1 and drop S1
Cj 8 –4 4 0 0
CB BV XB X1 X ′2 X ′′2 S1 S2
5 5 1
8 X1 5 1 0
4 4 4
17 17 1
0 S2 – 18 0 1
4 4 4
Zj 8 10 10 2 0
Cj – Zj
0 – 14 –6 –2 0
Since all (Cj – Zj) ≤ 0, the current solution is optimal.
X1 = 5
X2 = x2′ − x2′′ = 0 – 0 = 0
∴ Max z = 8X1 – 4X2
= 8 × 5 – 4 × 0
= 40 – 0
= 40
Q16. Explain the situation in which an infeasible solution occur in simplex method.
Answer :
Infeasible solution is a situation that occurs in LPP when the problem has no feasible solution that satisfies all the
constraints including the non-negativity constraint. In simplex method, the infeasibility condition can be recognized by
the presence of artificial variables i.e., if atleast one of the artificial variables appears with a positive value at the optimal
simplex table then no feasible solution exists.
This is so, because the presence of artificial variable will drastically alter the objective function value as its contribution
is very high (i.e., M). The solution obtained with artificial variables in the basis will, however satisfy all the constraints.
But, it is not a feasible solution. It is known as pseudo-optimal solution, as it satisfies the constraints but not objective
function.
Note
If artificial variable with positive value exists in the final (optimal) simplex table, then the LPP is said to have
infeasible solution.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.31 Problem
Tableau-II
Cj 3 2 0 0 –M
Min Ratio Formulae Remarks
CB BV XB x1 x2 S1 S2 A1
R1
2 x2 2 2 1 1 0 0 R1′ = No entering
1 variable could
–M A1 4 –5 0 –4 –1 1 R ′2 = R 2 – (4 × R1′ ) be identified
Zj 4 + 5M 2 2 + 4M M –M
Cj – Zj – 5M – 1 0 – 4M– 2 –M 0
Since, all Cj – Zj ≤ 0, the iteration stops. The solution is optimal. However, this solution is not a feasible solution
because the artificial variable A1 is still present in the basis of the optimal simplex table.
Also the optimal solution x1 = 0 and x2 = 2 violates the second constraint (3x1 + 4x2 ≥ 12). This also indicates that
the LPP has infeasible solution.
Q17. Describe the simplex problem in which multiple solution occur.
Answer :
An LPP can be solved by simplex method or by graphical method. While solving by simplex method in each iteration
index row values (Cj – Zj) are calculated.
In the last iteration i.e., optimal simplex table, all the Cj – Zj values ≤ 0 for maximization case (≥ 0 for minimization case).
Entering variable
Z = 18 Zj 6 6 0 0 –6
C j – Zj 0 –2 0 0 6
Tableau-III
Cj
6 4 0 0 0 Remarks Formuale
CB B XB x1 x2 S1 S2 S3
0 S1 14 0 5/3 1 –2/3 0 No entering R1 = R1 − (2 × R2 )
* *
R3 = R3 + (1 × R2 )
* *
6 x1 8 1 2/3 0 1/3 0 identified
Z = 48 Zj 6 4 0 2 0
Cj – Zj
0 0 0 –2 0
Z = 48 Zj 6 4 0 2 0
Cj – Z j
0 0 0 –2 0
Tableau-V
R1* = R1 Old × 3 / 5
Cj 3 9 0 0
CB BV XB x4 x2 S1 S2 Min ratio
0 S1 8 1 4 1 0 8/4=2
0 S2 4 1 2 0 1 4/2=2 ←
Zj 0 0 0 0
Cj – Zj 3↑
3 9↑ 0 0
Since, there is a tie in the minimum ratio column it is an indication of degeneracy. To resolve degeneracy we select
the least value from the entering column that is from (4 and 2). As the least value is 2 we select the row 2 as the key row.
Working Notes
New x2
4/2 = 2, 1/2, 2/2 = 1, 0/2 = 0, 1/2
New S1
8 – (4 × 2) = 0
1
1 – (4 × )=–1
2
4 – (4 × 1) = 0
1 – (4 × 0) = 1
1
0 – (4 × )=–2
2
First Iteration
Cj 3 9 0 0
CB BV XB x1 x2 S1 S2
0 S1 0 –1 0 1 –2
9 x2 2 1/2 1 0 1/2
Zj 9/2 9 0 9/2
Cj – Zj –3/2 0 0 –9/2
Answer :
Duality Principle
For every linear programming problem there is a unique linear programming problem associated with it, involving
the same data and closely related optimal solutions. The original (given) problem is called “the primal problem” while the
other is called its “dual”. But, in general, the two problems are said to be duals to each other.
M A1 2 1 1 1 1 –1 0 1 0 2/1 = 2
M A2 1 2 1 –1 –2 0 –1 0 1 1/2 = 0.5 →
Zj 3M 2M 0 –M –M –M M M
Cj – Zj 10 – 3M 6 – 2M 2 M M M 0 0
↑
w1 is an entering variable
A2 is a leaving variable, key element is ‘2’.
Modified Values
Key row is,
Old row values
New row values =
Key element
R2 = R2 (old) ÷ 2
(New)
XB w1 w2 w3 w4 S1 S2 A1 A2
1 1 –1 –1 1
1 –1 0 0
2 2 2 2 2
Values of other rows = Old values – [Corresponding old value in key column × Corresponding new value in key
row in same column]
XB w1 w2 w3 w4 S1 S2 A1 A2
R1 new, 3 0
1 3
2 –1
1
1
–1
2 2 2 2 2
Iteration: 2
A1 is a leaving variable
w4 is an entering variable, key element is ‘2’.
Modified Values
Old row values
Key row values =
Key element
3
2
R1 new =
2
Other row values = Old values – [Corresponding old value in key column × Corresponding new value in key row
in same column]
1 3
R2 new = – –1 ×
2 4
XB w1 w2 w3 w4 S1 S2 A1 A2
5 3 1 –1 –1 1 1
1 0
4 4 4 2 4 2 4
Iteration: 3
Cj 10 6 2 1 0 0 M M Min ratio
CB BV XB w1 w2 w3 w4 S1 S2 A1 A2 (XB/w2)
3/ 4
1 w4 3/4 0 1/4 3/4 1 –1/2 1/4 1/2 –1/4 =3
1/ 4
Zj 10 1
Cj – Zj 0 0
↑
w1 is a leaving variable
3
w2 is an entering variable, key element is .
4
Modified Values
5
4
Key row values = R2 =
3
4
XB w1 w2 w3 w4 S1 S2 A1 A2
R2 new, 5 4 1 –2 –1 2 1
1 0
3 3 3 3 3 3 3
Values of other row,
3 1 5
R1 new = – ×
4 4 3
XB w1 w 2 w3 w4 S1 S2 A1 A2
1 –1 2 –1 1 1 –1
0 1
3 3 3 3 3 3 3
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.41 Problem
Iteration: 4
Cj 10 6 2 1 0 0 M M Min ratio
CB BV XB w1 w2 w3 w4 S1 S2 A1 A2 (XB/w3)
5/3
6 w2 5/3 4/3 1 1/3 0 –2/3 –1/3 2/3 1/3 =5
1/ 3
Zj 6 1
Cj – Zj 0 0
↑
w4 is a leaving variable
2
w3 is an entering variable, key element is .
3
Modified Values
1
1
3
Key row values = R2 = =
2 2
3
XB w1 w 2 w3 w4 S1 S2 A1 A2
R2 new, 1 –1 3 –1 1 1 –1
0 1
2 2 2 2 2 2 2
Values of other row,
5 1 1
R1 new = – ×
3 3 2
XB w1 w2 w3 w4 S1 S2 A1 A2
3 3 –1 –1 –1 1 1
1 0
2 2 2 2 2 2 2
Iteration: 5
Cj 10 6 2 1 0 0 M M
Min ratio
CB BV XB w1 w2 w3 w4 S1 S2 A1 A2
2 w3 1/2 –1/2 0 1 3/2 –1/2 1/2 1/2 –1/2
6 w2 3/2 3/2 1 0 –1/2 –1/2 –1/2 1/2 1/2
Zj 10 8 6 2 0 –4 –2 4 2
Cj – Zj 2 0 0 1 4 2 4M 2M
Since, all Cj – Zj ≥ 0, the current solution is optimal. The optimum solution of the dual is,
3 1
w1 = 0, w2 = , w3 = , w4 = 0 and minimum of w = 10
2 2
1 3
i.e., 2 × + 6 × = 10
2 2
∴ The optimal solution of the primal is,
x1 = 4, x2 = 2 with maximum of z = 10.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.42 Quantitative analysis for business decisions
m Destination
∑x
i =1
ij = bj for j = 1, 2,..., n
Source
D1 D2 D3 D4
Total
Q22. What are the different methods of finding To obtain IBFS, any one of the three methods viz
initial feasible solution? Discuss briefly North NWCM, LCM, VAM can be choosen.
West Corner Method. Let us solve using NWCM.
Answer :
Step 1
Methods for Finding Initial Feasible Solution
The following are the methods of finding initial The north west corner cell, i.e., (O1, D1) is choosen.
feasible solution, Step 2
1. North West Corner Method (NWCM). The minimum of supply and demand (30, 20) is 20.
2. Least Cost Method (LCM). Allocate 20 units to cell (O1, D1).
3. Vogel’s Approximation Method (VAM).
Step 3
North West Corner Method
Adjust supply and demand. Since, demand for first
North West Corner Method (NWCM Algorithm) is
given below, destination is exhausted move to cell (O1, D2).
1. The cell (1, 1) in the north west corner (i.e., upper Tableau-I
left) of the transportation matrix is choosen first and Total
as many units as possible is allocated to the cell. This D1 D2 D3 D4
will be equal to the minimum of available supply and
demand requirement. O1 1 20 2 1 4 30 10
2. Adjust the supply and demand as per the allocations O2 3 3 2 1 50
made.
O3 4 2 5 9 20
3. (i) If the supply for the first source (row) is
exhausted, then move vertically down and make Total 20 40 30 10 100
allocation in the second row and first column,
0
i.e., cell (2, 1).
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.44 Quantitative analysis for business decisions
Step 4 Tableau-VI
Repeat the procedure of allocation as in step 2 and D1 D2 D3 D4 Total
step 3. Now cell O1, D2 is choosen. The minimum of supply O1 1 2 1 4 30 10 0
and demand (10, 40) is 10. Allocate 10 units to cell O1, D2. 20 10
Adjust the supply and demand. O2 3 3 2 1 50 20 0
Tableau-II 30 20
D1 D2 D3 D4 Total O3 4 2 5 9 20 10 0
10 10
O1 1 2 1 4 30 10 0 Total 20 40 30 10
20 10 0 30 10 0
0 0
O2 3 3 2 1 50
Total cost of transportation = ΣCij .xij
O3 4 2 5 9 20
Where,
Total 20 40 30 10
Cij = Unit cost of transportation
0 30
Tableau-III xij = Number of units allocated.
D1 D2 D3 D4 Total = (1 × 20) + (2 × 10) + (3 × 30) + (2 × 20)
+ (5 × 10) + (9 × 10)
O1 1 2 1 4 30 10 0
= 20 + 20 + 90 + 40 + 50 + 90 = ` 310
20 10
O2 3 3 2 1 50 20 2.7.1 Least Cost Method (LCM) or
30 Matrix Minimum Method
Q23. Explain the method to get an initial basic
O3 4 2 5 9 20
feasible solution by least cost entry method.
Total 20 40 30 10 Answer :
0 30 Least cost method is also known as lowest cost entry
0 method or matrix minima method. To achieve the objective
Tableau-IV of minimum transportation cost, this method consider those
D1 D2 D3 D4 Total routes (or cells) with least unit transportation cost to transport
the goods. The steps of LCM are as follows,
O1 1 2 1 4 30 10 0
20 10 Step 1
O2 3 3 2 1 50 20 0 The cell with the smallest unit cost of transportation
30 20 is choosen and as many units as possible are allocated to that
cell. If there is a tie in the least cost, the cell where maximum
O3 4 2 5 9 20 allocation is possible is choosen.
Total 20 40 30 10 Step 2
0 30 10
Adjust the supply and demand for the allocation
0
made and eliminate (strike out) the row or column in which
Tableau-V either supply or demand is exhausted. If both are exhausted
D1 D2 D3 D4 Total simultaneously, both must be eliminated simultaneously.
O1 1 2 1 4 30 10 0 Step 3
20 10
Repeat steps (1) and (2) with the next smallest unit
O2 3 3 2 1 50 20 0
cost of transportation among the remaining cells (uncrossed-
30 20
out cells).
O3 4 2 5 9 20 10
10
Step 4
Total 20 40 30 10 Continue the procedure until the entire available
0 30 10 supply at various sources and entire demand at various
0 0 destinations are satisfied.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.45 Problem
Tableau-II
Problem on LCM
D1 D2 D3 D4 Total
1. Consider the following transportation problem.
O1 1 2 1 4 30 0
Destination 30
Source Total O2 3 3 2 1 50 40
D1 D2 D3 D4 10
O1 1 2 1 4 30 O3 4 2 5 9 20
Total 20 40 30 10
O2 3 3 2 1 50 0 0
O3 4 2 5 9 20 Tableau-III
D1 D2 D3 D4 Total
Total 20 40 30 10 100
O1 1 2 1 4 30 0
Determine the initial feasible solution. 30
O2 3 3 2 1 50 40
Solution :
10
This problem was solved using NWCM. Now, let us 0
O3 4 2 5 9 20
solve by LCM. 20
Least Cost Method Total 20 40 30 10
Step 1 20 0 0
The cell with smallest unit cost is choosen. There are Tableau-IV
three cells with cost ‘1’ i.e., (O1, D1), (O1, D3) (O2, D4). The D1 D2 D3 D4 Total
cell with maximum allocation among the least cost cells is O1 1 2 1 4 30 0
chosen. 30
O2 3 3 2 1 50 40 20
Cell Allocation 20 10
(O1, D1) Min(30, 20) = 20 O3 4 2 5 9 20 0
20
(O1, D3) Min(30, 30) = 30 ← Max Total 20 40 30 10
0 20 0 0
(O2, D4) Min(50, 10) = 10
Tableau-V
The cell (O1, D3) is choosen for allocation of 30 units. D1 D2 D3 D4 Total
Step 2 O1 1 2 1 4 30 0
30
Adjust the supply and demand. Eliminate the row or
column for which supply or demand is exhausted. O2 3 3 2 1 50 40 20
20 20 10
Tableau-I O3 4 2 5 9 20 0
D1 D2 D3 D4 Total 20
O1 1 2 1 4 30 Total 20 40 30 10
0
0 20 0 0
30
0
O2 3 3 2 1 50
Note
O3 4 2 5 9 20
In tableau-IV, the least cost cells are (O 2, D 1)
Total 20 40 30 10
0 and (O2, D2). The allocations in these cells are (20, 20)
respectively. As there is tie in not only in least cost cell but
Note also in maximum possible allocation, the choice was made
Since, both O 1 and D 3 are exhausted both are arbitrarily.
eliminated. Total cost of transportation = ΣCij .xij
Step 3 = (1 × 30) + (3 × 20) + (3 × 20) + (1 × 10) + (2 × 20)
Identify the least cost cell among the remaining cells = 30 + 60 + 60 + 10 + 40
i.e., uncrossed cells. Repeat steps with choosen cell until all
the demand and supply are exhausted. = ` 200
Warehouse
Factory W1 W2 W2 Supply
F1 16 20 12 200
F2 14 8 18 160
F3 26 24 16 90
Demand 180 120 150 450
Determine the optimum distribution for this company to minimize shipping costs.
Warehouses
Supply
W1 W2 W3
F1 16 20 12 200
Factories F2 14 8 18 160
F3 26 24 16 90
Demand 180 120 150 450
IBFS using VAM
Penalty
RP4
16 ←
14
40 0
Penalty
CP4 2 – –
Optimal Distribution/Allocation
For Factory F1
X11 = 140, X12 = 0, X13 = 60
For Factory F2
X21 = 40, X22 = 120, X23 = 0
For Factory F3
X31 = 0, X32 = 0, X33 = 90
Total transportation cost is,
= (16 × 140) + (12 × 60) + (14 × 40) + (8 × 120) + (16 × 90)
= ` 2240 + 720 + 560 + 960 + 1440 = ` 5920.
2. Consider the following transportation problem. Determine the initial feasible solution.
Destination
Source Total
D1 D2 D3 D4
O1 1 2 1 4 30
O2 3 3 2 1 50
O3 4 2 5 9 20
Total 20 40 30 10 100
Step 1
Compute row and column penalties by taking the difference between the smallest and next smallest unit cost in each
row and each column.
Step 2
Choose the row or column with largest penalty and make allocations to the least cost cell in that row or column.
Step 3
Adjust the supply and demand. Eliminate the row or column which is exhausted.
Tableau-I
D1 D2 D3 D4 Total Penalty
O1 1 2 1 4 30 0 (1 – 1)
O2 3 3 2 1 50 40 1 (2 – 1)
10
O3 4 2 5 9 20 2 (4 – 2)
Total 20 40 30 10 100
0
Penalty 2 0 1 3 Largest penalty
Tableau-II
Penalty
D1 D2 D3 D4 Total Rp1 Rp2
O1 1 2 1 4 30 10 0 0
20
O2 3 3 2 1 50 40 1 1
10
O3 4 2 5 9 20 2 2
Total 20 40 30 10 100
Largest penalty
0 0
Cp1 2 0 1 3
Penalty
Cp2 2 0 1 –
Largest penalty
Note
Tie in largest penalty. Choice is made based on least cost cell i.e., column 1.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.49 Problem
Tableau-III
Penalty
D1 D2 D3 D4 Total Rp1 Rp2 Rp3
O1 1 2 1 4 30 10 0 0 1
20
O2 3 3 2 1 50 40 1 1 1
10
O3 4 2 5 9 20 0 2 2 3
20
Total 20 40 30 10 100 Largest penalty
0 20 0
Cp1 2 0 1 3
Penalty Cp2 2 0 1 –
Cp3 – 0 1 –
Tableau-IV
Tableau-V
Penalty
D1 D2 D3 D4 Total Rp1 Rp2 Rp3 Rp4 Rp5
O1 1 2 1 4 30 10 0 0 0 1 1 –
20 10
O2 3 3 2 1 50 40 20 1 1 1 1 1
20 10
O3 4 2 5 9 20 0 2 2 3 – –
20
Total 20 40 30 10 100
0 20 20 0
0
Cp1 2 0 1 3
Cp2 2 0 1 –
Penalty Cp3 – 0 1 –
Cp4 – 1 1 –
Cp5 – 3 2 –
0
20
Only left out cell is cell (O2, D3) make the allocation of balance 20 units.
Total transportation cost = ΣCij.xij
= (1 × 20) + (1 × 10) + (3 × 20) + (2 × 20) + (1 × 10) + (2 × 20)
= 20 + 10 + 60 + 40 + 10 + 40 = 180
Answer :
MODI method or u-v method is an optimal solution technique for Transportation Problem (TP). The algorithm of
MODI method is as follows,
(a) Determine an Initial Basic Feasible Solution (IBFS) using any one of three methods viz NWCM, LCM, VAM.
(b) Ensure that the number of occupied cells is exactly equal to (m + n – 1) where m is number of rows and n is number
of columns.
(If number of occupied cells < (m + n – 1) it is called degeneracy and separate procedure has to be adopted to solve).
(c) Determine a set of numbers for each row and each column. To compute ui and vj form from the equations Cij = ui + vj for
each of the occupied cell. Assign zero to one of the variables (ui or vj) and solve the equations to get the set of
numbers.
(d) Compute the opportunity cost (improvement index) using ∆ij = Cij – (ui + vj) for each of the unoccupied cell.
(e) Check the sign of each opportunity cost. If the opportunity costs of all unoccupied cells is ≥ 0, negative, then the
current solution is the optimal solution. If not, then it implies that the current solution can be improved i.e., total
transportation cost can be reduced and go to step ‘f ’.
(f) Select the unoccupied cell with the largest negative opportunity cost.
(g) Trace a closed path (loop) for the chosen unoccupied cell.
(h) Start with a plus (+) sign at the unoccupied cell and assign alternate plus (+) and minus (–) signs on each corner of the
closed path.
(i) Determine the minimum number of units that should be shipped to this unoccupied cell. The smallest cell with a
negative position is chosen. The quantity is added to all the cells on the path marked with plus (+) sign and subtracted
from those cells marked with minus (–) sign.
(j) Repeat the whole procedure until an optimum solution is attained i.e., when all opportunity costs are either positive
or zero.
CP3 - 1 1 0
CP4 - 9 15 8
CP5 - 9 - 8
CP6 - - - 8
Number of allocation = 6
M + n – 1 = 4 + 3 – 1
=7–1=6
∴ Total transportation cost
= (5 × 7000) + (9 × 6000) + (15 × 1000) + (8 × 1000) + (6 × 6000) + (8 × 4000)
= 35000 + 54000 + 15000 + 8000 + 36000 + 32000
= 1, 80, 000
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.52 Quantitative analysis for business decisions
Optimality Check through Modi Method Using Occupied Cells
Cij = ui + vj ; Assume u1 = 0
C13 = u1 + v3 = 5 ; 0 + v3 = 5; v3 = 5
C23 = u2 + v3 = 15; u2 + 5 = 15; u2 = 10
C22 = u2 + v2 = 9; 10 + u2 = 9; v2 = – 1
C24 = u2 + v4 = 8; 10 + v4 = 8; v4 = – 2
C34 = u3 + v4 = 8; u3 – 2 = 8; u3 = 10
C31 = u3 + v1 = 6; 10 + v1 = 6; v1 = – 4
Determining opportunity cost for unoccupied cells using the equations as,
∆ij = Cij – (ui + vj)
∆11 = 10 – (0 – 4) = 10 + 4 = 14
∆12 = 8 – ( 0 – 1) = 8 – 1 = 9
∆14 = 4 – (0 – 2) = 4 + 2 = 6
∆21 = 7 – (10 – 4) = 7 – 6 = 1
∆32 = 10 – (10 –1) = 10 – 9 = 1
∆33 = 14 – (10 + 5) = 14 – 15 = – 1
Since, we have a negative value in cell (3, 3), the solution is not optimum. Construct a loop from cell (3, 3)
with ‘+’ sign.
14 9 7000 6
10 8 5 4 u1 = 0
7000
10 8 5 4 u1 = 0
6000 2000 u2 = 9
7 9 15 8
6000 1000 3000 u3 = 9
6 10 14 8
v1 = – 3 v2 = 0 v3 = 5 v4 = – 1
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.53 Problem
Occupied Cells
Assume u1 = 0
u1 + v3 = 5; 0 + v3 = 5; v3 = 5
u3 + v3 = 14; u3 + 5 = 14; u3 = 9
u3 + v4 = 8; 9 + v4 = 8; v4 = – 1
u2 + v4 = 8; u2 + ( – 1) = 8 ; u2 = 9
u2 + v2 = 9; 9 + v2 = 9; v2 = 0
u3 + v1 = 6; 9 + v1 = 6; v1 = – 3
Unoccupied Cells
∆ij = Cij – (ui + vj)
∆11 = 10 – (0 – 3) = 10 + 3 = 13
∆12 = 8 – (0 + 0) = 8
∆14 = 4 – (0 – 1) = 4 + 1 = 5
∆21 = 7 – (9 – 3) = 7 – 6 = 1
∆23 = 15 – (9 + 5) = 15 – 14 = 1
∆32 = 10 – (9 – 0) = 10 – 9 = 1
Since there are no negative values in unoccupied cells, the solution is optimal,
Total transportation cost,
= ( 5 × 7000) + (9 × 6000) + (8 × 2000) + (6 × 6000) + (14 × 1000) + (8 × 3000)
= ` 1,79,000/-
(b) The above solution is unique there is no other transportation schedule which is equality attractive.
(c) 5000 quintals of cement are to be transported from c to y. The balance suply from factory c will be 5,000 quintals
and balance demand at y will be 3000 quintals as shown below.
Distribution Centres Monthly Penalties (RP)
Factory Production RP1 RP2 RP3 RP4 RP5 RP6
W X Y Z (Quintals)
3000 4000
↑
4000 1 4 – – – –
A 10 8 5 4
7000
1000 6000 1000 1000
↑
B 7 9 15 8 2000 1 1 1 1 1 7
8000
5000
↑
2 2 2 – – –
C 6 10 14 8 5000
6000 5000
6000 3000 20000
1000 1000
Penalty
CP1 1 1 9↑ 4
(CP)
CP2 1 1 – 4
CP3 1 1 – 0
CP4 7 1 – 8
CP5 7 9↑ – 8↑
CP6 7↑ – – –
Since there are no negative values in unoccupied cells, the solution is optimal,
Total transportation cost,
= (5 × 3000) + (4 × 4000) + (7 × 1000) + (9 × 6000) + (8 × 1000) + (6 × 5000) + (14 × 5000) (Route C – Y)
= 15,000 + 16,000 + 7,000 + 54,000 + 8,000 + 30,000 + 70,000
= 2,00,000.
2. For the transportation problem given by the following tableau, find an initial basic feasible solution by
the North-West corner method and then find an optimal solution.
D E F G H Supply
A 10 15 10 12 20 8
B 5 10 8 15 10 7
C 15 10 12 12 10 10
Demand 5 9 2 4 5
5 3
10 u1 = 0 The Minimum negative allocation is ‘– 1’. Add this
10 15 12 20
to cell with ‘+’ sign and subtract from cell with ‘–’ sign as
6 1 follows,
5 10 8 15 10 u2 = – 5
1 4 5 (3, 2): 0 + 1 = 1
15 u =–1
10 12 12 10 3
(3, 3): 1 – 1 = 0
v1 =10 v2 = 15 v3 = 13 v4 = 13 v5 = 11
(2, 2 ): 6 – 1 = 5
Occupied cells
(2, 3): 1 + 1 = 2
Cij = ui + vj (Assume, u1 = 0)
The improved feasible solution is (with modified
C11 = u1 + v1 = 10 Þ 0 + v1 = 10 Þ v1 = 10 allocations)
C12 = u1 + v2 = 15 Þ 0 + v2 = 15 Þ v2 = 15
5 3
10 15 10 12 20 u1 = 0
C22 = u2 + v2 = 10 Þ u2 + 15 = 10 Þ u2 = – 5
5 5 2
C23 = u2 + v3 = 8 Þ – 5 + v3 = 8 Þ v3 = 13 10 8 15 10 u2 = – 5
1 4 5
C33 = u3 + v3 = 12 Þ 43 + 13 = 12 Þ u3 = – 1 u =–5
15 10 12 12 10 3
v1 =10 v2 = 15 v3 = 13 v4 = 17 v5 = 15
C34 = u3 + v4 = 12 Þ – 1 + v4 = 12 Þ v4 = 13
C11 = u1 + v1 = 0 + v1 = 10 Þ v1 = 10 5 3
20 u1 = 0
10 15 10 12
C12 = u1 + v2 = 0 + v2 = 15 Þ v2 = 15 5 5 2
10 8 15 10 u2 = 0
C22 = u2 + v2 = u2 + 15 = 10 Þ u2 = – 5 4 1 5
u3 = 0
15 10 12 12 10
C23 = u2 + v3 = – 5 + v3 = 8 Þ v3 = 13 v1 =10 v2 = 10 v3 = 8 v4 = 12 v5 = 10
C32 = u3 + v2 = u3 + 15 = 10 Þ u3 = – 5
Testing the solution for optimality.
C34 = u3 + v4 = – 5 + v4 = 12 Þ v4 = 17
Determine ui and vj using occupied cells assuming
C35 = u3 + v5 = – 5 + v5 = 10 Þ v5 = 15 u1 = 0,
T 25 = C25 – (u2 + v5) = 10 – (– 5 + 15) = 0 Determining opportunity cost for unoccupied cells.
The equation is T ij = Cij – (ui + vj),
T31 = C31 – (u3 + v1) = 15 – (– 5 + 10) = 10
T12 = C12 – (u1 + v2) = 15 – (0 + 10) = 5
T33 = C33 – (u3 + v3) = 12 – (– 5 + 13) = 4
T13 = C13 – (u1 + v3) = 10 – (0 + 8) = 2
Since the opportunity cost for the two cell is negative, T15 = C15 – (u1 + v5) = 20 – (0 + 10) = 10
the current solution can be improved. Draw a loop from cell
(1, 4) having the largest negative opportunity cost ( – 5). T 21 = C21 – (u2 + v1) = 5 – (0 + 10) = – 5
(1, 2) : 3–3=0 5 – 3 +
20
10 15 10 12
(1, 4) : 0+3=3 + 5 5 – 2
10 8 15 10
(3, 2) : 1+3=4
4 1 – 5
(3, 4) : 4–3=1 15 + 10 12 12 10
T15 = C15 – (u1 + v5) = 20 – (0 + 15) = 5 T12 = C12 – (u1 + v2) = 15 – (0 + 15) = 0
Destination
Source Supply
1 2 3 4
1 15 18 22 16 30
2 15 19 20 14 40
3 13 16 23 17 30
Demand 20 20 25 35 100
Is the optimal solution obtained by you a unique one? If not, why? What are the alternate optima
then?
Solution : Feb.-17, Q4
Let us obtain optimal transportation problem by using VAM to get IBFs and Modi to get optimal solution.
Vogel’s Approximation Method
Tableau - I
Source Destination Supply Penalty
1 2 3 4 Rp1 Rp2 Rp3 Rp4
10 20 ¬
1 15 16 30 20 1 2 4 4
18 22
5 35 ¬
2 40 50 1 5 1 1
15 19 20 14
20 10 ¬ ¬ –
3 30 10 0 3 1 7
13 16 23 17
Demand 20 0 20 10 25 20 0 35 0 100
Penalty Cp1 2 2 2 2
Cp2 – 3 2 2
Cp3 – 3 2 –
Cp4 – 1 2 –
8 7
100
0
– –
– –
– 17 25 ↑
– 17 ↑ –
Total transportation cost,
ΣCij.xij = (17 × 100) + (25 × 200) + (15 × 300) + (10 × 200) + (0 × 300)
= 1700 + 5000 + 4500 + 2000 + 0
= 13,200
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.61 Problem
Optimal Solution using MODI Method
Checking the IBFS
Number of occupied cells = 5
m + n – 1 = 3 + 3 – 1 = 5
Since, the number of occupied cells is equal to m + n – 1.
(a) Determining ui and vj values for occupied cells using, Cij = ui + vj
(b) Determining ∆ij for unoccupied cells using,
∆ij = Cij – (ui + vj) or ∆ij = Cij – ui – vj
The results are shown in tableau-III.
Tableau-III
W1 W2 W3 Availability ui
A 25 17 25 300 0
3 100 200
B 15 10 18 500 –7
300 200 0
C 0 0 0 300 – 25
3 8 300
Since, ∆ij ≥ 0 for all unoccupied cells, the current solution is optimal one.
Optimal Solution
To
D E F G H
A 5 8 6 6 3
From B 4 7 7 6 5
C 8 4 6 6 4
Determine an optimum distribution for the company in order to minimize the total transportation cost.
(Model Paper-III, Q5(b) | Aug./Sept.-15, Q5)
OR
Solve the following transportation problem for optimal solution,
P Q R S T Supply
A 5 8 6 6 3 8
B 4 7 7 6 5 5
C 8 4 6 6 4 9
Demand 4 4 5 4 8 22
25
Solution : Sept.-14, Q5
Note: The only difference between two questions i.e., Sept.-14, Q5 and Aug./Sept.-15 is that demand and supply values
are given in hundreds.
Stores
Production
D E F G H capacity
A 5 8 6 6 3 800
Factories
B 4 7 7 6 5 500
C 8 4 6 6 4 900
D E F G H Penalty
5 3 ←
A 5 8 6 6 3 8 2 2 2 3 3 –
3
4 1 ←
B 4 7 7 6 5 5 1 1 1 1 1 1 1 1
4 5 ←
C 8 4 6 6 4 9 0 0 0 0 2 2
5
D 3
0 0 0 0 0 3 0 – – – – –
(Dummy)
4 4 5 41 8
5
4 4 6 6↑ 3
4 4 6↑ 0 1
Penalty 4↑ 4 – 0 1
– 4↑ – 0 1
– – – 0 1
– – – 0 1
4 7 7 6 5
B 4 1 5
3 4 6 6 4
C 4 5 9
0 0 0 0 0 4
D 3
25
Demand 4 4 5 4 8
25
u2 + v1 = 4
u2 + v4 = 6
u3 + v2 = 4
u3 + v5 = 4
u4 + v4 = 0
There are 9 shadow values, but 8 equations available.
Assume u1 = 0 and solve remaining values.
u1 = 0 v1 = 5
u2 = – 1 v2 = 3
u3 = 1 v3 = 6
Optimality Test for Occupied Cells
u4 = – 7 v4 = 7, v5 = 3
Consider unoccupied cells and find their net evaluations. Cij = ui + vj for allocated cells
C33 – u3 – v3 = 6 – 1 – 6 = – 1 u4 + v4 = 0
C34 – u3 – v4 = 6 – 1 – 7 = – 2 For Unoccupied Cells
C41 – u4 – v1 = 0 + 7 – 5 = + 2 ∆11 = 5 + 1 – 4 = 2
C42 – u4 – v2 = 0 + 7 – 3 = + 4 ∆12 = 8 + 1 – 4 = 5
C43 – u4 – v3 = 0 + 7 – 6 = + 1
∆14 = 6 + 1 – 6 = 1
C45 – u4 – v5 = 0 + 7 – 3 = + 4
∆22 = 7 + 0 – 4 = 3
D E F G H
∆23 = 7 + 0 – 7 = 0
∆25 = 5 + 0 – 4 = 1
∆31 = 8 + 0 – 4 = 4
∆33 = 6 + 0 – 7 = – 1
∆41 = 0 + 6 – 4 = 2
∆42 = 0 + 6 – 4 = 2
∆43 = 0 + 6 – 7 = –1
∆45 = 0 + 6 – 4 = 2
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.65 Problem
Consider –ve cells & from loop from cell (3,3) Since, all ∆ij 0 the solution obtained here is an
[500 – θ , 500 – θ ] minimum positive value θ = 500 optimal one.
= [(3 × 8) + (4 × 4) + (6 × 1) + (4 × 4) + (6 × 3)] × 10
Modified allocation table,
= [24 + 16 + 6 + 16 + 12 + 18] × 10
Minimum total transportation cost = 9,20
B D 4×4 16
B G 6×1 6
C E 4×4 16
C F 6×5 30
As there occurs degeneracy at this stage, include
one more ‘∈’ at (3,1) cell to resolve it. C G 6×∈ ∈
Check optimality for Occupied Cells D G 0×3 O
u1 + v3 = 6 u1 = 0 v1 = 4 2. Solve the following transportation problem (cell
entries represent unit costs):
u1 + v5 = 3 u2 = 0 v2 = 4
u2 + v1 = 4 u3 = 0 v3 = 6 Source Warehouses
Availability
destination 1 2 3 4 5 6
u2 + v4 = 6 u4 = – 6 v4 = 6
Plant 1 5 3 7 3 8 5 3
u3 + v2 = 4 v5 = 3 Plant 2 5 6 12 5 7 11 4
u3 + v3 = 6 Plant 3 2 1 3 4 8 2 2
Plant 4 9 6 10 5 10 9 8
u3 + v4 = 6
Required 3 3 6 2 1 2
u4 + v4 = 0
Solution : March-15, Q5
For Unoccupied Cells
Given that,
∆11 = 5 – 0 – 4 = 1
Sources Warehouses
Availability
∆12 = 8 – 0 – 4 = 4
Destination 1 2 3 4 5 6
∆14 = 6 – 0 – 6 = 0
Plant 1 5 3 7 3 8 5 3
∆22 = 7 – 0 – 4 = 3 Plant 2 4
5 6 12 5 7 11
∆23 = 7 – 0 – 6 = 1 Plant 3 2 1 3 4 8 2 2
∆25 = 5 – 0 – 3 = 2 Plant 4 9 6 10 5 10 9 8
∆31 = 8 – 0 – 4 = 4 17
Required 3 3 6 2 1 2
17
∆33 = 4 – 0 – 3 = 1
∆41 = 0 + 6 – 4 = 2 Total availability = 17
R6 R7
C6
C7 1
Checking the IBFS
m+n–1=4+6–1=9
Number of occupied cells = 8
Since the number of occupied cells is less than m + n – 1, degeneracy has occurred. To resolve degeneracy, add a
small value ‘∈’ (epsilon) to the least cost cell.
Adding ‘∈’ to (3, 2) cell.
1 2 3 4 5 6 Availability
Plant 1 1 3 7 3 8 5 3
1 2
Plant 2 5 6 12 5 7 11 4
3 1
Plant 3 2 1 3 4 8 2 2
∈ 2
Plant 4 9 6 10 5 10 9 8
2 4 2
Requirement 3 3 6 2 1 2 17
Therefore, the total transportation cost is,
= (3 × 1) + (5 × 2) + (5 × 3) + (7 × 1) + (1 × ∈) + (3 × 2) + (6 × 2) + (10 × 4) + (5 × 2)
= 3 + 10 + 15 + 7 + 0 + 6 + 12 + 40 + 10
= ` 103
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.67 Problem
OR
What are the assumptions in a linear programming problem? Aug./Sept.-15, Q1(b)
Figure
Assumptions of LPP
A Linear Programming Problem (LPP) has the following assumptions,
1. Proportionality
This assumption is for both the objective function and the constraints.
2. Additivity
Every function in a linear programming model (whether the objective function or the function on the left hand side
of a functional constraint) is the sum of the individual contributions to the respective activities.
3. Divisibility
Decision variables in a linear programming problem are allowed to have any values including non-integer values
that satisfy the functional and non-negative constraints. Thus, these variables are not restricted to just integer values.
4. Certainty (Deterministic)
The value assigned to each parameter of an LP model is assumed to be known as constant. In real applications, the
certainty assumption is thus satisfied precisely.
5. Multiplicatively
It can be explained with the help of an example if one person takes two hours on one machine, 10 persons will take
20 hours on the same machine.
Every planning model require some basic assumptions likewise linear programming model is also based on the
above assumptions. The significance of these assumptions is dependent on the way which is in formulation of a matrix or
planning exercise. For the purpose of attaining best solution the assumptions to LPP can also be modified.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.68 Quantitative analysis for business decisions
Q2. Discuss applications of linear programming.
Answer :
Applications of Linear Programming are as follows,
1. Production Management
Linear programming can be applied in production management for determining product mix, product smoothing,
assembly time balancing, production scheduling and blending problem.
2. Marketing Management
Linear programming can be applied in marketing area by helping in analysing the effectiveness of advertising
campaign, advertising media mix and the shortest route for travelling salesman.
3. Manpower Management
LP allows the human resource to analyse personal policy combinations in terms of their appropriateness for maintaining
a steady-state flow of people into the firm and out of the firm.
4. Transportation Problem
LP helps in determining the optimum transportation schedule with minimum total transportation cost of moving
goods from various origins to various destinations.
Q3. What do you mean by graphical method of LPP?
Answer :
Graphical method is a simple method to understand and also to use. This is effectively used in LPP’s which involves
only 2 variables. It gives the graphical representation of the solutions.
All types of solutions are highlighted in this method very clearly. The only drawback is that more the number of
constraints, more will be the straight lines which makes the graph difficult to understand. Some of the characteristics of
graphical method are as follows,
1. This method is very simple and easy to understand.
2. It is very sensitive analysis and can be illustrated easily by drawing graphs.
3. Under this it is easy to obtain optimal solution.
4. It consumes very less time.
Q4. Discuss any four limitations of linear programming.
Answer : March-15, Q1(b)
The following are the limitations of linear programming,
1. The major limitation of linear programming is that it treats all relationship as linear.
2. The decision variables in some LPP would be meaningful only if they have integer values. But, sometimes we get
fractional values to the optimal solution, where in practise only integer values are used.
3. All the parameters in the linear programming model are assumed to be known as constants. But, in real life they
may not be known completely or they may be probabilistic and they may be liable for changes from time to time.
4. The problems are complex if the number of variables and constraints are quite large.
Q5. (i) What is an artificial variable and why is it necessary to introduce it?
(ii) Why is an artificial vector which leaves the basis once never considered again for re-entry into
the basis?
Answer : Feb./March-16, Q1(b)
(i) In case of linear programming problems where constraints have ‘≥’ sings, a slack variable (s) is subtracted from
the constraint in order to convert the inequality constraint into equality constraints.
Example
Constraint, 3x + 4y ≥ 20
Now, subtracting slack variables from the constraint as follows,
3x + 4y – S = 20
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation 2.69 Problem
Inequality constraint is converted into quality constraint. x and y are no-basic variables and S is a starting basic
variable. If we consider the value of x and y as 0 ‘zero’ than the value of S will be ‘–20’. (i.e., S = –20). Under this
situation, initial basic feasible solution cannot be obtained as the value of S is infeasible.
In order to get initial basic feasible solution and to continue further to obtain optimum solution, a new type of variable
known as the ‘artificial variable’ (A) is introduced. Artificial variables are fictitious variables. Big M method and
two phase method are the two methods wherein artificial variables are used.
(ii) In simplex method, an artificial vector which leaves the basis once never considered again for re-entry into the basis
because the coefficient of such variable becomes non-negative. The variables with negative coefficient can only
enter the basis in the next iteration.
Q6. Explain the following in the context of a LP problem:
(i) Basic solution
(ii) Basic Feasible Solution (BFS)
(iii) Unbounded solution.
Answer : (Model Paper-I, Q1(b) | Aug.-17, Q1(b))
(i) Basic Solution
For a general LP with ‘n’ variables and ‘m’ constraints, a basic solution can be found by setting (n – m) variables
equal to zeros and solving the constraint equations for the value of other m variables. If a unique solution exists, it is a
basic solution.
(ii) Basic Feasible Solution (BFS)
It refers to the set of constraints corresponding to the extreme point of the feasible region.
(iii) Unbounded Solution
Unbounded solution indicates linear programming problem that do not have finite solutions.
Example if in a maximization problem the solution variable can be made infinitely large without violating a constraint
it indicates unbounded solution. In simplex method, this situation can be recognized at the time of deciding the leaving
variables.
If at any iteration, the minimum ratio columns consists of either negatives or infinities, then no variable can be
choosen to leave the basis. Such a situation is called unbounded solution to LPP.
Q7. Briefly explain the concept of degeneracy in LPP.
Answer :
The concept of obtaining a degenerate basic feasible solution in a LPP is known as degeneracy. Degeneracy in a
LPP may arise,
(i) At the initial stage when atleast one basic variable is zero in the initial basic feasible solution.
(ii) At any subsequent iteration when more than one basic variable is eligible to leave the basis and hence one or more
variables becoming zero in the next iteration and the problem is said to be degenerate. There is no assurance that
the value of the objective function will improve, since the new solutions may remain degenerate. As a result it is
possible to repeat the same sequence of simplex iterations endlessly without improving the solutions. This concept
is known as cycling or circling.
Q8. State duality principle.
Answer :
For every linear programming problem there is a unique linear programming problem associated with it, involving
the same data and closely related optimal solutions. The original (given) problem is called “the primal problem” while the
other is called its “dual”. But, in general, the two problems are said to be duals to each other.
The importance of the duality concept is due to two main reasons. Firstly, if the primal contains a large number of
constraints and a smaller number of variables, the work of a computations can be considerably reduced by converting into
the dual problem and then solving it. Secondly, the interpretation of the dual variables from the cost or economic point of
view proves extremely useful in making future decisions in the activities being programmed.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
2.70 Quantitative analysis for business decisions
Q9. What are the types of transportation problem?
Answer :
There are two types of transportation problem. They are,
1. Balanced Transportation Problem
A balanced transportation problem is that in which the total of supplies of all the sources is equal to the total of the
demands of all the destinations. It can be mathematically represented as,
m n
ai = ∑i =1
∑b j
j =1
An unbalanced transportation problem refers to a situation where in the sum of supplies of all the sources does not
match with the sum of the demands of all the destinations. Mathematically, it can be represented as,
m n
∑ ai ≠ ∑b
j =1
j
i =1
When this rim condition is violated, i.e., the total supply is not equal to the total demand, the transportation problem
is said to be an unbalanced one. There are two types of unbalanced TP are,
(a) Total supply exceeds total demand
(b) Total demand exceeds total supply.
Q10. State the different steps required in solving LPP by graphic method.
The steps involved in generating extreme point solution to an LPP in graphical method are as follows,
(a) Formulate the problem in terms of a series of mathematical constraints and an objective function.
(b) Plot each of the Constraints.
(c) Identify the Feasible Region (Solution Space)
To identify this region, adopt the following points,
For > or ≥ type constraints, shade the region which lies above the constraint lines.
For < or ≤ type constraints, shade the region which lies below these lines.
The common shaded region is the feasible region.
(d) Extreme Point Approach
(i) Identify each of the corner or extreme points of the feasible region.
(ii) Compute the profit or cost at each corner point by substituting the point coordinates into the objective function.
(iii) The corner point which gives highest value of Z for maximization case or lowest value of Z for minimization
case is the optimal solution.
(e) Iso Profit/Iso Cost Line Approach
(i) Assume zero profits or costs to draw the objective function line.
(ii) Draw lines parallel to this line. These are called Iso profit or Iso cost lines.
(iii) Choose the line which touches the feasible region.
(iv) Compute Z using the coordinates of this optimal point.
SIA PUBLISHERS and DISTRIBUTORS PVT. LTD.
UNIT-2 Linear Programming Method and Transportation
2.71 Problem
Exercise Problems
1. Solve the following LP problem graphically:
Subject to
4X1 + 6X2 ≤ 90
5X1 + 4X2 ≤ 80
X1 and X2 ≥ 0
Subject to
X1 + X2 + X3 ≤ 9
2X1 – X2 – X3 ≤ 8
X1, X2 and X3 ≥ 0
Subject to
2X1 + 3X2 ≤ 30
3X1 + 2X2 ≤ 24
X1 + X2 ≥ 3
X1 and X2 ≥ 0
(Ans: X1 = 8, X2 = 0 and Z = 48. The model has alternate optima at all points on the line joining the points (2.4, 8.4)
and (8, 0)).
Subject to
– X1 + X2 + X3 ≥ 1
3X1 + X2 – X3 ≥ 2
X1, X2 and X3 ≥ 0
F1 4 2 3 2 6 8
F2 5 4 5 2 1 12
F3 6 5 4 7 7 14
Demand 4 4 6 8 8
What is shipping schedule?
(Ans: x12 = 4, x14 = 4, x24 = 2, x25 = 8, x31 = 4, x33 = 6 and x36 = 4. Total cost = ` 80).
To
I II III Supply
A 5 1 7 10
From B 6 4 6 80
C 3 2 5 15
Demand 75 20 50
Since there is not enough supply, some of the demands at these destinations may not be satisfied. Suppose there are
penalty costs for every unsatisfied demand unit which are given by 5, 3 and 2 for destinations I, II and III, respectively.
Find the optimal solution.
(Ans: x12 = 0, x21 = 60, x22 = 10, x23 = 10, x31 = 5 and x43 = 40. Transportation cost = ` 515. Penalty for transportation
of 40 units to destination 3 at the cost of ` 2 per unit = ` 80. Thus, total cost = 515 + 80 = ` 595 ).
11. ABC Tool Company has a sales force of 25 men, who operate from three regional offices. The company produces
four basic product lines of hand tools. Mr Jain, the sales manager, feels that 6 salesmen are needed to distribute
product line I, 10 to distribute product line II, 4 for product line III and 5 salesmen for product line IV. The cost (in `)
per day of assigning salesmen from each of the offices for selling each of the product lines are as follows:
Product Lines
I II III IV
A 20 21 16 18
Regional Office B 17 28 14 16
C 29 23 19 20
At the present time, 10 salesmen are allocated to office A, 9 to office B and 7 salesmen to office C. How many
salesmen should be assigned from each office to sell each product line in order to minimize costs? Identify alternate
optimum solutions, if any.
(Ans: x12 = 4, x13 = 1, x14 = 5; x21 = 6, x23 = 3, x32 = 2, x35 = 1 Total cost = ` 472
Alternative solution exists because opportunity cost is zero in cell (B, 4) and (C, 4)).
12. A manufacturer wants to ship 8 loads of his product as shown in the table. The matrix gives the mileage from origin
to destination. Shipping costs are ` 10 per load per mile. What shipping schedule should be used?
D1 D2 D3 Supply
O1 50 30 220 1
O2 90 45 170 3
O3 250 200 50 4
Demand 4 2 2
(Ans: x13 = 2, x22 = 1, x23 = 2, x31 = 4 and x33 = 1, Total cost = ` 33).