Chaptyer One of Introduction
Chaptyer One of Introduction
CHAPTER ONE
LINEAR OPTIMIZATION
2.1 INTRODUCTION
By : - Mengistu C. Page 1
Linear optimization:- chapter two
Linear function
g ( x 1 , x 2 , . .. , x n ) ≤b
and
g ( x 1 , x 2 , . .. , x n ) ≥b
subject ¿
a 21 x2 + a22 x 2+ , … ,+ a2 n x n ( ≤ ,=, ≥ ) b2
By : - Mengistu C. Page 2
Linear optimization:- chapter two
⋮ ⋮⋮ ⋮
x i ≥ 0 for i=1 ,2 , … , n
Where
By using the matrix and vector notation the problem can be expressed
as :-
max Z=C T X
subject ¿
AX ¿
X ≥0
Where
By : - Mengistu C. Page 3
Linear optimization:- chapter two
Definition: - a set of values of the variables which satisfy all the constraints
and all the non-negative restrictions of the variables is known as the
feasible solution of the linear programming problem.
Step one
Step two
Step three
Step four
Step five
By : - Mengistu C. Page 4
Linear optimization:- chapter two
Example
1. Suppose that a farmer has a piece of farm land, say A square kilometers
large, to be planted with either wheat or barley or some combination of
the two, the farmer has a limited permissible amount F of fertilizer and
P of insecticide which can be used, each of which is required in different
amounts per unit area for wheat ( F 1 , P1 ) and barley ( F 2 , P2 ) . Let S1 be the
selling price of wheat, and S2 be the selling price of barley. If we denote
the area planted with wheat or barley with x 1∧x 2 respectively, then the
optimal number of square kilometers to be plated with wheat vs. Barley
can be expressed as a linear programming problem.
Solution
By : - Mengistu C. Page 5
Linear optimization:- chapter two
Step two: -The decision in this problem is how many square kilometers of
the farm land will be caver by wheat and barley. As such, there are two
decision variables that represent the amount of farm land which was caver
by wheat and barley. Symbolically
Step three: The profit of the farmer is the sum of the profit which was
gained from wheat and barley
The profit which was gained from wheat =profit which was gained from
a square kilometers of farm land which was caver by wheat * total amount of
farm land which was cover by wheat = S1 x1
The profit which was gained from barley =profit which was gained from a
square kilometers of farm land which was caver by barley * total amount of
farm land which was cover by barley = S2 x2
max S1 x1 + S2 x 2
Step four: - The farmer has the following limitations those are total amount
of fertilizer, insecticide and farm land.
F 1 x 1+ F 2 x 2 ≤ F
P1 x 1 + P2 x 2 ≤ P
The area cove by wheat and barley must be less than or equal to the
total available farm land
x 1+ x2 ≤ A
By : - Mengistu C. Page 6
Linear optimization:- chapter two
Step five: - The farm land which will caver by wheat and by barley can’t be
negative. x 1 , x 2 ≥ 0
max S1 x1 + S2 x 2
subject ¿
F 1 x 1+ F 2 x 2 ≤ F
P1 x 1 + P2 x 2 ≤ P
x 1+ x2 ≤ A
x1 , x2 ≥ 0
2. A potter is making cups and plates. It takes her 6 minutes to make a cup
and 3 minutes to make a plate. Each cup uses 3/4 lb. of clay and each
plate uses one lb. of clay. She has 20 hours available for making the
cups and plates and has 250 lbs. of clay on hand. She makes a profit of
2 birr from each cup and 1.50 birr from each plate. How many cups and
how many plates should she make in order to maximize her profit?
Solution
By : - Mengistu C. Page 7
Linear optimization:- chapter two
Step two: -The decision in this problem is how many cups and plates to
produce. As such, there are two decision variables that represent the
number of cups and plates to be produced. Symbolically
Step three: The profit of the potter maker is the sum of the profits which
was gained from each cups and plates.
The profit which was gained from cups=profit of single cup * total number of
cups=2 x1
The profit which was gained from plates =profit of single plate * total
3
number of plates= x 2
2
3
max 2 x 1+ x 2
2
Step four: -The potter maker has two limitations those are total amount of
clay and time.
The total available amount of clay of the potter maker must be greater
than or equal to the total amount of clay in which the potter maker
consume to produce cups and plates
3
x + x ≤250
4 1 2
The total amount of time of the potter maker must be greater or equal
to the time taken to produce cups and plates
6 x 1+ 3 x 2 ≤1200
3
max 2 x 1+ x 2
2
subject ¿
By : - Mengistu C. Page 8
Linear optimization:- chapter two
3
x + x ≤250
4 1 2
6 x 1+ 3 x 2 ≤1200
x1 , x2 ≥ 0
3. A farmer has a 320 acre farm on which she plants two crops: corn and
soybeans. For each acre of corn planted, her expenses are 50birr and for
each acre of soybeans planted, her expenses are 100birr. Each acre of
corn requires 100 bushels of storage and yields a profit of 60birr; each
acre of soybeans requires 40 bushels of storage and yields a profit of
90birr. If the total amount of storage space available is 19,200 bushels
and the farmer has only 20,000 birr on hand, how many acres of each
crop should she plant in order to maximize her profit? What will her
profit be if she follows this strategy?
Solution
max 60 x 1+ 90 x2
subject ¿
x 1+ x2 ≤320
50 x 1+100 x 2 ≤ 20000
100 x 1+ 40 x2 ≤19200
By : - Mengistu C. Page 9
Linear optimization:- chapter two
x1 , x2 ≥ 0
4. A farmer wants to customize his fertilizer for his current crop. He can
buy plant food mix A and plant food mix B. Each cubic yard of food A
contains 20 pounds of phosphoric acid, 30 pounds of nitrogen and 5
pounds of potash. Each cubic yard of food B contains 10 pounds of
phosphoric acid, 30 pounds of nitrogen and 10 pounds of potash. He
requires a minimum of 460 pounds of phosphoric acid, 960 pounds of
nitrogen and 220 pounds of potash. If food A costs 30 birr per cubic yard
and food B costs 35 birr per cubic yard, how many cubic yards of each
food should the farmer blend to meet the minimum chemical
requirements at a minimal cost? What is this cost?
Solution
min 30 x1 +35 x 2
subject ¿
20 x 1+10 x 2 ≥ 460
30 x 1+30 x 2 ≥ 960
5 x 1+10 x 2 ≤ 220
x1 , x2 ≥ 0
5. A farmer can use two types of plant food, mix A and mix B. The amounts
(in pounds) of nitrogen, phosphoric acid, and potash in a cubic yard of
By : - Mengistu C. Page 10
Linear optimization:- chapter two
each mix are given in the table. Tests performed on the soil in a large
field indicate that the field needs at least 840 pounds of potash and at
least 350 pounds of nitrogen. The tests also indicate that no more than
630 pounds of phosphoric acid should be added to the field. A cubic yard
of mix A costs 7 birr, and a cubic yard of mix B costs 9 birr. How many
cubic yards of each mix should the farmer add to the field in order to
supply the necessary nutrients at minimal cost?
min 7 x 1+ 9 x 2
subject ¿
9 x 1+ 6 x2 ≥350
10 x 1+5 x 2 ≥ 840
8 x 1+ 24 x 2 ≤ 630
x1 , x2 ≥ 0
By : - Mengistu C. Page 11
Linear optimization:- chapter two
6. Four different metals namely iron, copper, zinc and manganese are
required to produce three commodities A, B, and C. To produce one unit
of A; 40kg iron,30kg copper, 7kg zinc and 4kg manganese. Similarly to
produce one unit of B; 70kg iron,14kg copper and 9kg manganese are
needed and for producing one unit of C: 50kg iron,18kg copper, 8kg zinc
are required. The total available quantities of metals are: 1 metric ton
iron, 2 quintals of copper, 5 quintals of zinc and manganese each. The
profit are 300 birr, 200 birr and 100 birr in selling per unit of A, B and C
respectively. Formulate the problem mathematically.
Solution
Constrai A B C Total
nt available
Resource
iron 40kg 70kg 50kg 10000kg
copper 30kg 14kg 18kg 200kg
zinc 7kg 8kg 500kg
mangan 4kg 9kg 500kg
ese
Profit
300 200 100
birr birr birr
The linear programming model of the problem can be summarized as
subject ¿
7 x 1+ 8 x 3 ≤500
4 x1 +9 x 2 ≤ 500
x1, x2 , x3≥ 0
By : - Mengistu C. Page 12
Linear optimization:- chapter two
Solution
subject ¿
7 x 1+ 6 x 2 +3 x 3 ≥ 60
3 x 1+2 x 2+ 4 x 3 ≥35
x1 , x2 , x3 ≥ 0
8. The PQR stone company sells stone procured from any of three adjacent
quarries. The stone sold by the company conforms the following
specification
By : - Mengistu C. Page 13
Linear optimization:- chapter two
Stone from quarry A cost birr 10 per tone and has the following
properties; Material X = 20%, Material Y = 60% and Material Z =
70%, Stone from quarry B cost birr 12 per tone and has the following
properties; Material X = 40%, Material Y = 30% and Material Z =
30% and Stone from quarry C cost birr 15 per tone and has the
following properties; Material X = 10%, Material Y = 40% and
Material Z = 50% from what quarries should the PQR stone company
procure rocks in order to minimize cost per tone of rock. Formulate
this problem as an LP model.
Solution
subject ¿
20 x 1+ 40 x2 +10 x 3=30
60 x 1+30 x 2 +4 0 x 3 ≤ 40
70 x 1+30 x 2+ 5 0 x 3 ≤ 40
70 x 1+30 x 2+ 5 0 x 3 ≥30
By : - Mengistu C. Page 14
Linear optimization:- chapter two
x1, x2 , x3≥ 0
Exercise 1
2. The manager of an oil refinery must decide on the optimal mix of two
possible blending processes of which the input and output per
production run are given as follows
By : - Mengistu C. Page 15
Linear optimization:- chapter two
A B eX Y
1 5 3 5 4
2 4 5 3 4
The maximum amount available of crude A and B are 200 unit and 150
units respectively. Market requirements show that at least 100 units of
gasoline X and 80 units of gasoline Y must be produce. The profit per
production run from process 1 and process 2 are birr 300 and birr 400
respectively. Formulate this problem as an LP model to maximize
profit.
A manufacturing plant makes two types of boats, a two-person boat and a four-
person boat. Each two-person boat requires 0.9 labor-hours from the cutting
department and 0.8 labor-hours from the assembly department. Each four-person
boat requires 1.8 labor-hours from the cutting department and 1.2 labor-hours from
the assembly department. The maximum labor-hours available per month in the
By : - Mengistu C. Page 16
Linear optimization:- chapter two
cutting department and the assembly department are 864 and 672, respectively.
The company makes a profit of $25 on each two-person boat and $40 on each four-
person boat how many boats of each kind should the company produce in order to
maximize profit?
A farmer wants to customize his fertilizer for his current crop. He can buy plant food
mix Aand plant food mix B. Each cubic yard of food A contains 20 pounds of
phosphoric acid, 30 pounds of nitrogen and 5 pounds of potash. Each cubic yard of
food B contains 10 pounds of phosphoric acid, 30 pounds of nitrogen and 10 pounds
of potash. He requires a minimum of 460 pounds of phosphoric acid, 960 pounds of
nitrogen and 220 pounds of potash. If food A costs $30 per cubic yard and food B
costs $35 per cubic yard, how many cubic yards of each food should the farmer
blend to meet the minimum chemical requirements at a minimal cost? What is this
cost?
A company makes three models of desks, an executive model, an office model and
a student model. Each desk spends time in the cabinet shop, the finishing shop and
the crating shop as shown in the table:
Designing a diet
By : - Mengistu C. Page 17
Linear optimization:- chapter two
Bicycle factories
By : - Mengistu C. Page 18