The Proposed Simplex Method For The Solution of Linear Programming Problems
The Proposed Simplex Method For The Solution of Linear Programming Problems
OPERATIONAL
RESEARCH
TUGASAN 1
KUMPULAN 1
The Proposed Simplex Method for the Solution of Linear Programming Problems
The proposed novel tabular form of the simplex method for solving both
maximization and minimization LPPs is presented in this section. The flow chart for the
proposed simplex algorithm for solving LPPs is summarized in figure 1 (Sharma, 2007;
Gupta, 2008).
start
LPP of maximization or
Minimization Minimization?
Maximization
The solution is
Yes Yes
Select the key Select the key
column with most Stop column with largest
negative Cj Zj positive Cj Zj
Update the entries in the new simplex table by: (a) first obtaining key row
values (b) apply elementary row operations
Step 2: Set-up the initial simplex table. The proposed novel tabular form of the simplex
method is shown in table 1.
Cj
Coefficients of Basic Variables Right hand Ratio
basic variables variable X1 X2...Xn S1 S2. solution bi
(CB) B Sm
CB1 S1 a11 a12..a1n 1 0..... 0 b1
CB2 S2 a21 a22..a2n 0 1. 0 b2
. . . .
. . . .
. . . .
CBm Sm am1 am2....amn 0 0. 1 bm
Zj = CBxaij 0 0 0 0 0 0 0
C j - Zj C1Z1 C2Z2 CnZn 0 0 0
The initial simplex table is form by writing down the coefficients of the variables in the
standard LP model into Table 1.
The interpretation of the rows and columns in the proposed tabular form of the simplex
method in Table 1 is as follows:
(i) The first row indicates the coefficients (Cj) of the variables in the objective
function which remain the same in successive simplex tables. The second row
provides the major column headings for the simplex tables. The third, fourth
(Zjrow) and fifth (Cj - Zj) row shall be explained with a numerical problem.
(ii) The first column (CB) lists the coefficients of the basic variables on the
objective function. The second column (B) is for the basic variable or basis.
The third column lists all the variables stipulated in the standard form of the
LP model. The fourth column headed by (bi) represents the right hand
solution, while the last column () is the column of ratios.
Step 3: perform optimality test. Calculate the C j Zj valves for the variables and right hand
solution. To obtain the value of Zj under any column, add the products of element under that
column with the corresponding CB valves. Examine the values of C j - Zj. There may arise
three cases:
(i) if all Cj - Zj 0, then the basic feasible solution is optimal
(ii) if at least one Cj - Zj> 0, then the solution is not optimal, and so proceed to the
next step.
(iii) if at least one column of the coefficients matrix for which C j - Zj> 0, and all
elements in the solution are negative, then there exists an unbounded solution
to the given problem.
Step 4: Iterate towards an optimal solution. At each iteration, the simplex method moves the
current basic feasible solution to an improved basic feasible solution. This is done by
replacing one current basic variable by a new non-basic variable as explained below.
(i) Selection of the entering variable. If case (ii) of step 3 holds, after observing Cj
- Zj for different columns, mark the column for maximum positive valve. The
variable heading that column is the entering variable and the column in which
it occurs is called the pivot column.
(ii) Selection of the leaving variable. To determine the leaving variable, each (b i)
value is divided by the corresponding (positive) number in the pivot column
and the row with the smallest positive ratio is selected. The selected row is
called the pivot row and the basic variables which leave the current solution is
the leaving variable. The element that lies at the intersection of the pivot row
and pivot column is called the pivot element (PE) and is enclosed in bracket ().
(i) If the pivot element is 1, then the row remains the same in the new simplex
table
(ii) If the pivot element is other than 1, then divide each element in the pivot row
by the pivot number, to find the new values for that row.
(iv) The new values of the elements in the remaining rows for the new simplex
table is obtained by performing Gauss-Jordan elementary row operations. The
new entries in coefficient of basic variable (CB) are updated in the new
simplex table of the current solution.
Step 6: Go to step 3 and repeat the procedure until all entries in the C j- Zj row are either
negative or zero.
The proposed novel tabular form of the simplex method for solving a maximization LPP is
illustrated with the numerical problem presented in the next section.
Numerical Problem
A furniture company can produce four types of chairs. Each chair is first made in the
carpentry shop and then furnished, waxed and polished in the finishing shop. Man-hours
required in each are (Mansory, 2015):
Total number of man-hours per month in carpentry and finishing shops are 6000 and 4000
respectively. Assuming abundant supply of raw material and demand for finished products,
determine the number of each type of chairs to be produced for profit maximization (Sharma,
2007).
Let the number of chair type 1, 2, 3, and 4 to be produced equal decision variable
X 1 , X 2 , X 3 ,X 4 respectively.
Applying the steps in the proposed novel tabular form of the simplex method gives:
X 1 + X 2 +3 X 3 + 40 X 4 4,000
Where X1 , X2 , X3, X 4 0
Maximize Z = 12 X 1+ 20 X 2+ 18 X 3+ 40 X 4 +0 S 1+ 0 S 2
X 1 + X 2 +3 X 3 + 40 X 4 + S 2 4,000
Where X 1 , X 2 , X 3 , X 4 , S1 , S 2 0
4,000
X 1= =1,333.33 1,333
3
200
X4= =66.67 67
3
56,000
Z max = =18,666.67
3
X 2= X 3=S1=S 2=0
Hence, the furniture company should produce 1,333 chairs of types 1, 67 chairs of type 4 and
no type 2 and type 3 chairs respectively.