<<

Computational ComplexityofLossNetworks



Graham Louth

Analysys Limited, 8-9 Jesus Lane,

Cambridge CB5 8BA, England

y

Michael Mitzenmacher

Department of Electrical Engineering and ,

University of California, Berkeley, California 94720, USA

Frank Kelly

Department of Pure Mathematics and Mathematical Statistics,

UniversityofCambridge, 16 Mill Lane, Cambridge CB2 1SB, England

June 4, 1993

Abstract

In this pap er we examine the theoretical limits on developing algo-

rithms to nd blo cking probabiliti es in a general loss network. We demon-

strate that exactly the blo cking probabiliti es of a loss network

is a #P-complete problem. We also show that a general for ap-

proximating the blo cking probabiliti es is also intractable unless RP=NP,

which seems unlikely according to current common notions in complex-

ity theory.Given these results, we examine implications for designing

practical for nding blo cking probabiliti es in sp ecial cases.

1 Intro duction

Loss networks are a p owerful mo del for computer and telecommunications net-

works with limited resources. One asp ect of the mo del is that customers can b e

turned away, or blo cked, if resources are already b eing used to capacity.Itisof

great practical signi cance to know the probability that a customer is blo cked.

As customers can b e of di erenttyp es, dep ending up on the resources they wish

to cho ose, these probabilities are collectively referred to as the blo cking probabil-

ities of the network. There exist explicit formulae for blo cking probabilities, but



Supp orted by the Science and Engineering Research Council

y

Supp orted by the Winston Churchill Foundation 1

nevertheless they seem dicult to calculate, and much e ort has b een directed

at nding approximations and asymptotic results.

In this pap er, we examine the theoretical limits on developing algorithms to

nd blo cking probabilities in a general loss network. In particular, we demon-

strate that exactly computing the blo cking probabilities of a loss network is a

#P-complete problem. Since the #P-complete problems are at least as hard as

NP-complete problems and in fact app ear much harder, a p olynomial time al-

gorithm to nd blo cking probabilities b ecomes extremely unlikely. One natural

reaction to this result would b e to consider algorithms which only approximate

the blo cking probabilities instead of determining them exactly.We also show,

however, that a general algorithm for approximating the blo cking probabilities

is also intractable unless RP=NP.Given these results, we examine the impli-

cations for designing practical algorithms for nding blo cking probabilities for

loss networks in sp ecial cases.

In many resp ects loss networks resemble the Ising mo del of statistical me-

chanics. Our work in this pap er has b een partly motivated by the imp ortant

recent pap er of Jerrum and Sinclair ([10], see also the review [28]), who havepre-

sented an ecient randomized algorithm to approximate the partition function

of an arbitrary ferromagnetic Ising mo del to any sp eci ed degree of accuracy,

even though the exact calculation is a #P-complete problem. It seems, however,

that a loss network resembles the non-ferromagnetic, or `spin-glass', case of the

Ising mo del, where Jerrum and Sinclair haveshown that even approximation is

dicult.

2 A loss network mo del

We b egin by de ning the mo del of a loss network. Here we primarily followthe

description given by Kelly in [15], whichprovides an intro duction to the theory

of loss networks and an overview of recentwork on the sub ject. Our description

is based on the canonical example of a loss network, a telephone network.

Consider a network of no des connected by links lab elled j =1; 2;:::;J. Link

j holds C circuits, where C 2 Z , the non-negativeintegers. A route is de ned

j j +

by a subset of links; the routes are lab elled r =1; 2;:::;R. Notice here that

we do not restrict routes to b e connected paths in the graph representing the

network; as we shall see, however, our results hold even in this restricted case.

Acallonroute r requires A circuits from link j, where again A 2 Z .Itis

jr jr +

assumed that customers requesting route r arriveasaPoisson stream with rate

 , and that the streams for the various routes are indep endent. An arriving

r

call requesting route r is accepted only if at the time of arrival there are at least

A circuits available on each link j for j =1; 2;:::;J. An accepted call holds

jr

those circuits simultaneously and exclusively for the duration of the call, which

is indep endent of earlier arrival times and call durations. Assume also that calls

on route r have identically distributed call durations with unit mean. If a call 2

is not accepted, it is lost; the caller neither queues for service nor retries later.

We let n (t)bethenumb er of calls in progress using route r at time t.We

r

also de ne the column vectors n(t)=(n (t):r =1;:::;R)andC =(C : j =1;:::;J)

r j

and the matrix A =(A : j =1;:::;J;r =1;:::;R). Then the sto chastic pro-

jr

cess (n(t);t  0) has a unique stationary distribution and under this distribution

 (n)= P(n(t)=n)isgiven by

R

n

r Y



r

1

(1) ; n 2 S (C );  (n)=G(C )

n !

r

r =1

where

R

S (C )=fn 2 Z (2) : An  C g

+

and G(C ) is the normalizing constant or partition function

 

R

n

X Y r



r

G(C )= (3) :

n !

r

r =1

n2S (C )

This result is easy to verify in the case when call distributions are exp onen-

tially distributed by noting that the distribution  (n)given in (1) satis es the

detailed balance conditions

 (n)   =  (n + e )  (n +1); n; n + e 2 S (C );

r r r r

0 0

where e =(I [r = r ];r =1;:::;R) is a unit vector corresp onding to one call

r

on route r (cf. [1]). The insensitivity of the distribution given in (1) to call

duration distributions can b e deduced from the work of Kelly [13] on general

arrival rates to networks of quasi-reversible queues, or by direct application of

results from the theory of generalized semi-Markov pro cesses [2].

This mo del can b e used naturally to mo del connections across a circuit-

switched communication network, such as a telephone network system. The

de ning parameters of the system, however, are simply the matrix A, the ca-

pacityvector C , and the arrival rates  . The freedom available in cho osing the

r

link-route matrix A makes this class of mo del applicable to other problems as

well, such as lo cking systems, lo cal area networks, multipro cessor in-

terconnection architectures, mobile radio, and broadband packet networks (see

[8,14,16,18,19,21,23]).

Notice that the stationary probability that a call requesting route r is blo cked,

whichwe will write as L , can b e written in terms of the partition function, as

r

X

L =1  (n);

r

n2S (C Ae )

r

from whichwe can derive

1

(4) L =1 G(C Ae )G(C ) :

r r 3

The explicit simple forms for the equilibrium distribution and the partition

function would seem to suggest that wehave found a complete solution to this

problem. However, computing the partition function, G(C ), directly is quite

dicult, since it requires summing over the state space S (C ), which, as (2)

demonstrates, maygrow rapidly with the numb er of routes or with the capacities

of links. Various more re ned metho ds have b een prop osed, and will b e brie y

discussed in Section 7, but all require an e ort which grows quickly with the size

of the network. We will demonstrate that computing G(C ) is in fact dicult

in a well-de ned sense; moreover, we shall see that a fundamental problem in

computing G(C ) comes from the diculty in computing the vectors that lie in

the state space S (C ). Using this, wewillshow that computing the blo cking

probabilities is #P-complete.

3 The Loss Partition Problem

Surprisingly, the reason that computing the partition function is intrinsically

dicult need not haveanything to do with the practical problems of computing

with real numb ers or the rapid growth of the state space S (C ) when the links

are given large capacities. Although these features of the problem do complicate

it, by examining the problem in the restricted case where all capacities are 1 and

the arrival rates are uniform and integer-valued, we can showthateven when

these issues are disregarded the problem remains for all intents and purp oses

intractable. Of course, the problem of computing the partition function in

general is at least as hard as it is in this sp ecial case, so our results provide a

lower b ound on the worst-case complexity of the problem.

We formalize the notion of the problem of computing the partition function

of a loss network, in the case where there is a uniform arrival rate and link

capacities are 1, by de ning the following problem:

Loss Partition

INSTANCE: A matrix A =(A : j =1;:::;J;r =1;:::;R) with entries in

jr

f0,1g and a natural number  .

QUESTION: What is the partition function

R

X Y

n

r

G = G(A;  )= I [An  1] (5)  :

R

r =1

n2f0;1g

In b oth the ab ove and the following we often abuse notation by using 1 to

refer to the column vector whose entries are all 1 when the context makes the

meaning clear. Notice that the instance of a Loss Partition problem corresp onds

to nding the partition function given in (3) of a loss network where all link

capacities are 1 and all arrival rates are  . Also, as the arrival rate is uniform 4

across all routes, it is p ossible to write the partition function as

R

X

k

G = N  ;

k

k =0

where

X

T

N = I [An  1]I [1 n = k ]

k

R

n2f0;1g

is the numb er of feasible con gurations with exactly k calls in progress.

We will show that Loss Partition is #P-complete. Recall that a function

is in #P if it can b e computed by a counting of p olynomial

[27]. More intuitively,we call a problem in which one wishes to

nd the numb er of distinct solutions an enumeration problem. An enumeration

problem lies in #P if there is a nondeterministic p olynomial time algorithm such

that for each instance of the problem, the numb er of distinct nondeterministic

computations that lead to the acceptance of the instance is exactly the number

of distinct solutions to the problem. Similarly, a problem is #P-complete if it

is in #P and any other problem in #P can b e reduced to it in p olynomial time.

The extensions of most NP-complete problems to enumeration problems can b e

shown to b e #P-complete using parsimonious transformations [5].

To show that Loss Partition is #P complete, we rst show thatitliesin#P.

Theorem 1 Loss Partition is in #P.

Pro of: Consider the nondeterministic Turing machine which, on b eing given

an instance of Loss Partition, nondeterministically cho oses a column vector

R m

n

n 2f0; 1g and a number from 1 to  , where m is the numb er of ones in

n

the vector n. The Turing machines accepts if An  1 and rejects otherwise.

All of this can clearly b e accomplished in time p olynomial in the input. The

numb er of accepting computations is

R

X X Y

m n

n r

I (An  1) = I (An  1)  :

R R

r =1

n2f0;1g n2f0;1g

The nal expression is just the partition function as given in (5). Thus Loss

Partition lies in the class #P. 2

To show that Loss Partition is #P-complete, we consider the following NP-

complete and #P-complete problems.

Set Packing

INSTANCE: A collection C of nite sets and a p ositiveinteger K jC j:

QUESTION: Do es C contain a sub collection of at least K mutually disjoint

sets? 5

#Set Packing

INSTANCE: A collection C of nite sets and a p ositiveinteger K jC j:

QUESTION: Howmany sub collections of at least K mutually disjointsetsdoes

C contain?

These problems can b e shown to b e NP-complete and #P-complete resp ec-

tively by reducing to them one of several similar problems, including Indep en-

dent Set and #Indep endent Set [5]. Notice that in a capacity one loss network,

two routes must b e disjoint in order for there to b e a feasible con guration with

a call on each route. Thus there seems to b e an intuitive connection b etween

loss networks and the Set Packing problem. Wemakethisintuition explicit in

the theorem b elow.

Theorem 2 Loss Partition is #P-complete.

Pro of: Wehaveshown in Theorem 1 that Loss Partition is in #P.Wenow

present a p olynomial time reduction from #Set Packing to Loss Partition, which

suces to prove the theorem.

Let C and K b e an instance of #Set Packing. Without loss of generality,

wemay supp ose the elements of the sets in C are simply the integers from 1 to

J for some J and that the sets in the collection C are distinct. We can create

in p olynomial time an instance of Loss Partition corresp onding to C as follows.

Let R = jC j and asso ciate a route with each set in C . The links corresp ond

to the integers 1 to J which are elements of the sets of C . The matrix A is

determined by letting A be 1 if j is an elementofthe r th route (set) in C

jr

and 0 otherwise. Together with an integer  this de nes an instance of Loss

Partition.

The output of Loss Partition is the partition function

R

X

k

G = N  :

k

k =0

Recall that N is just the numb er of distinct feasible con gurations having

k

exactly k calls in progress. But for eachsuch feasible con guration there is a

corresp onding sub collection of k disjointsetsofC . Moreover, there are certainly

R R

at most 2 such sub collections of size k , since there are only 2 sub collections

in total.

2R

Now take the instance of Loss Partition describ ed ab ove with  =2 : The

output can b e thoughtofasaninteger in base 2R, and the N are simply the

k

digits of this numb er. Thus the N can b e found by rep eatedly dividing by

k

2R

2 and lo oking at the remainders. Knowing the N allows one to compute

k

P

R

N , which solves the instance of #Set Packing. Given an algorithm for

k

k =K

Loss Partition, this computation can b e done in p olynomial time. 2 6

The ab ove pro of of Theorem 1 uses an arrival rate  exp onential in R.

Alternatively, one could note that G is a p olynomial of degree R in  with

co ecients N . A p olynomial algorithm for Loss Partition would allow one to

k

nd the value of the p olynomial when  =1; 2;:::;R + 1. Using these R +1

values, one can compute the N eciently. Indeed one could even use R +1

k

distinct rational values of  , if Loss Partition were de ned more generally to

allow rational as well as integer arrival rates (see, for example, [27], fact 5).

One complaintthatmight b e o ered concerning the ab ove result is that

the routes describ ed in the theorem may not corresp ond with connected paths

in a graph, as might b e exp ected in many application areas. However, it is

a relatively simple exercise to extend the ab ove argumenttoshow that Loss

Partition is #P-complete even if one restricts the problem to the case where all

routes are connected paths.

Theorem 3 Loss Partition is #P-complete in the restrictedcase whereall

routes areconnectedpaths.

Pro of: As in the ab ove problem, we reduce from #Set Packing. Given an

instance of #Set Packing, we create an instance of Loss Partition de ned by

a graph suchthateach set corresp onds to one route in the graph, two routes

share a link if and only if their corresp onding sets intersect, and all routes are

connected paths in the graph.

Again let R = jC j. The graph for the Loss Partition instance consists of

vertices

V = fv :1  i  R; 1  j  R +1g[fw :1 i

i;j

fi;j g;k

We identify the vertex w with the vertex w when j>i,soeachsuch

fi;j g;k fj;ig;k

vertex has two equivalent lab els. The edges of the graph are

E = f(v ;v ):1 i; j  Rg[f(v ;w ):1 i; j  R; i 6= j g[

i;j i;j +1 i;j

fi;j g;1

f(w ;w ):1 i

i;j +1

fi;j g;1 fi;j g;2 fi;j g;2

The links of the loss network corresp ond to the edges.

Intuitively,we describ e the routes as follows. For the ith set in C there

corresp onds a route whichisapathfromv to v . The route will contain

i;1 i;R+1

the edge (v ;v ) unless the ith and j th set have a non-emptyintersection

i;j i;j +1

(where, for convenience, wesay that a set do es not intersect itself ); in this

case, the route detours through the edges (v ;w ); (w ;w ); and

i;j

fi;j g;1 fi;j g;1 fi;j g;2

(w ;v ). It is clear that the routes corresp onding to the ith and j th set,

i;j +1

fi;j g;2

where i 6= j ,intersect on the link (w ;w ) only if the sets intersect,

fi;j g;1 fi;j;g2

and the routes will not intersect otherwise. The size of this instance of Loss

Partition is p olynomial in the size of the input, proving the theorem. 2

Theorems 2 and 3 shows that a generalized algorithm for exactly computing

the partition function of a loss network is by current standards infeasible, even in 7

the case where all capacities are one, the arrival rate is uniform, and all routes

are connected paths. One natural inclination after seeing this result might

b e to consider algorithms for approximating the partition function instead of

nding it exactly.For example, rejection sampling from the truncated Poisson

pro cess or simulation of the actual sto chastic pro cess are b oth p otential means

of approximating the partition function. Our next argument, however, shows

that unless a widely held b elief in complexity theory is false wecannoteven

hop e to nd an ecientapproximation algorithm for Loss Partition.

4 Probabilistic Complexity Classes and Approx-

imation Algorithms

In order to consider ecientapproximation algorithms, we shall describ e exactly

what wemeanby a randomized algorithm and brie y examine some complexity

classes that arise once we expand our conception of an algorithm to include

randomized algorithms.

In the most basic mo del, a randomized algorithm is one which can b e run

on a standard Turing machine that has an extra tap e containing a string of

random bits which can b e read by the algorithm. This mo di ed version is

called a probabilistic Turing machine. Alternatively, one can imagine that the

algorithm is allowed to a fair coin at anypoint and use the result.

The notion of a randomized algorithm leads to new complexity classes. We

limit the discussion to classes of decision problems for convenience. First, let

us say that a probabilistic Turing machine recognizes a if it

returns the correct yes/no answer with probability greater than 1/2 for each

individual instance of the problem. The machine works in p olynomial time

if it recognizes the decision problem in some numb er of steps b ounded bya

p olynomial in the input. The error b ound of a probabilistic Turing machine

is the least upp er b ound of the probability of failure taken over all instances.

The error b ound, by de nition, is at most 1/2 if a probabilistic Turing machine

recognizes a decision problem.

Wenow recall the following complexity classes:

BPP, the class of boundedprobabilistic p olynomial time problems, is the class

of problems recognized by a p olynomial time probabilistic Turing machine with

error b ound c<1=2.

RP, the class of random p olynomial time problems, is the class of prob-

lems recognized by a p olynomial time probabilistic Turing machine with zero

probability of error when the correct answer is no.

It is clear that RP  NP. Also, note that any problem in either BPP or RP

can b e recognized by a probabilistic Turing machine with an arbitrarily small

error b ound simply by testing the problem some large (but p olynomial)number

of times. From this we can easily showthatRP BPP. It has not b een proven 8

whether any of these inclusions are prop er; however, it is widely thoughtthat

RP 6=NP.

We shall also consider randomized algorithms whichapproximate a desired

result. In discussing approximation algorithms, we will use the standard of

a ful ly polynomial randomized approximation scheme established by Karp and

Luby in [12]. Given non-negative real numb ers a, b,andc,wesaythat b

approximates a within ratio 1 + c if

1

a(1 + c)  b  a(1 + c):

If f is a function from problem instances to the real numb ers, a randomized

approximationscheme for f is a randomized algorithm which, when given an

instance x of a problem and a real number  2 (0; 1], yields a real number

that approximates f (x) within ratio (1 + ) with a probability of at least 3/4.

By using rep eated trials one can reduce the probability of error from 1/4 to

1

any desired value >0, by running the algorithm 0(log  ) times and using

the median of the results ([10],[11]). Finally,aful ly polynomial randomized

approximation scheme,orfpras, is a randomized approximation scheme that

runs in time p olynomial b oth in the size of the problem instance given as input

1

and  . An fpras approximates a function eciently, although it naturally can

use larger time in order to gain accuracy.

Wenowshow that approximating the partition function is also infeasible in

a sp eci c, complexity-based sense. Wedothisbyshowing that the existence of

an fpras for Loss Partition would yield a p olynomial time randomized algorithm

for Set Packing, and hence for all problems in NP. Since it is widely b elieved

that RP 6=NP, it seems unlikely that an fpras for Loss Partition exists.

Theorem 4 Therecan be no fpras for Loss Partition unless RP = NP.

Pro of: Supp ose we are given an instance of Set Packing with a collection

C of sets and integer K . As in Theorem 2, generate a corresp onding in-

2R

stance of Loss Partition. In this case wecho ose  =2 . With this choice

of  ,we see that if there is a feasible con guration with K calls in progress,

P

R

k 2RK

then G = N   2 ,whileifthereisnosuch con guration, then

k

k =0

P

R

k R 2R(K 1) R 2RK

G = N   2 2 =2 2 . Since feasible con gurations cor-

k

k =0

2RK

resp onds to collections of disjoint sets in C , G  2 if C has a sub collection

R 2RK

of K disjoint sets, and G  2 2 otherwise.

Now supp ose there exists an fpras for Loss Partition. Then these two cases

are distinguishable by the fpras, and using the fpras provides a randomized

algorithm for deciding the Set Packing question. Thus Set Packing 2 BPP.

Since BPP is closed under p olynomial time reductions, and Set Packing is NP-

complete, this yields that NP  BPP.However, bythework done byKo[17],

this implies that RP = NP. 2

An entirely similar argumentshows that there can b e no fpras for Loss

Partition even in the restricted case where all routes corresp ond to connected 9

paths unless RP = NP.However wehave b een unable to recast the pro of of

Theorem 4 so that only b ounded or p olynomially growing arrival rates are used:

it remains p ossible that an fpras may exist for Loss Partition in the restricted

case of arrival rates.

5 Theoretical Implications for Computing Loss

Probabilities

The complexity of computing the partition function leads to some interesting

conclusions regarding the ability to compute blo cking probabilities for general

loss networks. In particular, recall by equation (4) that

1

(6) G(C )= G(C Ae ):

r

1 L

r

Thus if a to ol existed for nding the exact blo cking probabilities on a loss net-

P

work, G(C ) could b e determined recursivelyinatmost C steps. A p olyno-

j

j

mial time metho d for nding blo cking probabilities would therefore immediately

yield a p olynomial time algorithm for solving Loss Partition. By what wehave

shown in Theorem 2, such an algorithm would b e extremely unlikely.

Moreover, we can demonstrate similarly that an fpras for L =(1 L ), the

r r

o dds of a call b eing lost on route r , yields an fpras for the partition function.

Theorem 5 Therecan benofpras for the odds of a cal l being blockedona

given route of a loss network unless RP = NP.

Pro of: Since 1=(1 L )=1+L =(1 L ), an fpras for L =(1 L )imme-

r r r r r

diately yields one for 1=(1 L ); take the estimate given by the fpras and add

r

1 to nd a suitable estimate for 1=(1 L ).

r

Now supp ose there is an fpras for 1=(1 L ). Then we can create an fpras

r

that approximates the partition function within ratio (1 + ) as follows. Let

P

c = C and

j

j

1 

min( ; )

0

4 2

 = :

c

Compute an approximation for G(C ) recursively from equation (6) by using the

0

fpras for 1=(1 L ), approximating it at each step within a ratio of (1 +  )

r

1

with probability at least 1 (4c) . Then with probability at least 3/4 the nal

estimate E for G(C ) satis es

0 c 0 c

(1 +  ) G(C )  E  (1 +  ) G(C );

but

0 c 0 0 0 2

(1 +  )  exp (c ) < 1+c +(c ) < (1 + ): 10

Since c is p olynomial in the input size, this yields an fpras for G(C ). By Theo-

rem 4, this would imply that RP = NP. 2

It would seem that Theorem 5 should b e extended to show that the blo cking

probabilities themselves cannot b e approximated by an fpras unless RP = NP.

However, this do es not seem to follow immediately. The problem lies in the

case where the blo cking probability is extremely close to 1. For example, if

L is close to 1, unless  is chosen small enough, the approximation algorithm

r

might simply return 1. For this problem, such a return value would b e useless,

since the recursive algorithm for approximating G(C ) requires using values for

1=(1 L ).

r

One p ossible means of xing this would b e to b ound L away from 1 and

r

then cho ose an appropriate . This metho d do es not seem feasible, however,

for the following reason. By increasing the arrival rate of calls to the network,

one increases the blo cking probabilities. In particular, for a given instance of

Loss Partition, increasing the numb er of digits in the arrival rate  bysome

p olynomial factor increases the arrival rate exp onentially,which in turn could

cause the blo cking probabilities to approach 1 exp onentially quickly. In other

words, 1=(1 L ) can grow exp onentially in the size of the problem instance.

r

1

To approximate 1=(1 L ) within a ratio of 1 + , where  is b ounded bya

r

p olynomial in the size of the input, would seem to require approximating L to

r

0 0 1

within a ratio 1 +  , where ( ) is exp onential in the size of the input.

Indeed, this app ears to b e a general problem that must b e considered when

using fpras to approximate probabilities in a [0,1) range. Wecan,however,

say something ab out the abilitytoapproximate L by considering an algorithm

r

which do es not charge for the necessity of making b etter approximations as L

r

approaches 1.

Theorem 6 Unless RP = NP, theredoes not exist an algorithm which does the

fol lowing: Given a loss network, a route r on the network, and  2 (0; 1],the

algorithm returns an estimate E for L in time boundedbyapolynomial in the

r

1

size of the loss network and  such that

1

(1 + (1 L )) L  E  (1 + (1 L ))L

r r r r

with probability at least 3/4.

Pro of: Supp ose such an algorithm existed. Then we use it to create an

0

fpras for 1=(1 L ) as follows. Given an  , approximate L with the algorithm

r r

0



ab ove using  = . Simple algebraic manipulation then shows that 1=(1 E )

2

0

approximates 1=(1 L ) within a ratio of  .Thus the existence of an algorithm

r

as describ ed ab ove implies RP = NP by Theorem 5. 2

Notice that the algorithm describ ed in the statement of Theorem 6 is very

muchlike an fpras; in fact, it is apparentthatifL can b e b ounded away

r

from 1, such an algorithm is in fact equivalent to an fpras. Theoretically,the 11

only di erence is when L approaches 1, where such an algorithm grows more

r

accurate without requiring extra time for the gain in eciency.

6 The non-frustrated case

As wehave seen, the #Set Packing problem can naturally b e reduced to Loss

Partition. By considering another natural reduction, from #Indep endentSetto

Loss Partition, we nd an interesting sub case of the Loss Partition problem.

Tomake the connection b etween the problems, we consider the following

graph based on the routes of a loss network. Let I (R; A)=([R];E)bean

undirected graph consisting of no des r 2 [R] corresp onding to the routes r =

1;:::;R of the original loss system. The edge e = fr ;r g2 E if and only if

1 2

routes r and r share at least one link of p ositive capacity, that is there exists

1 2

j 2fi; : : : ; J g with C > 0suchthatA > 0and A > 0. Call this the route

j jr jr

1 2

interaction graph for the loss network de ned by R and A.

Notice that manylossnetworks can share the same route interaction graph.

R

Also, note that if all the capacities are 1, then a con guration n 2f0; 1g

satis es An  1 if and only if the set of routes fr : n =1g is an indep endent

r

set on the route interaction graph. In other words, for a given instance of Loss

Partition, the feasible con gurations of i calls and the indep endent sets of size

i on the graph are in a one-to-one corresp ondence.

It is easy to see that Theorems 2 and 3 can b e mo di ed to reduce #Inde-

pendent Set, instead of #Set Packing, to Loss Partition. For example, given an

instance of #Indep endentSetG =(V; E)andb, in p olynomial time one can

construct the following instance of Loss Partition for which G is the route in-

teraction graph. Let R = jV j and asso ciate a route with eachelementofV .For

each edge e = fr ;r g2E , set A = A = 1, so that routes r and r have

1 2 er er 1 2

1 2

a link in common, and set A = 0 otherwise. Together with a p ositiveinteger

er

 this de nes an instance of Loss Partition. Furthermore, it is clear that the

corresp onding route interaction graph is just G. By mo difying this construction

appropriately one can similarly reduce #Indep endent Set to the restricted case

of Loss Partition where all routes are paths.

By now pro ceeding as in Theorem 2, one could use an algorithm for Loss

Partition to nd the co ecients N , which corresp ond to the numb er of feasible

k

con gurations with k calls. Since this equals the numb er of indep endentsetsof

size k on G,knowing the N allows one to solve the #Indep endent Set problem.

k

Similarly, the construction in Theorem 4 can b e mo di ed to make use of the

Indep endent Set problem instead of Set Packing.

An interesting case arises when one examines the situation where the route

interaction graph is bipartite. Let us call a network non-frustrated if the route

interaction graph is bipartite and frustrated otherwise. Frustration is a sim-

ple measure of whether the interactions b etween routes along di erentpaths

through the network are in phase or out of phase. A frustrated network lo oks 12

somewhat like a \spin-glass" in statistical mechanics, whereas a non-frustrated

network is more like a regular lattice.

Nowwe can consider the subproblem of Loss Partition restricted where the

route interaction graph is non-frustrated, whichwe shall call Non-Frustrated

Loss Partition. By the same argument as the one presented ab ove, we could

show that Non-Frustrated Loss Partition is still #P-complete if #Indep endent

Set is #P-complete when restricted to bipartite graphs. In fact, Provan and Ball

[24] proved that b oth the problem of nding the total numberofindependent

sets in a bipartite graph and the problem of nding the numb er of indep endent

sets of largest size in a bipartite graph are #P-complete, and either of these

quantities is easily derived from the N .Thus these problems can b e reduced

k

in p olynomial time to Non-Frustrated Loss Partition, so it to o is #P-complete.

Notice, however, that the argument used in Theorem 4 to showthatthe

non-existence of an fpras for Loss Partition cannot b e extended to this case.

This is b ecause for a general graph the problem of nding the maximum size of

an indep endent set is NP-complete, while for a bipartite graph the corresp ond-

ing problem can b e solved in p olynomial time. (For example, see [6].) The

pro of in Theorem 4 requires that the existence problem (either Set Packing or

Indep endent Set) b e NP-complete, and in the non-frustrated case, it is not.

This observation leads us to the following conjecture:

Conjecture There exists an fpras for Non-FrustratedLoss Partition.

Indeed, Jerrum and Sinclair [10]have found an fpras for the ferromagnetic

case of the Ising problem using a transformation that yields a rapidly mixing

Markovchain, even though the general case is #P-complete. It remains unclear

whether their metho ds can b e applied to nd an fpras for this problem as well.

7 Discussion

The imp ortance of loss networks as mo dels has led to intense interest in com-

putational algorithms, and many metho ds have b een prop osed to calculate the

partition function (3) and the loss probabilities (4). For work on exact metho ds

see Dziong and Rob erts [4], Ross and Tsang [25] and the recent review of Con-

wayetal.[3]. In practice direct simulation of the underlying sto chastic pro cess

is often used to estimate loss probabilities; other approximation techniques use

the truncated pro duct form (1) as a basis for Monte Carlo estimation { see

Harvey and Hills [7] and Ross and Wang [26] for metho ds based on re nements

of acceptance-rejection sampling.

All of the metho ds prop osed require an e ort which grows quickly with the

size of the network. This observation is largely explained by the work rep orted

in this pap er, and in particular by the explicit connections made b etween the

Set Packing and Loss Partition problems. As wehave seen these connections 13

can b e made even when all capacities in the loss network are one. The Loss

Partition problem for variable capacities is at least as dicult: instead it is

interesting to consider brie y a restricted version of the problem where the

matrix A de ning the top ology of a loss network is xed, and an instance of

the problem is de ned by the vectors  and C of tracs and capacities. For

this version of the problem the exact algorithm of Pinsky and Conway [22]



Q

J

has time complexityO C ,andthus is p olynomial in link capacities and

j

j =1

exp onential in the size of the input description necessary to de ne the link

capacities. However the Monte Carlo estimation technique of Ross and Wang

[26] requires a computational e ort that is indep endent of link capacities, and

indeed the limit results reviewed in [15] and the b ounds obtained in a sp ecial case

by Mitra [20] suggest that approximation b ecomes simpler with larger capacities.

Closed queueing networks form a further class of widely used mo del with

partition function akin to that of the loss network mo del (see, for example,

[13]). In some resp ects the mo del is richer, and it may b e p ossible to delineate

various complexity classes within the mo del. We conclude with an example

to illustrate this p oint. Consider a network with J queues and J customers.

Supp ose each customer has a subset of the J queues that it cycles around, and

supp ose each queue serves at in nite rate when it contains two customers. Thus

a state of the network is any feasible con guration with a single customer in

each queue. Let A = 1 if customer i visits queue j ,andletA = 0 otherwise.

ij ij

Then the numberofstatesofthenetwork, and hence the partition function

under the simplest assumptions on service rates, is just the p ermanentofthe

matrix A.Now calculation of the p ermanentofa0 1 matrix is a well-studied

problem, and has the intriguing prop erty that for a wide class of matrices it is

b oth #P-complete and yet an ecientapproximation algorithm exists [9].

References

[1] BROCKMEYER, E., HALSTROM, H.L., AND JENSEN, A. (1948) The

Life and Works of A.K. Erlang . AcademyofTechnical Sciences, Cop en-

hagen.

[2] BURMAN, D.Y., LEHOCZKY, J.P., AND LIM, Y. (1984) Insensitivityof

blo cking probabilities in a circuit switched network. Advances in Applied

Probability 21, 850-859.

[3] CONWAY, A.E., PINSKY, E. AND TRIDANDAPANI, S. (1993) Ecient

decomp osition metho ds for the exact analysis of circuit-switched networks.

J. Assoc. Comput. Mach.

[4] DZIONG, Z. AND ROBERTS, J.W. (1987) Congestion probabilities in

a circuit-switched integrated services network. Performance Evaluation 7,

267-284. 14

[5] GAREY, M.R. AND JOHNSON, D.S. (1979) Computers and Intractability:

A Guide to the Theory of NP-Completeness .Freeman, San Francisco.

[6] HARARY, F. (1976) . Addison-Wesley, Reading, MA.

[7] HARVEY, C. AND HILLS, C.R. (1979) Determining grades of service in a

network. In 9th International Teletrac Congress.

[8] HUI, J.Y. (1990) Switching and Trac Theory for IntegratedBroadband

Networks . Kluwer, Boston.

[9] JERRUM, M.R. AND SINCLAIR, A. (1989) Approximating the p erma-

nent. SIAM Journal Computing 18, 1149-1178.

[10] JERRUM, M.R. AND SINCLAIR, A. (1990) Polynomial Time Approxi-

mation Algorithms for the Ising Model .Technical Rep ort CSR-1-90, Dept.

of Computer Science, UniversityofEdinburgh.

[11] JERRUM, M.R., VALIANT, L.G. AND VAZIRANI, V.V. (1986) Random

generation of combinatorial structures from a uniform distribution. Theo-

retical Computer Science 43, 169-188.

[12] KARP, R.M. AND LUBY, M. (1983) Monte-Carlo algorithms for enumer-

ation and reliability problems. In Proceedings of the 24th Annual Sympo-

sium on Foundations of Computer Science , IEEE Computer So ciety, Longe

Beach, CA, 56-64.

[13] KELLY, F.P. (1979) Reversibility and Stochastic Networks . Wiley,Crich-

ester.

[14] KELLY, F.P. (1985) Sto chastic mo dels of computer communication sys-

tems. J. Roy. Statist. Soc. Ser. B 47, 379-395.

[15] KELLY, F.P. (1991) Loss Networks. The Annals of AppliedProbability ,

Vol. 1, No. 3, 319-378.

[16] KELLY, F.P. (1991) E ective bandwidths at multi-class queues. Queueing

Systems 9, 5-16.

[17] KO, KER-I. (1982) Some observations on probabilistic algorithms and NP-

hard problems. Information Processing Letters 14, 39-43.

[18] LAGARIAS, J.C., ODLYZKO, A.M., AND ZAGIER, D.B. (1985) Realiz-

able trac patterns and capacity of disjointly shared networks. Comput.

Networks 10, 275-285.

[19] LOUTH, G.M. (1991) Stochastic Networks: Complexity, Dependence, and

Routing . Ph.D. thesis, UniversityofCambridge. 15

[20] MITRA, D. (1987) Asymptotic analysis and computational metho ds for a

class of simple, circuit-switched networks with blo cking. Adv. Appl. Prob.

19, 219-239.

[21] MITRA, D. AND WEINBERGER, P.J. (1984) Probabilistic mo dels of

database lo cking: Solutions, computational algorithms and asymptotics.

J. Assoc. Comput. Mach. 31, 855-878.

[22] PINSKY, E. AND CONWAY, A.E. (1993) Computational algorithms for

blo cking probabilities in circuit-switched networks. Annals of Operations

Research .

[23] PINSKY, E. AND YEMENI, Y. (1984) A statistical mechanics of some

interconnection networks. In Performance'84 (E. Gelenb e, ed.) North-

Holland, Amsterdam.

[24] PROVAN, J. AND BALL, M. (1983) The Complexity of Counting Cuts and

of Computing the Probability that a Graph is Connected. SIAM Journal

of Computing 12, 777-788.

[25] ROSS, K.W. AND TSANG, D. (1990) Teletrac engineering for pro duct-

form circuit-switched networks. Adv. Appl. Prob. 22, 657-675.

[26] ROSS, K.W. AND WANG, J. (1992) Monte-Carlo summation applied to

pro duct-form loss networks. Prob. Eng. Inf. Sci. 6, 323-348.

[27] VALIANT, L.G. (1979) The ComplexityofEnumeration and Reliability

Problems. SIAM Journal of Computing 8, 410-421.

[28] WELSH, D.J.A. (1990) The computational complexity of some classical

problems from statistical physics. In Disorder in Physical Systems , Grim-

mett, G.R. and Welsh, D.J.A. (eds), Oxford University Press, 307-321. 16