Professional Documents
Culture Documents
Linear Programming is a special and useful technique to be applied in various problem like
resource allocation, transportation, investment, inventory, replacement, agriculture, military
etc. It is also useful in Hospital, Libraries, Airport etc.
Decision Variables: The decision variables represent quantities that are, in some sense,
controllable inputs to the system being modelled.
In the present problem question is how much of type A and B products should be produced.
Suppose it is 𝑥 and 𝑦; thus, 𝑥 and 𝑦 are called the decision variables.
Now the next question is, profit is to be maximized or minimized. Of course, profit is to be
maximize, thus we can write
Maximize 𝑍 = 5𝑥 + 7𝑦
It is known as the objective function. If it was the case of profit, then no doubt about that, it
was the case of minimization.
An objective function represents some principal objective criterion or goal that measures the
effectiveness of the system such as maximizing profits or productivity, or minimizing cost or
consumption.
Constraints
In the above problem, the profit is to be minimize under some conditions, suppose
1
M.Sc. Mathematics with Computer Science, 4th Semester, 2022
Operations Research (MTM-4.5C2)
Each unit of product A requires 4 hrs. on machine M and 3 hrs. on machine N and Each unit
of product B require 5 hrs. on machine M and 2 hr. on machine N. If total, time available on
machine M is 36 hrs. and on N is 28 hrs.
Mathematically,
On machine M: 4𝑥 + 3𝑦 ≤ 36
On machine N: 5𝑥 + 2𝑦 ≤ 28
2
M.Sc. Mathematics with Computer Science, 4th Semester, 2022
Operations Research (MTM-4.5C2)
Solution: Let 𝑥1 and 𝑥2 denote the number of model-I and II produced. The objective is to
maximize the profit, then objective function is
Maximize 𝑍 = 120𝑥1 + 80𝑥2
subject to the
Wood constraint 2𝑥1 + 𝑥2 ≤ 6
Time constraint 7𝑥1 + 8𝑥2 ≤ 28
Also, it is clear that 𝑥1 ≥ 0, 𝑥2 ≥ 0.
3
M.Sc. Mathematics with Computer Science, 4th Semester, 2022
Operations Research (MTM-4.5C2)
Degenerate basic solution: A basic solution to the system is called degenerate if one or
more of the basic variables vanish i.e., if any of the basic variable has zero value then it is
called degenerate basic solution.
Non-degenerate basic solution: A basic solution the system is called non-degenerate if all
the basic variables are non-zero (either positive or negative)
Feasible Solution: A feasible solution to an LPP is the set of value of the variables
𝑥𝑗 (𝑗 = 1,2, . . , 𝑛), which satisfies the set of constraints and the non-negative restrictions
(𝑥𝑗 ≥ 0) of the problem.
Basic Feasible Solution: In an LPP a feasible solution which is also basic is called a basic
feasible solution (BFS).
Optimal Solution: A basic feasible solution to an LPP is said to be optimum (or optimal)
solution if it also optimizes the objective function 𝒁 of the problem.
Solution: The given system of equations can be expressed in matrix form as 𝐴𝑋 = 𝑏, where
𝐴 = (𝛼1 , 𝛼2 , 𝛼3 )
𝑥1
1 2 1 4
𝛼1 = [ ] , 𝛼2 = [ ] , 𝛼3 = [ ] , 𝑋 = [𝑥2 ] , 𝑏 = [ ]
2 1 5 𝑥3 5
Here, 𝑛 = number of variables = 3 and 𝑚 = number of equations = 2.
It follows that every set of two vectors of A is linearly independent. Hence, all the three basic
solutions exist. If 𝑋𝐵1 , 𝑋𝐵2 , 𝑋𝐵3 are the vectors of corresponding basic variables, then
1 1 −2 4 2
𝑋𝐵1 = 𝐵1−1 𝑏 = − [ ][ ] = [ ]
3 −2 1 5 1
−1
1 5 −1 4 5
𝑋𝐵2 = 𝐵2 𝑏 = [ ][ ] = [ ]
3 −2 1 5 −1
1 5 −1 4 5/3
𝑋𝐵3 = 𝐵3−1 𝑏 = [ ][ ] = [ ]
9 −1 2 5 2/3