Linear Programming_graphical Method (1) (2)
Linear Programming_graphical Method (1) (2)
The Constraints:
The machine limitations for each variant can be expressed as: 2.5x1+ 2x2 ≤ 40
The labor limitations for each variant can be expressed as: 2x1 + 1x2≤ 30
The marketing constraint for bedroom slippers is: 1x2 ≤ 10
To summarize the problem:
Maximize P = 150x1+ 140x2
Subject to:
2.5x1+ 2x2≤ 40 (machine time constraint)
2x1+ 1x2 ≤ 30 (labor constraint)
1x2 ≤ 10 (marketing constraint)
x1≥ 0 (non-negativity constraint)
x2 ≥ 0 (non-negativity constraint)
The Graphical Method for Solving Linear
Programming Problems
The graphical method is appropriate for small problems dealing with
two decision variables and with few constraints. There are two phases to
this method: (a) graphing the feasible area and (b) determine the
optimal solution.
Graphing the feasible area.
In order to establish the feasible area, all inequalities and constraints
must be plotted in a graph. Let us graph the first constraint (machine
time constraint): 2.5x1+ 2x2≤ 40
Consider the equality part of the constraint only. So it will be
expressed as: 2.5x1+ 2x2= 40. The equation will form a straight
line by finding the coordinates of two points. In order to find
the coordinates, set x1 to 0, which means that rubber flip-flops
(x1) will not be produced. The calculations are done as follows:
Points x1 x2
A 0 0
B 0 10
C 8 10
E 15 0
However, for point D, the intersection of machine time and
labor constraint can be approximated or computed using
the substitution method:
1. ) 2.5 x1 + 2 x2 = 40
2.) 2x1 + 1 x2 = 30
Step 1. 2.5x1 + 2x2 = 40
2.5 x1 + 2x2 - 2 x2 = 40 - 2 x2
2.5 x1 = 40- 2 x2 x
divide both sides by 2.5 to get the value of 1
x1 =16-0.08x2
Step 2. 2 x1 + 1x2 = 30
2(16 - 0.08x2) + 1x2= 30
32 - 1.6x2 + 1x2 = 30 divide both sides by 0.6 to get the value of x2
X2=3.33
Points x1 x2
A 0 0
B 0 10
C 8 10
D 13.34 3.33
E 15 0
Determine the optimal solution. The optimal solution is at the
point in the feasible area where the profit function is at its
maximum.
Points x1 x2 Total Profit
C 8 10 150(8) + 140(10)maximum
x2=2,600