degeneracy in transportation problems m.s. hung a.d. · degeneracy in transportation problems 227...

15
Discrete Applied Mathematics 13 (1986) 223-237 North-Holland 223 DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG Graduate School of Management, Kent State University, Kent, OH 44242, USA W.O. ROM Dept. of Quantitative Business Analysis, Cleveland State University, Cleveland, OH 44115, USA A.D. WAREN Computer and Information Science Dept., Cleveland State University, Cleveland, OH 44115, USA Received 6 June 1985 This paper presents a systematic study of the effects of degeneracy on a primal simplex algo- rithm as implemented in GNET. The relationship between the degeneracy and the geometry of a transportation polytope is discussed and some new results are provided. A procedure for generating transportation problems with controlled amounts of degeneracy was developed. Two such families of problems were solved using GNET and the computational results and conclusions are presented. 1. Introduction Degeneracy in linear programming problems has been extensively studied since it can cause cycling in simplex-type algorithms, unless special rules are enforced. Because of this, degeneracy has been considered a 'bad' phenomenon in the folklore of linear programming. This feeling persists even in specialized areas of linear pro- gramming, such as network flow problems. While degeneracy tends to be more pre- valent in network flow problems than in general linear programs, primal simplex algorithms are generally accepted as the most efficient algorithms for solving these problems. Most of these algorithms do not employ anti-cycling techniques, such as those discussed in [1, 5, 6], and yet they rarely encounter the problem of cycling [3]. Besides possibly causing cycling in simplex algorithms, degeneracy affects the geometry of a linear program. Klee and Witzgall [10] showed that, loosely speaking, the more degenerate a transportation problem is the fewer extreme points (vertices) it contains in its polytope. We further show that, again loosely speaking, the more degenerate a transportation problem is the more feasible bases it contains. There- fore degeneracy may affect the efficiency of a primal simplex algorithm even when cycling is not a worry. Thus far, however, there has been no systematic study of the effects of degeneracy on a primal code. 0166-218X/86/$3.50 © 1986, Elsevier Science Publishers B.V. (North-Holland)

Upload: others

Post on 04-Aug-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

Discrete Applied Mathematics 13 (1986) 223-237 North-Holland

223

D E G E N E R A C Y IN T R A N S P O R T A T I O N P R O B L E M S

M.S. HUNG Graduate School of Management, Kent State University, Kent, OH 44242, USA

W.O. ROM Dept. of Quantitative Business Analysis, Cleveland State University, Cleveland, OH 44115, USA

A.D. WAREN Computer and Information Science Dept., Cleveland State University, Cleveland, OH 44115, USA

Received 6 June 1985

This paper presents a systematic study of the effects of degeneracy on a primal simplex algo- rithm as implemented in GNET. The relationship between the degeneracy and the geometry of a transportation polytope is discussed and some new results are provided. A procedure for generating transportation problems with controlled amounts of degeneracy was developed. Two such families of problems were solved using GNET and the computational results and conclusions are presented.

1. Introduction

Degeneracy in linear programming problems has been extensively studied since it can cause cycling in simplex-type algorithms, unless special rules are enforced. Because of this, degeneracy has been considered a 'bad' phenomenon in the folklore of linear programming. This feeling persists even in specialized areas of linear pro- gramming, such as network flow problems. While degeneracy tends to be more pre- valent in network flow problems than in general linear programs, primal simplex algorithms are generally accepted as the most efficient algorithms for solving these problems. Most of these algorithms do not employ anti-cycling techniques, such as those discussed in [1, 5, 6], and yet they rarely encounter the problem of cycling [3].

Besides possibly causing cycling in simplex algorithms, degeneracy affects the geometry of a linear program. Klee and Witzgall [10] showed that, loosely speaking, the more degenerate a transportation problem is the fewer extreme points (vertices) it contains in its polytope. We further show that, again loosely speaking, the more degenerate a transportation problem is the more feasible bases it contains. There- fore degeneracy may affect the efficiency of a primal simplex algorithm even when cycling is not a worry. Thus far, however, there has been no systematic study of the effects of degeneracy on a primal code.

0166-218X/86/$3.50 © 1986, Elsevier Science Publishers B.V. (North-Holland)

Page 2: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

224 M.S. Hung et al.

To isolate the effects of degeneracy on an algorithm, it is necessary to generate problems with a controlled amount of degeneracy. This has proved difficult. In fact it was shown in [4] that verifying whether a given transportation problem is degenerate is itself an NP-complete problem. Therefore, one objective of this study is to present a method for generating problems with controlled amounts of de- generacy. First, the conditions necessary for the existence of degenerate solutions are explored. Next, two transportation problems which are nondegenerate but have vastly different numbers of vertices are analyzed. Then each of these problems is modified to provide a family of increasingly degenerate problems.

Finally, we report on the results of the computational study. GNET, the widely distributed primal simplex code by Bradley, Brown and Graves [3] was used to solve all the problems generated. GNET is one of the most efficient codes for network flow problems. However, our objective was to determine how it is affected by vary- ing amounts of degeneracy, rather than to verify its efficiency.

2. Theoretical results

The following notation is used to specify transportation problems: a = (al, . . . , am) and b- - (b 1, . . . , bn) are the vectors of supplies and demands respectively. The sum of the supplies (which equals the sum of the demands) is S. An m x n matrix X is a solution to problem (a, b) if its row sums equal a and its column sums equal b. It is a feasible solution if all entries are non-negative. T(a, b) denotes the polytope of feasible solutions.

2.1. Conditions for degeneracy

Since total supply equals total demand, each basis for an m × n transportation problem contains m + n - 1 basic variables. A vertex of T(a, b) is degenerate if the number of strictly positive basic variables is less than m + n - 1. Equivalently, pro- blem (a, b) is degenerate if and only if there exist a proper subset I of { 1,. . . , m} and a proper subset J of {1, . . . , n} such that:

~ a i : ~. b j . i~l j~J

For each distinct pair of such I and J, problem (a, b) is said to have one degeneracy. The following results apply for integer a and b.

Theorem 1. I f the problem (a, b) has total supply S < m • n, then it is degenerate.

Theorem 2. For any S>_m • n there exist a and b such that the problem (a, b) is non- degenerate.

Page 3: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

Degeneracy in transportation problems 225

Thus there are infinitely many nondegenerate problems. The following results

detail the nondegenerate problems achievable with S = m . n.

Theorem 3. I f the problem (a, b) has total supply S = m • n and is nondegenerate,

then it is necessary that either

a= (n , . . . , n ) or b= ( m , . . . , m ) .

Theorem 4. Given

a = ( n , . . . , n),

and

b = (p, . . . , p, mn - n p + p)

a' = (q , . . . , q, mn - mq + q), b' = (m, . . . , m)

with p, n and q, m relatively prime, p <_ m, q <_ n + 1, then the problems (a, b) and

(a; b') are nondegenerate.

For the n × n nondegenerate problem, the total supply must be at least n 2. How- ever, even when the total supply is n 2, Theorem 4 provides many nondegenerate problems. In Section 2.3. we show that these include the problems with the least and the most vertices. The results are used also in Section 2.4 where we generate trans- portation problems with controlled degeneracy.

2.2. Polytopal properties o f degeneracy

To every feasible solution X there corresponds a bipartite graph Gx defined as follows: Gx contains arc (i , j) if and only if xu>O. It is well known that X is a vertex of T(a, b) if and only if Gx is a forest. If X is a nondegenerate vertex, then Gx is a tree. On the other hand, if X is degenerate, then Gx can be connected to form a tree by adding degenerate basic variables. The following result is a somewhat strengthened version of Klee and Witzgalrs theorem 5 in [10]. They prove that for a given problem size, the maximum number of vertices is realized by a non- degenerate problem. Our result states that only nondegenerate problems achieve the maximum number of vertices.

Theorem 5. Given any degenerate m x n transportation problem, with n > 2 and

m >_ 2, there exists an associated m x n transportation problem with f e w e r degene-

racies and more vertices.

Proof. Let (a, b) be a degenerate transportation problem and (U, V) be a degeneracy of (a, b), that is:

a / - bj--0. i~U j ~ V

Page 4: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

226 M.S. Hung et aL

We assume either IUI ___2 or [P'I ___2, where ~'is the complement of V. If (U, V) does not meet this assumption then (0, V') will. Following Klee and Witzgall [10] define

f

problem (a', b ' ) such that for row u in U and column w in V, au = a ,+e and

b~=bw+e with a;=ai, bj=bj otherwise, where e<xij for any xij>O in any vertex of T(a, b). Thus (a , b ' ) has fewer degeneracies than (a, b). Given a vertex X of T(a, b) there are three possible cases:

(i) Xu, w.O. (ii) x,, ~ = 0 and u, w are in the same component of Gx.

(iii) x., w = 0 and u, w are in different components of Gx. In each case, vertex X of T(a, b) is mapped into a distinct vertex of T(a', b') as

shown in [10].

However, at least one vertex of type (iii) exists. Let X be such a vertex. Then X M

was mapped into vertex X" of T(a', b') where Xu" " w = e and xi, j =xi, j otherwise. We show that there exists a vertex X ' in T(a', b') without a corresponding vertex in T(a, b). Assume [ ~'1 >- 2 and let Gw be the component of Gx containing w. There are two possibilities:

(a) G~ contains another column h. There is a path on Gw from h to w. For simplicity let the path be (h, k, w). Define:

!

Xu, h=e, !

Xk, h =Xg, h--e,

!

Xk, w=Xk, w+e, !

X~j=X~j otherwise.

(b) Gw contains no other column. Let h be another column of ~'. Since Gh and

Gw are disjoint, a path (h, k, w) can be defined as above but with xk, w = 0. Thus in either case X ' is a vertex of T(a', b') without a corresponding vertex in

T(a,b).

Theorem 6. Given a degenerate m x n transportation problem with n > 2 and m > 2, there exists an associated m x n transportation problem with fewer degeneracies and fewer feasible bases.

Proof . From the proof of Theorem 5 it can be shown that in cases (i) and (ii) there is also a one to one relation between the number of bases in the two problems (a, b)

and (a', b'). It is clear that in case (iii), any feasible basis of problem (a', b ' ) becomes a feasible basis of (a, b) when we set e = 0. Thus problem (a, b) has at least as many feasible bases as (a', b'). Moreover, for vertices in case (iii), the problem (a; b') always has a basic variable xo with i in U and j not in V. Clearly there are bases of (a, b) without this property. Thus the problem (a, b) has more feasible bases.

Page 5: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

Degeneracy in transportation problems 227

2.3. Vertex counts in various transportation problems

While the p~'evious section showed that only nondegenerate problems may have the maximum number of vertices, it does not mean that all nondegenerate problems have the same number of vertices. In the following we present problems with various numbers of vertices and bases. The two theorems below were proved in [8, 10].

Theorem 7. The nondegenerate problem (a, b) with m <_ n and

a = ( 1 , . . . , 1 , k n - m + l), b = ( k , . . . , k ) , k>_m

has n m- 1 vertices, and this is the minimum possible number o f vertices for non-

degenerate m X n problems.

Theorem 8. Forany m x n transportation problem (with m < n) the minimum possi-

ble number o f vertices is n ! / ( n - m + 1)! and is achieved by the problem with:

a = ( i , . . . , l , n - m + l ) , b=(1 , . . . , 1).

Lemma 1. The above problem is the most degenerate problem in the sense that every basic solution has exactly m - 1 degenerate variables and n nondegenerate variables. Clearly no problem can have a vertex with fewer than n nondegenerate variables. Note that f o r m = n the above problem reduces to the assignment problem.

Klee and Witzgall [10] conjectured that the problem with a=(n , . . . , n ) , b = (m, ..., m), and gcd(m, n)= 1, has the most vertices among all m x n problems. This conjecture has now been proven by Bolker [2] and his main result is stated below. Following Bolker, we define our problem space P as:

P = {(a;b)l ~ a,= ~ bj}CR m+n

and use P+ to denote the subspace with non-negative a and b.

Theorem 9. Let (a; b') = (n,. . . , n, m, . . . , m). Then a problem with the maximum

number o f vertices (for m x n problems) lies in a region o f nondegeneracy in P+ whose closure contains (a', b'). I f gcd(m, n)= 1 then (a', b') lies in the interior o f a region o f nondegeneracy and has the maximum number o f vertices.

Corollary 1. The following square problem has the maximum number o f vertices for

any n × n problem:

a=(n+e, ...,n+_e, nT(n- 1)e),

b = (n, . . . , n) with 0 < e < 1.

Proof. It is easy to show that the problem (a, b) is nondegenerate for any such e and

Page 6: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

228 M . S . H u n g et al.

the result follows f rom Theorem 9.

For the above problem it is possible to derive a count for the number of vertices. Consider the case n - e. The case for n + e is similar.

Lemma 2. Any basic solution for an n × n transportation problem has at least one

row (and column) with exactly one basic variable.

Lemma 3. I f a basic solution for an n x n transportation problem has only one row

(or column) with one basic variable, then all the other rows (or columns) have exact- ly two basic variables.

To the best of our knowledge the following results are new.

Theorem 10. A bas& solution to the n x n transportation problem (a, b), such that:

a = ( n - e , . . . , n - e , n + ( n - 1 ) e ) , b=(n , . . . ,n ) , O < e < l

is feasible i f and only i f exactly one column has a single basic variable and this basic variable occurs in row n.

Proof . Assume a basic feasible solution is given. By Lemma 2 at least one column

has exactly one basic variable. To be feasible this variable must be in row n. With this column assigned, the first n - 1 rows have supply n - e and the last row has supply ( n - 1)e < n. Since the remaining columns have demand n, they must have at least two basic variables. By Lemma 3 they must have exactly two basic variables. This completes the on ly if part. Assume that a basic solution having one column

with one basic variable, in row n, is given. By Lemma 3, all other columns have degree 2. We assume this basic solution is infeasible and show that this leads to a

contradiction. Since the solution is infeasible at least one basic variable is negative, say (il , k l ) . This cannot be in the column with one basic variable since its value is n. Without loss of generality, let column 1 have one basic variable. With this column

assigned all other columns have degree 2. Since Xi,,kl < 0 and column kl has degree 2, the remaining basic variable in column kl has value:

Xi2, k I = n - - Xil, kl > n .

However, r o w i 2 must have at least one negative basic variable so that the row sum, less than n, is correct. Now repeat the argument and note that if any previous col- umn is repeated then a circuit exists. Since the number of columns is finite, the pro- cess must terminate in a repeated column. This contradicts a basic solution. The solution must thus be feasible.

Lemma 4. Each feasible basic solution to the problem in Theorem 10 corresponds to a feasible alternating path basis for the n x n assignment problem.

Page 7: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

Degeneracy in transportation problems 229

Proof. An alternating path basis for the assignment problem [1] is a basis where

each column except one, called the root, has a degenerate variable. Each column

also has exactly one nondegenerate variable. Thus each basic feasible solution of the

problem in Theorem 10 has the appropriate degrees in the columns. It is straightfor-

ward to show that it is possible to assign zero's and one's so that the basis is feasible

for the assignment problem.

Theorem 11. The n × n transportation problem with

a = (n - e, . . . , n - e, n + (n - 1)e), b = (n, . . . , n),

has n !n n- 2 distinct vertices.

0 < e < l

Proof . This is proven in [9]. An alternative proof can be based on the count for the

number of alternating path bases for the assignment problem [5], which is equal to

the number stated above. The proof follows from an extension of Lemma 4.

It is interesting to note that Bolker 's conjecture for the maximum number of ver-

tices for the m x n problem is supported by the above count, for m = n.

2.4. Transportation problems with controlled degeneracy

Next we define two families of n x n problems where the amount of degeneracy

can be varied from none to the maximum possible. The first family, Pmin(n, k), is

defined as follows:

a = (n, . . . , n, 1, . . . , 1, n 2 _ k n - - ( n - k - 1)), b = (n, . . . , n).

The parameter k specifies the number of row supplies which are set to n. When k = 0 the problem is nondegenerate and has the minimum number of vertices among n x n

nondegenerate problems. F rom Theorem 6, it also has the fewest feasible bases

among all n x n problems. Thus it has been termed the 'min ' problem.

The second family, Pmax(n, k) is:

a = ( n - 1 , . . . , n - l , 2 n - l - k ) , b = ( n - 1 , . . . , n - l , n , . . . , n ) .

Here the parameter k specifies the number of column demands which are set to

n - 1. When k = 0 the problem is nondegenerate and, by Theorem 5, has the max-

imum number of vertices for any n x n t ransportat ion problem. It also has the max- imum number of feasible bases for n x n nondegenerate problems. With both of

these families of problems it is possible to control the amount of degeneracy. This

is made more precise by the following:

Theorem 12. The number o f degeneracies at the various vertices o f Pmin(n,k), 0 <-k<_ n - 2, ranges f r o m 0 to k and all values are realized. For k = n - 1 or n,

Prnin(n, k) reduces to the assignment problem.

Page 8: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

230 M.S. Hung et al.

Proof. Since an = n 2 - ( n - 1)(k + 1) and every bj = n, row n requires at least n - k

positive elements in a feasible solution. Each of the other rows requires at least one positive element; hence a total of at least 2 n - k - 1 positive elements. That leaves at most k degenerate variables for a feasible basic solution. This maximum de- generacy is achieved by the northwest corner solution. The minimum of zero is achieved by setting xn, ~ = 1 and then applying the northwest corner procedure. To

get a solution with p < k degeneracies we set xi, i = 1 for i-- l, . . . , p and Xn, p+ 1 = 1 and then apply the northwest corner procedure.

Theorem 13. The number o f degeneracies at the various vertices o f Pmax(n, k), O<_k<n - 1, ranges f r o m 0 to k, and all values are realized. Pmax(n, n) is the assign- ment problem.

Proof. The maximum number of columns with exactly one positive entry is k + 1 (k< n). Thus at least n - ( k + 1) columns have two or more positive entries. The

number of positive entries in a solution is at least 2n - k - 1. Thus the number of degenerate variables is at most k. The most degenerate solution can be found using the northwest corner procedure. The northeast corner procedure will produce a non-

degenerate solution. To get a solution with p < k degeneracies apply the northwest

corner procedure for the first p columns and then switch to the northeast corner pro- cedure.

For the computational study examining the effects of degeneracy on a simplex

based algorithm, we used problem Pmin(n, k) and Pmax(n, k), letting k range from 0 to n. When k = 0 these problems represent the extremes in terms of the number of vertices for any n × n transportation problem. As k approaches n both families ap- proach the assignment problem which has the fewest vertices, is the most degene- rate, and we conjecture has the most feasible bases. We felt that these factors -

number of feasible bases, number of vertices, and degree of degeneracy - would af- fect the performance of a primal simplex algorithm.

3. Computational results

The two families Pmin(n,k) and Pmax(n,k) were solved on an IBM 370/158 by GNET [3]. As noted, GNET was chosen primarily because of its wide distribution. There axe a number of special features in GNET that are of interest:

(i) GNET starts with totally artificial solution and uses the 'big M ' approach to drive toward feasibility.

(ii) GNET does not employ an anti-cycling mechanism, such as Cunningham's strongly feasible bases [5]. The authors in [3] reported no incidence of cycling. We axe happy to confirm this after having solved over 10,000 problems.

We made only two modifications to the GNET code we received. One is the addi-

Page 9: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

Degeneracy in transportation problems 231

tion of a problem generator and the deletion of the provided input section, which was designed to read in only one problem. The other modification is the addition of a feasible start using the northwest corner rule.

Besides degeneracy, vertices, and bases we considered three other factors. These were:

(a) problem size n, (b) range in cost coefficients, (c) starting solution.

Regarding (b) we reaffirm the authors' report that GNET is relatively insensitive to the cost ranges of problems. Therefore we report only the runs with cost range 1-100,000. Problem size, n, varied from 40 to 125, and k was varied from 0 to n with 8 to 15 distinct values, depending on n. In all the figures the horizontal axis is the degree of degeneracy with per cent degeneracy= (k/n)x 100.

Each problem was solved by GNET using both the artificial start and the north- west corner rule starting solution. The artificial start is also referred to as 'Phase I and II' in the figures. The feasible start is also referred to as 'Phase II on ly ' .

For each family, each combination of n, k and starting rule was replicated with 50 randomly generated cost functions. The random number generator (IMSL pro- gram GGUBES with seed 123457.0) was restarted for each value of k used. Thus, for each value of n, the same set of 50 cost functions was used for all k and for both families.

There are five graphs for each problem family. See Figs. 1-10. Four of the graphs show the average number of pivots and the average number of degenerate pivots, each with a feasible and infeasible start. The fifth is a graph of per cent degeneracy versus per cent degenerate pivots. One graph was used for this case since, for all k and n, the observations fell very nicely on two curves, distinguished by a feasible or infeasible start. Graphs displaying the average time are not included to save space. The followng comments point out some of the interesting aspects of the com- putational results.

(1) The problem Pmax(n,k) was relatively flat with respect to k, both in total pivots and in solution time, especially with the artificial start.

(2) There is a dramatic difference in both average time and total pivots between the feasible start and the artificial start for both the max and the rain problems. In the max problem it was better to start with an infeasible solution, while in the min problem it was better to start with a feasible solution.

(3) For the min probem there is a significant change in both the number of pivots and the time as the degree of degeneracy changes. However, with the feasible start they increase with increasing degeneracy, while with the artificial start they decrease with increasing degeneracy.

(4) For both the max and the rain problems the graphs of per cent degeneracy ver- sus per cent degenerate pivots are distinguished only by feasible versus artificial start.

Page 10: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

232

500

400

300

200

100

0,

-

0 10 20 30 40 50 60 70 60 90 100

Per Cent Degeneracy

MS. Hung et al.

N-125

N=lOO

N=80

N=bO

N=50

N=40

Fig. 1. Problem Pma,. Total number of pivots (with artificial start).

250

-

Per Cent Degeneracy

N=125

N=lOO

N=80

N=60

N=50

N=40

Fig. 2. Problem Pmax. Total phase II pivots (with feasible start).

Page 11: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

400

350

300

a0

200

150

100

50

Degenerucy in transportation problems 233

N=125

N=lOO

N=80

N=60 N=50

N=40

Per Cent Degeneracy

Problem P,,,a,. Number of degenerate pivots in phases I and II.

1200

looo

800

600

Per Cent Degeneracy

N=125

N=lOO

N=80

N=60

N=50

N=40

Fig. 4. Problem Pm,,. Number of degenerate phase II pivots (with feasible start).

Page 12: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

234 M.S. Hung et al.

I00

90

80

70

60

50

40

30

20

',0

0 I I I I

0 t0 20 30 40 50 60 70 80 90 t00

Feasible Start

Infeasible Start

Per Cent Degeneracy

Fig. 5. Problem Pmax- % Degeneracy vs. % degenerate pivots (all problem sizes).

t~ 4,J 0 >

Z

f._

r~ IE

Z

800

600

400

4~ 0 >

0-

4~

(_

i-

n

4J t-

(_J

L

O_

I I I I I I I I I

0 10 20 30 40 50 60 70 80 90 iO0

N=125

N=I00

N=80

N=60

N=50

N=40

P e r Cent D e g e n e r a c y Fig. 6. Problem Pmin" Total number of pivots (with artificial start).

Page 13: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

Degeneracy in transportation problems 235

1700

1000 "

O3 . , - , 800 0 >

CL

600 N=8o f..

E = 400 ~=6o z

N=50

200 N=40

0 0 tO 20 30 40 50 60 70 80 90 100

Per Cent Degeneracy

Fig. 7. Problem Pmin" Total phase II pivots (with feasible start).

N=125

N=I00

400

i

300 ~

N=125

(n 4~ o >

4-1

f--

¢ -

0

200

iO0

N=IO0

N=80

N=60

N=50

N=40

0 .r~----F ~ 0 tO 20 30 40 50 60 70 B0 90 i00

Per Cent D e g e n e r a c y Fig. 8. Problem Pmin" Number of degenerate pivots in phases I and II.

Page 14: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

236 M.S. Hung et al.

1200

1000

I N= 125

U3 4J O >

L IlJ ¢-

Q

800

600

400

200

N=IO0

N=80

N=60

N=50

N=40

0 0 iO 20 30 40 50 60,, 70 80 90 iO0

Per Cent Degeneracy

Fig. 9. Problem Pmin" Number of degenerate phase II pivots (with feasible start).

t00

ffl

o_ 70 4..I

if-

' - ' 40 4-1

r..3

c_ 20

a_ t0

0 O

i i0 20 30 40 50 6 0 7 0 80 90 JO0

Feasible Start

Infeasible Start

Per Cent Degeneracy

Fig. 10. Problem Pmin- 07o Degeneracy vs. 070 degenerate pivots (all problem sizes).

Page 15: DEGENERACY IN TRANSPORTATION PROBLEMS M.S. HUNG A.D. · Degeneracy in transportation problems 227 2.3. Vertex counts in various transportation problems While the p~'evious section

Degeneracy in transportation problems 237

Some of these computational results have reasonable explanations based on the theoretical results of the previous section. In particular, the difference between the two families of problems, with the feasible versus the artificial start, could be due to the different numbers of vertices. Thus, for nondegenerate problems, when the number of vertices is small then it is good to start with a feasible solution, while if the number of vertices is large then it is better to start with an infeasible solution. It is clear that the artificial start works much better for the assignment problem as well as for most of the degenerate problems (per cent degeneracy > 20). The relative- ly flat behavior of the maximum problem might be explained by the fact that every solution of the nondegenerate problem corresponds to an alternating path solution of the assignment problem. Note that Lemma 4 implies that every optimum solution for k = 0 is also an optimum solution for k--n. The fact that the behavior is not totally flat could be explained by the fact that GNET does not employ an alternating path (or strongly feasible [5]) basis. The computational results suggest that, for large n, rather than solving the assignment problem, it is preferable to solve Pmax(n, 0) with the artificial start.

Acknowledgement

We would like to thank the referees for their constructive comments, particularly the referee who brought Bolker's paper to our attention.

References

[1] Barr, R.S., Glover, F., and Klingman, D., The alternating path algorithm for assignment problems, Math. Prog. 13 (1977) 1-13.

[2] Bolker, E.D., Transportation polytopes, J. of Comb. Th. (B) 13 (1972) 251-262. [3] Bradley, G., Brown, G., and Graves, G., Design and implementation of large scale primal tranship-

ment algorithms, Mgmt. Sci. 24 (1977) 1-34. [4] Chandrasakaran, R., Kabadie, S.N., and Murty, K.G., Some NP-Complete problems in linear pro-

gramming, O.R. Letters 1 (1982) 101-104. [5] Cunningham, W., A network simplex method, Math. Prog. 11 (1976) 105-116. [6] Cunningham, W., Theoretical properties of the network simplex method, Math. of Op. Res. 4

(1979) 196--208. [7] Dantzig, G.B., Linear Programming and Extensions, (Princeton University press, N.J. 1963). [8] Demuth, O., A remark on the transportation problem, Casopis Pest. Math. 86 (1961) 103-110

(Czechoslovakian, German and Russian Summaries). [9] Hung, M.S., Rom, W.O., and Waren, A.D., Use of the Prufer code for some tree counting pro-

blems, Technical Report, Dept., of Comp. Sci., Cleveland State U., 1984. [10] Klee, V., and Witzgall, C., Facets and vertices of transportation polytopes, in Mathematics of the

Decision Sciences, ed. by G. Danzig and A. Veinott, (1968) 257-282.