For the transportation problem, Sharma and Sharma [ 1] have given a very computationally efficient heuristic (runs in O(c*n 2) time) to give very good dual solution to transportation problem. Sharma and Prasad [ 2] have given an efficient heuristic (complexity O(n 3) procedure to give a very good primal solution (that is generally non-basic feasible solution) to transportation problem by using the very good dual solution given by Sharma and Sharma [ 2]. In this paper we use the solution given by Sharma and Prasad [ 2] to get a very good Basic Feasible Solution to transportation problem, so that network simplex (worst case complexity (O(n 3*(log(n))) can be used to reach the optimal solution to transportation problem. In the second part of this paper, we give a simple heuristic procedure to get a very good BFS to linear programming problem from the solution given by Karmarkar [ 3] (that generally produces a very good non-basic feasible solution in polynomial time (O(n 5.5)). We give a procedure to obtain a good BFS for LP by starting from the solution given by Karmarkar [ 3]. We note that this procedure (given here) is significantly different from the procedure given in [ 4].
Sharma and Prasad [
Similarly, Karmarkar [
Problem P1.
min ∑ k ∑ i X i k ⋅ C i k
s.t.
∑ i X i k = d k for all k = 1 , ⋯ , K (1)
∑ k X i k = b i for all i = 1 , ⋯ , I (2)
X i k ≥ 0 for all i and k (3)
For the balanced transportation problem, method due to Sharma and Prasad [
Step 1: Prepare a list L of “p” Cik such that Xik’s > 0.
Then sort (“p”) Cik’s with Xik’s > 0 in increasing order. Put first K + I − 1 items of L in list L1 and remaining Cik’s with Xik’s > 0 in list L2. It is to be noted that the associated cells in L1 form a basis.
Step 2: Then we take first item from L2. It can be easily seen that cells of L1 + first cell (CE*) taken out of L2 has a unique cycle. Perform the pivot operation to determine the leaving cell (by using Cik’s as relative cost co-efficients. It can be seen that resulting partial solution may increase or decrease.
Step 3: Remove the cell CE* from the list L2. If L2 is not empty, then go to Step 2, else stop.
Step 4: We have good BFS for the balanced transportation problem (P1). Now network simplex for the transportation problem can take over.
Problem P2.
min C X
s.t.
A X = b (4)
X ≥ 0 (5)
Matrices A, X and b are matrices of conformable dimensions (A is of the size m × n; X is of size n × 1; and b is of size m × 1). It is to be noted that a BFS to problem P2 is associated with a matrix B of size m × m. Optimal BFS has at most “m” positive entries in X (that is of size n × 1; such that m < n).
It is to be noted that Karmarkar’s algorithm [
Step 1: It is to be noted that there are exactly p C m bases associated with the solution given to problem P2 by methods of [
Step 2: Choose other column (a2) in A that is not included in B1 such that a2 belongs to X1. Set an = a2.
Step 3: Perform pivot with an as entering variable. It can be seen that an will enter the basis only if its relative cost co-efficient is strictly negative. It can be seen that the solution will improve or remain the same.
Step 4: If all columns associated with X1 belonging to (p-m) are considered for entering variable, then stop; we have a good BFS and usual simplex can proceed further to get optimal solution; else choose other column in X1 not considered earlier and call it an. Go to step 3.
We now have the optimal BFS to problem P2. It can be seen that this approach is different than the one given in [
Algorithms (that give very good solutions (non-BFS in general) in competitive times: transportation problem (O(n3) & simplex (for linear program) in O(n5.5)) are available. We give a procedure that makes use for above; and gives very good BFS. Then control is given over to optimizing procedures (like Network Simplex (for transportation runs in O(n3*log(n) time) & ordinary simplex procedure for linear program (exponential time complexity) to get optimal solutions. But since we start from a very good solution, it is hoped that the optimizing procedure will take significantly less time (compared to its worst case complexity given above). An empirical investigation has been undertaken and we will submit results as early as possible.
Sharma, R.R.K. (2017) Obtaining Optimal Solution by Using Very Good Non-Basic Feasible Solution of the Transportation and Linear Programming Problem. American Journal of Operations Research, 7, 285-288. https://doi.org/10.4236/ajor.2017.75021