Linear Programming Problem - I: Operations Research - Roha Plaena
Linear Programming Problem - I: Operations Research - Roha Plaena
Chapter 4
LINEAR PROGRAMMING
PROBLEM - I
Linear programming is a mathematical method involving optimizing a certain function, called
an objective function, subject to certain constraints and restrictions. However, it has wide
applications, the common type of problems handled in linear programming call for determining
a product mix that would maximise the total profit, given the profit rates of the products involved
and the resource requirements for each of them, along with the amount of resources given. The
problem could also be determining the product mix that would entail minimum cost provided it
satisfies certain minimum requirements. Thus, the linear programming method is a technique
for choosing the best alternative from a set of feasible alternatives in situations where the
objective function and constraints are expressed as linear mathematical functions.
In general terms, a linear programming problem can be written as:
Maxinise Objective Function
Subject to
ta1nXy Sbi
Constraints
am XË ta,m2 X) t... tamn Xn Sbm
X}, N), ... x, 2 0 Non-negativity Restriction
Where the objective is to minimise the fumction, the problem may be stated as:
Mininise Z= c t czx2 + + Cn Objective Function
Subject to
Constraints
Notes:
1. Generally, the constraints in maximisation problens are of the s type, and of 2 type in the
minimisation problems. But a given problem may involve a mix of constraints involving the signs of
s,2 and/or =.
2. Usually the decision variables are non-negative. However, they need not be so. Variables may be
unrestricted in sign as well.
1 1
Operations Research| o h a Puona
in
non-negative or unrestricted
Determining whether the decision variables involved are
sign.
3. Continuity:
The decision variables are assumned to be continuous to assume values both integer and
fractional.
4. Certainty:
Linear programming is deterministic, so various parameters, including the objective function
coeficients, the coeffhicients of inequalitylequality constraints, and the constraint values, are all
known and certain. No market conditions or environment affect production and distribution.
5. Finite Choices:
A linear programming model assumes that a limited number of choices are
available to the decision
maker. Only positive values of resources are considered.
Unbounded Solutions
An unbounded solution is present when the feasible region is unbounded from above, and the
objective function is of the maximisation type, so it is possible to indefinitely increase the objective
function value. A minimisation problem with non-negative variables will not have an unbounded
solution.
Point Solutions
Apoint solution is seen in problems where constraints are equations instead of inequalities. In such
cases, if the solution is feasible, it is optimal. If it is not feasible, the problem has nosolution.
Infeasibility
Infeasibility (no feasible solution) exists when there is no common point in the feasible areas for the
constraints of a problem. The feasible region is empty in such a case.
Practice Problems
1. Afirm is engaged in producing two products, Aand B. Each unit of product Arequires 2 kg of
raw material and 4 labour hours for processing, whereas ech unit of product Brequires 3 kg
of raw material and 3 hours of labour of the same type. Every week, the firm has an
availability of 60 kg of raw material and 96 labour hoursr One unit of product Asold yields
R40and one unit of product Bsold gives 35 as profit. Formulate this problem as a linear
programming problem to determine how many units of each product should be produced per
week so that the firm can earn the maximum profit. Assume that there is no marketing
constraint so that all that is produced can be sold.18.8) low)
2. Maximise Z = X, +3x,
Subject to x, + 2 x, s9
XË +4 x S 11
3
Operations Research D Rloha Paena
3. Pind the solution to the following LP problem using the iso-profit line method.
Maximise Z=3 x t 2x 2,%
Subject to 2x; + x2 S 12
X t X s 10
-X} +3x, 26
4. Gashewco has two grades of cashewnuts: Grade 1-750kg and Grade II-1200 kg. These are to
be mixed in two types of packages of one kilogram each--economy and special. The economy
Pack consists of grade Iand grade I cashews in the proportion of 1: 3, while the special pack
u combines the two in equal proportion. The profit margin on the economy and special packs
are, respectively, 5and 28 a pack.
(a) Formulate this as a linear programming problem.
6) Ascertain the number of packages of the economy and special types graphically to be made
to maximize profits.
(c) Would your answer be different if the proft margin on a special pack is ?10?
5. Acompany produces two types of pencils: Aand B. Pencil Ais superior quality, and pencil B
is lower quality. Profts on pencils Aand Bare 5 and 23 per pencil, respectively. The raw
material required for each pencil Ais twice as much as that of pencil B. The raw material
supply is sufficient only for 1000 pencils of type Bper day. Pencil Arequiresa special clip:
only 400 clips are available daily. For Pencil B, only 700 clips are available per day. Use the
graphical method to find the product mix that the company can make to make maximun
profit. Use iso-profit line.
6. Suppose that you want to invest a sum of 100000 in a combination of only two stock
portfolios, with the maximum investment allowed in either portfolio being 75000. The first
portfolio has anaverage return of 10%, whereas the second has 20%. Regarding risk factors
nssociated with these portfolios, the first has a risk rating of 4 (on a scale of 10), and the
second has a9. Since you want to maximise your returns, you will not accept an averoge rate
of return below 12% or a risk factor above 6. Formulate this as an LPP. Solve it using the
graphical method.
8. (a) Is it necessary that the feasible region for a maximisation type of linear programming
problem must always be bounded?
(6) Maximise Z= 6x,- 2r,
Subject to 8x - 4x, S8
0< x S3
4
Operations Research | Plha(Puena
9. Two kinds of food for children, Fl and F2, are being considered to be purchased. Food Fl costs
R20 a unit, while food F2 is available at R40 per unit. The nutrient contents of these foods are
as follows:
Nutrient content
Nutrients
Food Fl Food F2
Ni 40 20
N2 3 12
N3 18
The minimum requirement for three nutrients is 200,36, and 54 units. Draft this as an LPP
and find graphically the quantities of food units that should be bought so that the costs are
minimised to satisfy the given constraints.
10. Solve the following LPP:
Minimise Z = 3x, + 10x,
Subject to 15x, + 4X, > 60
8x, +8x, > 40
4x, + 16x, >32
11. A company manufactures two kinds of machines, each requiring a different manufacturing
technique. The deluxe machine requires 18 hours of labour and 9 hours of testing, yieldinga
profit of Z400. The standard machine requires 3hours of labour and 4 hours of testing, yielding
a profit of 200. 800 hours of labour and 600 hours of testing are available each month. A
marketing forecast has shown the monthly demand for the standard machine to be no more
than 150. The management wants to know each model's monthly numbers to produce that
will maximise total profit. Formulate and solve this as a linear programming problem.
13. Find the maximum and the minimum values of the function = 8x, + 5x,,subject to the
following:
3x - 2x, 26
-2x, + 7x, 27
2x,- 3x, <6
XË, X, 2 0
5
Operations Rescarch rlsha Puena
15. The standard weight of a special-pupose brick is 5 kg, containing two basic ingredients, A
and B. A cost 5 per kg, and B cost S per kg. Strength considerations dictate that the brick
should contain no more than 4 kg of A and a minimum of 2 kg of B. Since the demand for the
product is likely to be related to the price of the brick, find out graphically the minimum cost
of the brick satisfying the above conditions.
Revision Problems
205
(a) Solve the following Transportation Problem for optimal revenue.
Products Markets (Sales in thousands of Rupees)
III IV Capacity
A 5 10 4 5 10
ls360 B 7 2 25
4 2 5 7 20
Demand 25 10 15 5
Distribution Centers
Plants
3 4
Supply
P1 20 30 50 17 7
P2 70 35 40 60 10
P3 40 12 60 25 18
Demand 5 7 15
The company has ive warehouses. The sales price, transportation costs, and demand are
given in the following table:
Warehouse
Transportation Cost (Rs) per unit Sale price Demand
2 3 4 (Rs) per unit
A 4 4 3 30 80
B 9 7 8 32 120
2 6 10 28 l50
D 10 5 34 70
6
Operation Research|Rlcha Plaaena
E 2 5 30 90
Formulate and solve this transportation problem to maximize profit.
208. What is meant by the optimality test? How do you determine whether a given solution is
optimal or not?
209. What is unbalanced TP? How will youconvert it into a balanced one?
302 You are given information about the cost of performing diferent jobs by different people.
Using this information, state (0) the optimal assignment of jobs and (i) the cost of each
assignment.
Job
Jobs J4 Is
P 27 18 X 20 21
31 24 21 12 17
P2
P3 20 17 20 X 16
22 28 20 16 27
6 P