Ilovepdf Merged Arif PDF
Ilovepdf Merged Arif PDF
But the company can stop production of x and y or can manufacture any amount of x and y. It
cannot manufacture negative quantities of x and y. Hence we have write,
Both x and y are ≥ 0 . NON -NEGATIVITY CONSTRAINT.
As the problem has got objective function, structural constraints, and non-negativity constraints
and there exist a linear relationship between the variables and the constraints in the form of inequalities,
the problem satisfies the properties of the Linear Programming Problem.
5. It is assumed that the decision variables are continuous. It means that the companies
manufacture products in fractional units. For example, company manufacture 2.5 vehicles,
3.2 barrels of oil etc. This is referred too as the assumption of divisibility.
6. It is assumed that only one decision is required for the planning period. This condition
shows that the linear programming model is a static model, which implies that the linear
programming problem is a single stage decision problem. (Note: Dynamic Programming
problem is a multistage decision problem).
7. All variables are restricted to nonnegative values (i.e., their numerical value will be ≥ 0).
Where all cj s, bi s and aij s are constants and xj s are decision variables.
To show the relationship between left hand side and right hand side the symbols ≤ , = , ≥ are
used. Any one of the signs may appear in real problems. Generally ≤ sign is used for maximization
52 Operations Research
For S3 = 0 – 0 × 23 + 0 × 32 + 1 × 0 = 0
Profit Z = 185.7 × 23 + 107.14 × 32 = Rs. 7,700
Shadow price = 1 × 2500 + 2.6 × 2000 = Rs. 2500 + 5200 = Rs. 7700/–
As all the elements of net evaluation row are either negative elements or zeros, the solution is
optimal.
Also the profit earned is equal to the shadow price.
The answer is the company has to manufacture:
185.7 units of A and 107.14 units of B and the optimal return is Z = Rs. 7,700/–
As all the net evaluation row elements are negative or zeros, the solution is optimal.
a = 5/4, c = 3/5, and minimum Z = Rs. 75/8.
The Disadvantages of Big M method over Two–phase method:
1. Big M method can be used to find the existence of feasible solution. But it is difficult
and many a time one gets confused during computation because of manipulation of
constant M. In two–phase method big M is eliminated and calculations will become
easy.
2. The existence of big M avoids the use of digital computer for calculations.
As all the net evaluation row elements are either negative or zeros, the solution is optimal.
x = 11/2, y = 9/2 and Z = Rs. 44.50.
Problem 3.31: Maximize Z = 4x + 5y – 3z + 50 s.t
1x + 1y + 1z = 10,
1x – 1y ≥ 1
2x + 3y + 1z ≤ 40
x, y, z all ≥ 0.
Note: If any constant is included in the objective function, it should be deleted in the
beginning and finally adjusted in optimum value of Z and if there is equality in the constraints,
then one variable can be eliminated from the inequalities with ≥ or ≤ sign. In this example
constant 50 presents in the objective function. Also one equality is present in the constraints.
As done earlier, variable ‘z’ is eliminated from third constraint and is considered as slack
variable in first equality.
The problem 3.30 and 3.31 are one and the same except a constant present in the objective
function of problem 3.31.
The solution for the problem 3.30 is x = 11/2, y = 9/2 and Z = 89/2.
While solving the problem 3.31, neglect 50 from the objective function, and after getting the final
solution, add 50 to that solution to get the answer. That is the solution for the problem 3.31 is Z = Rs.
89/2 + 50 = Rs. 189/2.
Whenever, we solve the primal problem, may be maximization or minimization, we get the solution
for the dual automatically. That is, the solution of the dual can be read from the final table of the primal
and vice versa. Let us try to understand the concept of dual problem by means of an example. Let us
consider the diet problem, which we have discussed while discussing the minimization case of the
linear programming problem.
Example: The doctor advises a patient visited him that the patient is weak in his health due to shortage
of two vitamins, i.e., vitamin X and vitamin Y. He advises him to take at least 40 units of vitamin X and
50 units of Vitamin Y everyday. He also advises that these vitamins are available in two tonics A and B.
Each unit of tonic A consists of 2 units of vitamin X and 3 units of vitamin Y. Each unit of tonic B
consists of 4 units of vitamin X and 2 units of vitamin Y. Tonic A and B are available in the medical shop
at a cost of Rs. 3 per unit of A and Rs. 2,50 per unit of B. The patient has to fulfill the need of vitamin
by consuming A and B at a minimum cost.
The problem of patient is the primal problem. His problem is to minimize the cost. The tonics
are available in the medical shop. The medical shop man wants to maximize the sales of vitamins A and
B; hence he wants to maximize his returns by fixing the competitive prices to vitamins. The problem of
medical shop person is the dual problem. Note that the primal problem is minimization problem
and the dual problem is the maximization problem.
If we solve and get the solution of the primal problem, we can read the answer of dual problem
from the primal solution.
Primal problem: Dual Problem:
Minimize Z = 3a + 2.5b. s.t. Maximize Z = 40x + 50y s.t.
2a + 4b ≥ 40 2x + 3y ≤ 3
3a + 2b ≥ 50 4x + 2y ≤ 2.50
both a and b are ≥ 0. both x and y are ≥ 0.
Solution to Primal: (Minimization problem i.e., patient’s problem)
Problem Cost Cj 3 2.50 0 0 M M
variable Rs. Requirement a b p q A1 A2
b 2.50 5/2 0 1 –3/8 1/4 3/8 –1/4
a 3 15 1 0 1/4 –1/2 –1/4 1/2
Net evaluations 0 0 3/16 7/8 M – 3/16 M – 7/8
Answer: a = 15 units, b = 2.5 units and total minimum cost is Rs. 51.25
Solution to Dual: (Maximization problem i.e medical shop man’s problem)
Problem Profit Cj 40 50 0 0
variable Rs. Capacity units x y S1 S2
y 50 7/8 0 1 1/2 –1/4
x 40 3/16 1 0 –1/4 3/8
Net evaluation 0 0 –15 –5/8