Unit - 4 PDF
Unit - 4 PDF
PART - A
1. What is OR? Give some applications.
Operations Research has been variously described as the Science of Use,
Quantitative Common sense Scientific approach to decision making
problemetc. But only a few are commonly used and accepted namely
(i)
Operations Research is the application of scientific methods
techniques and tools to problems involving operations of a system so
as to provide those in control of the system with optimum solutions to
the problem.
(ii)
Operations Research is the art of giving bad answers to problems
which otherwise have worse answers.
(iii)
O.R. is a scientific method of providing executive department with a
quantitative basis for decisions regarding the operations under this
control.
(iv)
O.R. is applied decision theory. It use any scientific mathematical or
logical means to attempt to cope with the problems that confront the
executive when he tries to achieve a thorough going rationality in
dealing with his decision problems.
(v)
O.R. is a scientific approach to problems solving for executive
management.
(vi)
O.R. is a scientific knowledge through interdisciplinary team effort for
the purpose of determining the best utilization of limited resources.
2. What do you mean by general LPP?
Linear Programming is a mathematical technique for choosing the best alternative
from a set of feasible alternatives, in situations where the objective function as
well as the restrictions or constraints can be expressed as linear mathematical
function.
3. Give the standard form and canonical form of a LPP
Canonical Form: The general linear programming problem can always be
expressed in the following form.
Max. Z = C1X1 + C2X2 + C3X3 + . + CnXn
Subject to Constraints
a11x1 +a12x2 + a13x3 + + a1nxn b1
a21x1 +a22x2 + a23x3 + + a2nxn b2
a31x1 +a32x2 + a33x3 + + a3nxn b3
..
..
..
a11
a21
a31
a12
a22
a32
a13 . a1n
a23 . a2n
a33 . a3n
.
am1
am2
am3 . amn
4.
5.
6.
7.
8.
Slack Variable: If the constraints of a given LPP be aij xj bi then the nonnegative variable Si which are introduced to convert the inequalities to equalities
aij xj + Si = bi are called slack variables.
Surplus variable: If the constraints of a given LPP be aij xj bi then the
nonnegative variable Si which are introduced to convert the inequality
constraints to the equations aij xj - Si = bi are called surplus variables.
9. What do you mean by degenerate solution in LPP
A basic solution is said to be a degenerate basic solution if one or more of the
basic variables are zero
10. Define a feasible region in graphical method.
A region or a set of points is said to be convex (or) feasible region if the line
joining any two of its points lies completely within the region
11. What is meant by an optimal solution?
Any feasible solution, which optimizes (maximizes or minimizes) the objective
function of the LPP is called its optimum solution or optimal solution.
12. What is the difference between feasible solution and basic feasible solution?
Feasible solution: Any solution to a LPP, which satisfies the non-negativity
restrictions of the LPP is called its feasible solution.
Basic solution: A basic solution is said to be a degenerate basic solution if one
or more of the basic variables are zero.
Basic feasible solution: A feasible solution, which is also basic, is called a basic
Feasible solutions.
13. Define non-degenerate solution
A basic solution is said to be a non-degenerate basic solution if none of the basic
variables is zero.
14. Define unbalanced solution and infeasible solution
Let there exists a basic feasible solution to a given LPP if for at least one j, for
which aij 0 Zj Cj is negative, and then there does not exists any optimum
solution to this LPP
Infeasible solution: If some values of the set of values x1,x2,x3,x4 ..xn
are negative which satisfies the constraints of the LPP is called its infeasible
solution
15. Which are decision variables in the construction of OR problems?
Linear programming problem deals with the optimization ie maximization or
minimization of a function of decision variable. The variables whose values
determine the solution of a problem are called decision variables of the problem.
16. How many basic feasible solutions are there to a given system of m equations in
n Unknowns
Here n > m . There are nCm basic solutions are possible.
17. What is key column and how is it selected ?
By performing the optimality test we can find whether the current feasible
solution can be improved or not. This can be done by performing Cj Ej. If
Cj Ej is positive under any column, at least one better solution is possible. To
find the incoming variable take the highest positive integer in the row Cj Ej,
the variables belongs to highest positive integer column is the incoming
(1) A firm produces 3 products. These products are processed on 3 different machines.
The time required to manufacture one unit of each of the 3 products and the daily
capacity of the 3 machines are given below:
Machine
M1
M2
M3
Product2
3
5
Product3
2
3
-
Machine
Capacity
(Minutes/day)
440
470
430
It is required
to determine
the number of units to be manufactured for each product daily. The profit per unit for
product 1,2 and 3 is Rs4, Rs3, Rs6 respectively. It is assumed that all the amounts
produced are consumed in the market. Formulate the mathematical model for the
problem.
Solution: Maximize Z = 4x1+3x2+6x3
Sub to the constraints
2x1+3x2+2x3 440
4x1+3x2
470
2x1+5x2
430 & x1,x2,x3 0
(2)A firm produces an alloy having the following specifications:
(i) Specific gravity 0.98
(ii) Chromium 8%
(iii) Melting point 450C
Raw materials A, B, C having the properties shown in the table can be used to make the
alloy.
Property
Specific
gravity
Chromium
Melting
point
Raw material
A
B
0.92
7%
0.97
13%
1.04
16%
440C
490C
480C
Cost of the various raw materials per unit ton are: Rs.90 for A, Rs.280 for B and
Rs.40 for C. Find the proportions in which A,B and C be used to obtain an alloy of
desired properties while the cost of raw materials is minimum.
Solution: Minimize Z = 90x1 + 280x2 + 40x3
Sub to
0.92x1 + 0.97x2 +1.04x3 0.98
7x1 + 13x2 +16x3 8
440x1 +490x2 +480x3 450 & x1, x2, x3 0
(3)ABC manufacturing company can make 2 products P1 and P2.Each of the product
require time on a cutting machine and a finishing machine relevant data are
P1
Cutting
hrs (per
unit)
Finishing
hrs (per
unit)
Profit
9per
unit)
Max.
sales
(per
week)
Rs.6
Product
P2
2
3
Rs.4
210
The number of cutting hours available per week is 390 and the number of finishing hours
available per week is 810.How much of each product should be produce in order to
maximize the profit ?
Nov/Dec 2003
Solution: Max Z = 6x1 +4x2
Sub to
2x1 +x2 390
3x1 + 3x2 810 & x1, x2 0
(4)Old hens can be bought at Rs.2 each and young ones at Rs.5 each. The old hens lay 3
eggs per week and the young ones lay 5eggs per week, each egg being worth 30 paise. A
hen costs Rs.1 per week to feed. A person has only Rs.80 to spend for hens. How many of
each kind should he buy to give a profit of more than Rs.6 per week, assuming that he
cannot house more than 20 hens. Formulate this as a L.P.P.
Solution: Max Z = 0.5 x2 0.1x1
Sub to
2x1 + 5x2 80
x1 + x2 20
0.5x2 0.1x1 6 & x1, x2 0
(5) A television company operates 2 assembly sections, section A and section B. Each
section is used to assemble the components of 3 types of televisions : Colour, standard
and Economy. The expected daily production on each section is as follows :
T.V Model Section A Section B
Colour
3
1
Standard
1
1
Economy
2
6
The daily running costs for 2 sections average Rs.6000 for section A and Rs.4000 for
section B .It is given that the company must produce at least 24 colours, 16 standard and
5x1 +2 x2 1000
3 x1 +2 x2 900
x1 + 2x2 500 & x1 , x2 0 (MCA,MAY/JUNE 2007)
(11)Solve by Simplex Method: Maximize Z = 3x1 + 9x2
sub to
x1 + 4x2 8
x1 + 2x2 4 & x1,x2 0
Solution : Z = 18 ,x1 = 0, x2 = 2 , x3 = 0, x4 = 0.
(12)Solve by Simplex Method : Maximize Z = 2x1 + 4x2
sub to
x1 + 2x2 5
x1 + x2 4 & x1,x2 0
Solution : Alternate solution
x1 = 0 , x2 = 5/2 and Z = 10 & x1 = 3, x2 = 1 , Z = 10.
(13) Solve by Simplex Method : Maximize Z = 2x1+ x2
sub to
x1 x2 10
2x1
40 & x1,x2 0.
Solution : Unbounded solution
(14) Solve by Simplex Method: Maximize Z = 3x1 + 2x2
sub to
2x1 + x2 2
3x1 + 4x2 12 & x1,x2 0.
Solution : Infeasible solution.
(15) Solve by Simplex Method : Maximize Z = 20 x1 + 30x2
Sub to
2x1 + 3x2 120
x1 + x2 35
2x1 + 1.5x2 90 & x1, x2 0. Apr/May 2004
Solution : Z = 1050 ,x1 = 0 , x2 = 35.
(16)Maximize Z = 15x1 +6 x2 +9 x3+2x4
Sub to 2x1 +x2 + 5x3 +6x4 20
3x1 +x2 + 3x3 +25x4 24
7x1
+ x4 70 & x1, x2,x3, x4 0. (MCA,MAY/JUNE 2007)
(16) Solve by Simplex Method : Minimize Z = 8x1 2x2
Sub to -4x1 + 2x2 1
5x1 4x2 3 & x1, x2 0.
Solution : Min Z = -1, x1 = 0, x2 = .
(b) If a new variable x5 is added to this problem wih a column (1,2) and c5 = 7 find the
change in the optimal solution.
Solution :
(a) Max Z = 45, x1 = 0, x2 = 9.
(b) Max Z = 53, x1 = 0 , x2= 5, x5 = 4.
(37)Consider the optimal table of a maximization problem
CB
YB
7x5
5x2
Zj - Cj
Cj
XB
x1
4
51/2
5313/2
3
x2
1
5
x3
0
1
0
0
x4
1
-11/2
2
0
x5
0
5/2
7
1
0
0
Find the change in the optimal solution, when the basic variable x2 is deleted.
Solution : Max Z = 28, x1 = 0, x2 = 0 & x5 = 4.
j=1
n
xij = ai i = 1,2, .., m
j=1
m
xij = bj j = 1,2, .., n Where
i=1
ai = Number of units available in iththe origin
bj = Number of units required in jth destination
Cij = transportation cost from iththe origin to jth destination
3.
ai bj
i=1
j=1
12.
13.
State the necessary and sufficient condition for the existence of a feasible
solution to a transportation problem?
The necessary and sufficient condition for the existence of feasible solution is a
solution that satisfies all conditions of supply and demand.
Transportation
More than one allocation is possible in each
a square matrix.
positive quantity.
Min Z
i=1
j=1
= 1
= 1
.
xn1 + xn2 + xn3 + . + xnn
19. What is the name of the method used in getting the optimum assignment ?
Hungarian method.
20. What is the indication of an alternate solution in an assignment problem ?
If the final cost matrix contains more than the required number of zero for
assignment at independent position then it indicated that the problem has an
alternate optimal solution.
21. What do you inderstand by resticted assignments ? Explain how should one
overcome it ?
In assignment problems, it is assured that the performance of all the machines
and operators are same. Hence any machine can be assigned to any job. But in
practical cases, a machine cannot do all the operations of a job and operator
cannot do all kinds of tasks. Therefore a high processing time is assigned to the
impossible cell (M or ) and then it will be solved by the usual assignment
method. In the final assignment the restricted cell will not be present.
22. Write two theorems that are used for solving assignment problems
Theorem 1 : The optimum assignment sschedule remains unaltered if we add or
subtract a constant to / from all the elements of the row or column of the
assignment cost matrix.
Theorem 2 : If for an assignment problem all Cij 0, then an assignment
schedule (xij) which satisfies Cij xij = 0 , must be optimal.
23. Write the mathematical formulation of an assignment problem.
n
Min Z =
i=1
j=1
xij
=1
xij
=1
i=1
j=1
PART-B
1. Obtain the initial solution for the following TP using NWCR, LCM, VAM
Source
Destination
B
7
3
4
6
9
A
2
3
5
1
7
1
2
3
4
Demand
C
4
1
7
2
18
Supply
5
8
7
14
34
Source
3.
Source
2. Solve the TP where the cell entries denote the unit transportation costs.
P
Q
R
Demand
1
2
3
Demand
Destination
A
B
C
D
Supply
5
4
2
6
20
8
3
5
7
30
5
9
4
6
50
10Destination
40
20
30
100
1
2
3
Capacity
2
2
3
10
4
1
2
15
1
3
1
40
20
15
30
Factory
F1
F2
F3
Demand
D1
19
70
40
5
Warehouse
D2
D3
30
50
30
40
8
70
8
7
D4
10
60
30
14
Supply
7
9
18
Factory
1
2
A
9
7
B
12
3
Warehouse
C
D
9
6
7
7
E
9
5
F
10
5
Available
5
6
3
4
Requirement
6
6
4
5
8
4
9
11
6
11
2
2
3
2
4
11
10
2
2
9
Source
7.
1
2
3
Demand
A
11
21
8
30
Destination
B
C
20
7
16
20
12
8
25
35
D
8
12
9
40
Supply
50
40
70
Solve the following
TP to maximize the
Source
profit.
Destination
A
1
40
2
44
3
38
Demand 40
B
25
35
38
20
C
22
30
28
60
D
33
30
30
30
Supply
100
30
70
FROM
1
2
3
Demand
1
5
6
3
75
TO
2
1
4
2
20
3
7
6
5
50
Supply
10
80
15
Source
S2
6
0
20
25
20
S3
24
6
0
10
60
S4
7
12
8
0
15
D1
24
5
45
30
0
D2
10
20
7
6
10
D2
10
25
25
23
10. A firm having 2 sources S1 & S2 wishes to ship its products to 2 destinations
D1 & D2. The number of units available at S1 & S2 are 5 & 25 resp. and the
product demanded at D1 & D2 are 20 & 10 units respectively. The firm
instead of shipping directly decides to investigate the possibility of
transshipment. The unit transportation costs (in rupees) are given in the
following table. Find the optimal shipping schedule.
Source
S1
S2
0
2
2
0
3
2
4
4
-
Source
S1
S2
Destination
D1
D2
Demand
Destination
D1
D2
3
4
2
4
0
1
1
0
20
10
I
II
III
IV
B
4
7
5
7
C
6
10
11
8
D
3
9
7
5
B
25
30
20
25
C
15
5
12
24
D
20
15
24
20
I
II
III
IV
Tasks
A
1
2
5
B
3
4
6
C
2
3
3
D
8
1
4
E
8
5
6
Available
5
25
-
IV
V
3
1
1
5
4
6
2
5
2
4
3
8
12
15
17
12
4
16
6
12
28
11
5
20
15
16
26
15
Jobs
A
B
C
D
E
Job
1
2
3
4
5
6
A
3
7
3
6
5
5
Machine
B
6
1
8
4
2
7
C
2
4
5
3
4
6
D
6
4
8
7
3
4
Job
A
B
C
1
18
8
10
2
24
13
15
3
28
17
19
4
32
19
22
A
32
40
41
22
29
Sales Territories
B
C
D
38
40
28
24
28
21
27
33
30
38
41
36
33
40
35
E
40
36
37
36
39
21. Solve the following assignment problem using Hungerian method. The matrix
entries are processing times in hours.
Job
1
1
20
Operator
2
3
4
22
35
22
5
18
2
3
4
5
4
23
17
16
26
14
15
19
24
17
16
21
24
19
18
19
7
19
15
25
22. Five wagons are available at five stations 1, 2, 3, 4 and 5. These are required
at five stations I, II, III, IV and V. the mileages between various stations are
given by
From
1
2
3
4
5
I
10
13
3
18
11
II
5
29
2
9
6
To
III
9
6
4
12
14
IV
18
12
4
17
19
V
11
14
5
15
10