Professional Documents
Culture Documents
• List the variables across the top of the table and write the objective
function coefficient of each variable just below/above it.
• There should be one row in the body of the table for each constraint,
list the slack variables in the bases column, one per row.
• In the Cj (CB) column enter the objective function coefficient of zero for
each slack variable.
• Compute values for row Zj.
• Compute values for row Cj-Zj, where Cj is coefficient of variable j in the
objective function.
Cont.
3rd Step - develop the First Simplex Tableau
Programme Cj 23 32 0 0 0 Quantity Replacement Ratio
(Basic) variables (CB) a b S1 S2 S3 in units
2,500/6 = 416.7
S1 0 10 6 1 0 0 2500
2000/10 = 200
S2 0 5 10 0 1 0 2000
500/2 = 250
S3 0 1 2 0 0 1 500
Z 0 0 0 0 0 0
Row 3: As the fixed ratio is zero this row elements will not change. Fixed ratio means
the key element /pivot element (In other words the revision is required to make the
concerned key column number to zero (0). However, in this case the number is already
zero (0). Therefore, there is no need to revise the existing (old) row. We simply take
the old row for the next table.
The 3rd Tableau
• As all the elements of net evaluation row are either negative elements or
zeros, the solution is optimal.
• The solutions a = 185.7 and b = 107.15
• 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 = Birr. 7,700.
• At this level slake variables
S1 = 0
S2 = 0
S3 = 100
• SELF-CHECK
solve graphically the above LP problem and cross-check the results
Example 2- Maximize with all constraints ≤ types
• A firm that assembles computer and computer equipment is about
to start production of two new microcomputers: Type I & Type II.
The manger has obtained the following information:
Type 1 Type 2 Available resources
Profit per unit Birr 60 Birr 50
Assembly time per unit 4hrs 10hrs 100hrs
Inspection time per unit 2hrs 1hr 22hrs
Storage space per unit 1 cubic ft 3cubic ft 39 cubic feet
• Required: Formulate the LPM & the optimal product mix and the
optimal value.
Solution: Modelling of LPM & Standardizing
Step1: The mathematical model for the microcomputer problem is:
Z max = 60X1 + 50X2
St: 4X1 + 10X2 100
2X1 + X2 22
X1 + 3X2 39
X1, X2 0
.
Step 5: Revise the rows
a. Divide each element of the pivot row by the pivot element to get the
corresponding values in the new tableau. The pivot element become 1.
b. For each row other than the pivot row, Perform row operations to make
all other entries for the pivot column equal to zero.
.
Step 5: Revise the rows
In short:
Z min =3x1+4x2 +0S1+0S2+ MA1+ MA2
St: 2x1 + 3x2 - S1 + A1 = 90
4x1 + 3x2 – S2 + A2 = 120
x1, x2, S1, S2, A1, A2 ≥ 0
Cont.
RR= Q÷KC
90÷2 = 45
120÷4 = 30
A2 is
leaving/exitin
g variable
• Note:
• Once an artificial variable has left the basis, it has served its
purpose and can therefore be removed from the simplex tableau.
• The left artificial variable should be removed from both program
variables and objective function
• An artificial variable is never considered for re-entry into the
basis.
• If artificial variable is available after the optimal value obtained,
this indicates that such lP problem has infeasible solution.
Cont… Revise the old rows:
• Since all the numbers in the index row (Cj – Zj row) are either zero or positive,
the optimal solution has been arrived or realized.
• The optimal solution is given as; x1 = 15, x2 = 20 & minimum cost is = $125
• As long as an “A” variable is available in the solution variable column, the
solution is infeasible.
• In this case no A in solution variable column. Thus LP problem is feasible
problem or has feasible solution
Example 2: Solve the following problem using Big M method
Step 1: standardize model by adding slack (if any), surplus and artificial
variables to the left handed of the constraints.
• Minimise Z = 3x + 2.5y + 0p + 0q + MA1 + MA2 s.t
2x + 4y – 1S1 + 0S2+ 1A1 + 0A2 = 40
3x + 2y + 0S1 – 1S2 + 0A1 + 1A2 = 50
x, y, p, q, A1, A2 ≥ 0.
Cont.
• Step 2:
• use the artificial variable for the starting solution and proceed with
the usual simplex routine until the optimal solution is obtained.
• The initial basic solution consist of artificial variables:
– A1 = 40,
– A2 = 50
• The non-basic variables include x = 0, y = 0, p = 0, q = 0,
Step 3: develop the Initial table of Simplex
4
¼ R1 = 10 0.5 1 – 0.25 0 0 = New R1
Convert
the Key n
umber to
1
Cont.
30/2 =15, 2/2 =1, 0/2 =0, 0.5/2 =0.25, –1/2 = –0.5, –0.5/2 = –0.25, 1/2
= 0.5.
Fist Revise Key row
2
½ R2 = 15 1 0 .25 -.5
51.25.
Subtract surplus 0, 0 No
variable and
> Add artificial variable -M, +M Yes
= Add artificial variable -M, +M Yes
is
n
tio d
es me
Qu co
el
W
Comments
Any
u
Yo
nk d!
ha en
IT e
Th