LP Simplex Minimization
LP Simplex Minimization
Linear programming
Simplex method
(MINIMIZATION)
◦ Surplus variable:
is a variable subtracted from a ‘≥ ’ constraint to change it to an equality. It represents
the quantity by which the utilization of a resource exceeds the prescribed minimum.
◦ Artificial variable
◦ is used to convert ‘≥’ or ‘=’ constraints and these are the most expensive
ingredients in the mixture.
◦How can we solve linear programming problems in
simplex minimization? What are the steps?
Steps in solving simplex minimization.
◦ 1. Formulate the new linear program by setting up the objective function and the constraints
of the problem.
◦ 2. Change the inequality of the constraints to equality by adding a surplus variable or artificial
variable.
◦ 3. Prepare a simplex table and enter the numerical coefficients of the decision variables from
the new linear program.
◦ 4. Calculate the values of Cj and Zj rows.
◦ 5. Determine the entering variable of the entering variable of the optimum column. ( The most
negative value in the Cj – Zj row will be the optimum column.)
◦ 6. Determine the outgoing variable of the pivotal row. Divide the quantity values by the pivot in
the optimum column and choose the smallest quotient. (Disregard ratios like 3/0, 0/5, 4/-2).
◦ 7. Compute the elements of the entering variable.
◦ 8. Compute the values of the remaining rows.
◦ 9. Calculate the Cj – Zj value for the solution.
◦ 10. If there is no negative value in the Cj – Zj row an optimal solution is obtained.
◦Are rules in treating the constraints for minimization problems
are the same as with rules in maximization problems?
◦ Methods for Treating Constraints for SIMPLEX MINIMIZATION
Original Resulting
Action Required
Constraints Constraints
Add a Slack variable, then change
x≤c the inequality (≤) x+S=c
to equal sign(=).
Add an Artificial variable, but
x≥c subtract a Surplus variable, then x+A–S=c
change the inequality (≥)
to equal sign (=).
B 1 1 ≥ 30
1. Determine optimum column (most negative value in the Cj – Zj row) and the entering variable (y). It is the
variable in the optimum column.
2. Determine the out going variable by dividing the quantity by the number found in the optimum column in
each row.
◦ For; A1 = 40 ÷ 2 = 20, For A2 = 30 ÷ 1 = 30
◦ The smaller quotient belongs to outgoing variable (A1) .
3. Develop the replaced row (entries of the entering variable). Divide each entry in the
replacement row by the intersection element (2) of the replaced row.
New entries in the New entries for A2 row
Replacing row (RR) Old row – [ (1x Replacing row) ]= Entries in A2
◦ 40÷ 2 = 20 30 – (1x20) = 10
◦ 1 ÷2 = ½ 1 – (1x ½) = ½
◦ 2÷2=1 1– (1 x 1) = 0
◦ –1 ÷ 2 = –1/2 0 – (1x (–1/2) = 1/2
◦ 0÷2=0 –1 – (1x 0) = –1
◦ 1÷2=½ 0– (1 x ½) = –1/2
◦ 0÷2=0 1– (1x 0) = 1
4. Enter the entries of the replacing row and the new entries for S2 row in the second
tableau.
◦ Second simplex tableau: product mix
Cj 12 16 0 0 100 100
PM Quantity x y S1 S2 A1 A2
◦ Cost /unit 16 Y 20 ½ 1 –½ 0 ½ 0
100 A2 10 ½ 0 ½ –1 –½ 1
◦ Outgoing 320 8 16 –8 0 8 0
+ 1,000 50 0 50 –100 –50 100
◦ Variable Zj 1,320 58 16 42 –100 –42 100
Cj – Zj –46 0 –42 100 142 0
◦ Optimum column
◦ The presence of negative value (–46 ) in the x column of the Cj – Zj row of the second tableau indicates
that further improvement is possible. Therefore, the same process will be used to develop the third
tableau. Solution from the second tableau must be repeated in order to determine the new entries for
the third tableau..
Calculating for Zj
◦ Quantity Column: 16(20) + 100(10) = 320 + 1,000 = 1,320
◦ X column : 16(1/2 ) + 100(½ ) = 8 + 50 = 58
◦ Y column; 16(1) + 100(0 ) = 16
◦ S1 column: 16(–1/2) + 100(1/2) = (–8 )+(50) = 42
◦ S2 column : 16(0) + 100(–1) = –100
◦ A1 column: 16(1/2 ) + 100(–1/2) = 8 +(–50) = –42
◦ A2 column: 16(0 ) + 100(1) = 100
Calculating Cj - Zj
◦ 12 – 58 = –46 100 –(–42 ) = 142
◦ 16 – 16 = 0 100 – 100 = 0
◦ 0 – 42 = –42
◦ 0 –(–!00) = 100
◦ Steps in developing the third table: product mix
Cj 12 16 0 0 100 100
◦ Cost /unit PM Quantity x y S1 S2 A1 A2
16 Y 20 ½ 1 –½ 0 ½ 0
◦ Outgoing 100 A2 10 ½ 0 ½ –1 –½ 1
◦ Variable
320 8 16 –8 0 8 0
+ 1,000 50 0 50 –100 –50 100
◦ Zj 1,320 58 16 42 –100 –42 100
Cj – Zj –46 0 –42 100 142 0