Linear Programming - Graphical Method 07.09.2022
Linear Programming - Graphical Method 07.09.2022
Thus linear programming can be used to solve problems which have the following
characteristics.
i) Can be stated in numeric terms.
ii) All factors have linear relationships.
Eg: - If one unit requires 5 man hours, 2 units require 10 man hours and so on. It
must be stressed that every relationship in the problem must be linear or able to
be linearly approximated.
iii) The problem must permit a choice or choices between alternative courses of action.
iv) There must be one or more restrictions on the availability of resources.
Eg: - Only 5000 machine hours are available per week.
v) All decision variables in a linear programming problem must assume non-negative
values.
Eg:- If the decision variables are x and y then we have x 0 , y 0 and these are
referred to as non negativity constraints.
2) Additively:
The value of the objective function for the given values of decision variable must be equal to
the sum of the contributions (profit or cost) from each decision variable. For example, total
profit earned by the sale of two products A and B must be equal to sum of the profits earned
separately from A & B. Similarly, the total of resources used must be equal to the sum of
resources used by each decision variable. For example, if one unit of product A requires 4
labour hours and 16kg of material and one unit of product B requires 2 labour hours and 9kg
of material then one unit of A and one unit of B will require 6 labour hours and 25kg of
material.
Graphical method
Graphical analysis in linear programming is restricted to problems with two variables. When
there are only two variables, the graphical method involves in graphing the system of
equations and inequalities.
Formulate a linear programming model, graph the constraints of the model and show the
feasible region. Determine the maximum possible monthly profit that can be expected.
M1 2 1 180
M2 1 2 160
M3 1 1 100
Profit/unit Rs. 80 Rs.120
Subject to : 2x + y 180
x + 2y 160
x + y 100
and x,y 0
4. x 0, y 0
These profit lines which are parallel to each other are called Iso- profit lines.
We observe that as Z increases the Iso-profit lines are moving further away from the origin
the object of the problem is to be on the highest attainable Iso profit line. Clearly the optimal
solution can not be in the interior of the feasible region. For any Iso-profit line passing
through interior points of the feasible region, there is another Iso-profit line close by that has
higher Z value. Therefore, the optimal solution must be at a corner point.
This property holds true for any linear programming problem. Therefore, a simple method is
to consider evaluating all corner point solution and comparing them to find the best.
Changes in the coefficients C1 and C2 will change the slope of Z and, hence, possibly, the
optimal corner point.
Multiple solutions
A linear programming problem may have more than one optimal solution, as illustrated in the
following example.
Example:-
Consider the following LP problem
Maximize Z= 2.5x + 4.5y
subject to
x7
y3
5x + 9y 45
x, y 0
Redundant constraints
A particular constraint is said to be redundant if that constraint can be omitted without
changing the set of feasible solution to the LP problem