Approximation Algorithms for Data Placement on Parallel Disks

Size: px
Start display at page:

Download "Approximation Algorithms for Data Placement on Parallel Disks"

Transcription

1 Approximation Algorithms for Data Placement on Parallel Diss L. Golubchi. Khanna y. Khuller z R. Thurimella x A. Zhu { Abstract We study an optimization problem that arises in the context of data placement in multimedia storage systems. We are given a collection of M multimedia data objects that need to be assigned to a storage system consisting of N diss d d 2::: d N. We are also given sets U U 2 ::: U M such that U i is the set of clients requesting the ith data object. Each dis d j is characterized by two parameters, namely, its storage capacity C j which indicates the maximum number of data objects that may be assigned to it, and a load capacity L j which indicates the maximum number of clients that it can serve. The goal is to nd a placement of data objects on diss and an assignment of clients to diss so as to maximize the total number of clients served, subject to the capacity constraints of the storage system. We study this data placement problem for two natural classes of storage systems, namely, homogeneous and uniform ratio. Our rst main result is a tight upper and lower bound on the number of items that can always be paced for any input instance to homogeneous as well as uniform ratio storage systems. We show that an algorithm given in [] for data placement, achieves this bound. Our second main result is a polynomial time approximation scheme for the data placement problem in homogeneous and uniform ratio storage systems, answering an open question of []. Finally, we also study the problem from an empirical perspective. Introduction We study a data placement problem that arises in the context of multimedia storage systems. In this problem, we are given a collection of M multimedia data objects that need to be assigned to a storage system consisting of N diss d d 2 ::: d N. We are also given sets U U 2 ::: U M such that U i is the set of Department of Computer cience and Institute for Advanced Computer tudies, University of Maryland, College Par, MD Research supported by NF CAREER Award CCR leana@cs.umd.edu. y Department of Computer and Informationcience, University of Pennsylvania, Philadelphia, PA 904. This wor was done when the author was at Bell Laboratories, Murray Hill, NJ sanjeev@cis.upenn.edu. z Department of Computer cience and Institute for Advanced Computer tudies, University of Maryland, College Par, MD Research supported by NF Award CCR and NF CAREER Award CCR samir@cs.umd.edu. x Department of Computer cience, The University ofdenver, Denver, CO This wor was done while the author was visiting the University of Maryland. rami@cs.du.edu. { Computer cience Department, tanford University, tanford, CA, This wor was done while the author was with the Department of Computer cience at the University ofmary- land. anzhu@cs.stanford.edu. clients requesting the ith data object. Each dis d j is characterized bytwo parameters, namely, its storage capacity C j which indicates the maximum number of data objects that may be assigned to it, and its load capacity L j which indicates the maximum number of clients that it can serve simultaneously. The goal is to nd a placement of data objects on diss and an assignment of clients to diss so as to maximize the total number of clients served, subject to the capacity constraints. We can view each data object simply as a color, and each client as a unit size item with a color corresponding to the data object in which they are interested. Each dis d j can hold at most L j items, with the additional constraint that the total number of distinct colors of the items in d j does not exceed C j. The data placement problem described above arises naturally in the context of storage systems for multimedia objects where one sees to nd a placement ofthe data objects, e.g., movies, on a system of diss. These and other issues related to the design of multimedia storage systems are discussed in [8]. We study this data placement problem for the following two natural types of storage systems. Homogeneous torage ystems: In a homogeneous storage system, all diss are identical. We denote by and L the storage capacity and the load capacity, respectively, of each dis and refer to this variant as -HDP (homogeneous data placement). Uniform Ratio torage ystems: In a uniform ratio storage system, the ratio L j =C j of the load to the storage capacity isidentical for each dis. We denoteby C min and C max the minimum and the maximum storage capacity ofany dis in such a system and refer to this variant asurdp (uniform ratio data placement). Notice that homogeneous storage systems are a special case of uniform ratio storage systems. In the remainder of this paper, we assume that (i) the total number of clients does not exceed the total P P M load capacity, i.e., i= ju N ij j= L j, and (ii) the total number of data objects P does not exceed the total N storage capacity, i.e., M j= C j.. Related Wor The data placement problem described above bears some resemblance to the classical multi-dimensional

2 napsac problem [6, 0, 2]. We may view each dis as a napsac with a load as well as a storage dimension, and each client as a unit size item with a color associated with it. However, in our problem, the storage dimension of a dis behaves in a nonaggregating manner in that assigning additional items of an already present color does not increase the load along the storage dimension. It is this particular aspect of our problem that maes it dicult to adapt nown techniques for multi-dimensional pacing problems. hachnai and Tamir [] studied the above data placement problem they refer to it as the class constrained multiple napsac problem. The authors gave an elegant algorithm, called the sliding window algorithm, and P showed that this algorithm pacs all items N whenever j= C j M + N ; for URDP. An easy corollary of this result is that one can always pac a ( ; +C min )-fraction of all items for URDP. (This is seen by increasing the capacity ofeachdisby,pac- ing all the items, and then from each dis dropping the color with the fewest items.) The authors showed that the problem is NP-hard when each dis has an arbitrary load capacity, and unit storage. Recently, hachnai and Tamir [2] study a variation of the data placement problem above where in addition to having a color, each item u has a size s(u) and a prot p(u) associated with it. For the special case when s(u) = p(u) for each item, and the total number of dierent colors M is constant, the authors give adualapproximation scheme whereby for any >0, they give a polynomial time algorithm to obtain a ( ; =4)-approximate solution provided the load capacity is allowed to be exceeded by a factor of ( + ). The paper by Dawande, Kalagnanam and ethuraman [5] deals with a related bin-pacing problem, where there are n items, each with a color and size, and m distinct bin sizes. The objective is to pac all items into bins such that no bin contains items of more than p colors. The objective istominimize the total capacity ofthe bins that are used. For the case where the total number of colors is constant they give a polynomial time approximation scheme (PTA). The authors also describe some practical heuristics for the problem which give a constant approximation guarantee..2 Our Results Our rst main result is a tight upper and lower bound on the number of items that can always be paced for any input instance to homogeneous as well as uniform ratio storage systems. It is worth noting that in the case of completely arbitrary storage systems no such absolute bounds are possible. Theorem.. (ection 3) It is always possible to pac a ( ; (+ p ) 2 )-fraction of items for any instance of -HDP, ormore generally, a (; (+ p )-fraction C min) 2 of items can always be paced for any instance ofurdp. Moreover, there exists a family of instances for which it is infeasible to pac any larger fraction of items. The upper bounds above are constructive asthey are achieved by the sliding window algorithm of []. A side-result of our proof technique here is a simple alternate proof of the result that all items can be paced P N whenever j= C j M + N ;. Our second main result is a polynomial time approximation scheme for the data placement problem in uniform ratio storage systems, answering an open question of []. Theorem.2. (ection 4) For any xed > 0, one can obtain in polynomial time a (; )-approximate solution to the data placement problem for any instance of URDP. We also strengthen the NP-hardness results of [] by showing that the data placement problem is NPhard even for very special cases of homogeneous storage systems. Theorem.3. (Appendix A) The -HDP problem is NP-complete for homogeneous diss with storage capacity =2and strongly NP-hard for 3. Both reductions above are from NP-hard partitioning problems and illustrate how item colors can eectively encode large non-uniform sizes arising in the instances of these partitioning problems, even though each item in our problem is of unit size itself. We also note here that the case = is easily solvable in polynomial time. Finally, we also study the problem from an empirical perspective. We study the homogeneous case on instances generated by a Zipf distribution [9] (this corresponds to measurements performed in [3]for amovies- on-demand application) and compare the actual performance of the sliding window algorithm with the bounds obtained above aswell as the bounds in []. The results of this study are presented in ection 3.2. We also show how to implement the sliding window algorithm so that it runs in O((N + M)log(N + M)) steps, improving on the O(NM) running time of [] (details of this implementation will be provided in the full version of the paper). Note that the input size for our problem is measured by N and M and not the total number of items (which canbemuch larger). The algorithm will output the subset of data objects assigned to each dis and the number of items of each color assigned to each dis. We next describe in some detail the motivating application for our data placement problem.

3 .3 Motivational Application Recent advances in high speed networing and compression technologies have mademultimedia services, such as video-on-demand (VOD) servers, feasible. The enormous storage and bandwidth requirements of multimedia data necessitates that such systems have very large dis farms. One viable architecture is a parallel (or distributed) system with multiple processing nodes in which each nodehasitsown collection of diss and these nodes are interconnected, e.g., via a high-speed networ. We note that diss are a particularly interesting resource. Firstly, diss can be viewed as \multidimensional" resources the dimensions being storage capacity and load capacity. Based on the application one or the other resource can be the bottlenec. econdly, all dis resources are not equivalent since a dis's utility is determined by the data stored on it. It is this \partitioning" of resources (based on data placement) that contributes to some of the diculties in designing costeective parallel multimedia systems, and I/O systems in general. In a large parallel VOD system improper data distribution can lead to a situation where requests for (popular) videos cannot be served even when the overall load capacity of the system is not exhausted because these videos reside on highly loaded nodes, i.e., the available load capacity and the necessary data are not on the same node. One approach to addressing the load imbalance problem is to partition each video across all the nodes in the system and thus avoid the problem of \splitting resources", e.g., as in the staggered striping technique []. However, this approach suers from a number of implementation-related shortcomings that are detailed in [4]. An alternate system is described in [4] where the nodes are connected in a shared-nothing manner [3]. Each nodej has a nite storage capacity, C j (in units of continuous media (CM) objects), as well as a nite load capacity, L j (in units of CM access streams). These nodes are constructed by combining groups of diss into dis clusters. In fact, in this paper we will mostly view nodes as \logical diss". For instance, consider a server that supports delivery of MPEG-2 video streams where each stream has a bandwidth requirement of 4 Mbits/s and each corresponding video le is 00 mins long. If each nodeinsuchaserver has 20 MBytes/s of load capacity and 36 GB of storage capacity, then each such node can support L j = 40 simultaneous MPEG-2 video streams and store C j = 2 MPEG-2 videos. In general, dierent nodes in the system may dier in their storage and/or load capacities. In our system each CM object resides on one or more nodes of the system. The objects may be striped on an intra-node basis but not on the inter-node basis. For example, objects that require more than a single node's load capacity (to support the corresponding requests) are replicated on multiple nodes. The number of replicas needed to support requests for a CM object is a function of the demand. This should result in a scalable system which can growon a node by node basis. The diculty here is in deciding on: () how many copies of each video to eep, which can be determined by the demand for that video, e.g., as in [4], and (2) how to place the videos on the nodes so as to satisfy the total anticipated demand for each video within the constraints of the given storage system architecture. Our data placement problem tries to capture these issues..4 Organization We start with an overview of the sliding window algorithm in ection 2. In ection 3, we present a tight analysis of the sliding window algorithm to derive the upper bounds of Theorem.. We also present herea family of instances that give the matching lower bound as wellasnumerical results. Finally, in ection 4 we present our approximation schemes for homogeneous as well as uniform ratio storage systems and thus establish Theorem.2. A proof of Theorem.3 appears in Appendix A. 2 liding Window Algorithm For sae of completeness, we describe here the sliding window algorithm of hachnai and Tamir []. We maintain a list R[] ::: R[m], m M of colors where R[i] denotes the number of items of color i that remain. The list R is sorted in non-decreasing order. At step j, we assign items to dis d j. For the sae of readability, R[i] always refers to the number of currently unassigned items of a particular color (i.e., we do not explicitly indicate the current stepj of the algorithm in this notation). Assume that the diss are numbered in a non-decreasing order of their capacities, i.e., C C 2 C N.Weassign items and remove from R the colors that are paced completely, and we move the partially paced colors to their updated places (in the sorted set) according to the remaining number of unpaced items of that color. The assignment of colors to a dis d j follows the general rule that we select the rst consecutive sequence of C j or less colors, R[u] ::: R[v], whose total number of items either equals to or exceeds the load capacity L j. We then assign colors R[u] ::: R[v] to d j. In order to not exceed the load capacity, we will split the items of the last color R[v]. It could happen that no such sequence of colors is available, i.e., all colors have relatively few items. In this case, we greedily select

4 the colors with the largest number of items to ll the current dis. The selection procedure is as follows: we rst examine R[], which is the color with the smallest number of items. If these items exceed the load capacity, we will assign R[] to the rst dis and re-locate the remaining piece of R[] (which for R[] will always be the beginning of the list). If not, we then examine the total numberofitemsinr[] and R[2], and so on until either we nd a sequence of colors with a suciently large number of items ( L j ), or the rst C j colors have a total number of items <L j. In the latter case, we go on to examine the next C j colors R[2] ::: R[C j +] and so on, until either we ndc j colors with a total number of items at least L j or we are at the end of the list, in which case we simply select the last sequence of C j colors which has the greatest total number of items. We note that the liding Window algorithm can be implemented to run in O((N + M) log(n + M)) steps, where N is the number of diss and M is the number of colors. Note that this is a signicant improvement on the running time in []. The reason for the improvement is that we do not have to start the \window", of length C j, from the beginning of the list R in each iteration j. At the end of iteration i, after we have determined the colors R[m] ::: R[n] to place in dis d i,we now that R[j] < Li C i = r for all j m ;. This indicates that all \windows" ending with R[j], for all j m ; will under-ll the load of any dis. Thus the right end of the \window" will always monotonically move to the right. We need to use a 2-3 tree data structure to implement this algorithm. (ip-lists can be used as well to get the same expected worst case running time, with a simpler implementation.) Details are defered to the full version. 3 Analysis We now show that the liding Window Algorithm guarantees to pac (; (+ p ) 2 ) fraction of all items in the homogeneous case. We assume each dis has load capacity L and storage capacity. The liding Window Algorithm guarantees to pac (; (+ p ) fraction C min) 2 of items in the uniform ratio case, where the minimum capacity of a dis is denoted by C min. We also show that these bounds are tight. We rst discuss the homogeneous case. Note that if there are any unpaced items, then every dis is lled to the maximum either on the number of items it can hold or on the number of colors that can be stored. We will call the former as load saturated and the latter (the rest) as storage saturated. (Therefore, if a dis is storage saturated, then it still has some unlled load capacity.) Denote the number ofload- saturated diss and the number of storage-saturated diss by N L and N,respectively. It is easy to see that R[] ::: R[N L ] are load-saturated diss, and the rest are storage-saturated diss. Let m j denote the number of colors assigned to dis d j. Obviously for storagesaturated diss, m j =. Letc be the smallest fraction of load to which a storage-saturated dis is lled. Note that this dis must store a color with a number of items of that color being at most cl=. (Minimumis at most the average.) Now every color on the unassigned list has no more than c L= remaining items of that color. (Otherwise, the liding-window algorithm would have put this color on the lightest-loaded dis and increased greedily the total number of paced items.) Lemma 3.. Using the liding Window Algorithm, the number of unpaced items is at most clnl. Proof. The main thing we needtoprove is that there are at most N L colors left after we run the liding- Window algorithm. For each left over color we now that the number of items is at most cl, so the total number of unpaced items is at most clnl. We examine the number of colors stored in the loadsaturated diss. If there is a load-saturated dis d j with m j <colors, then there are no colors left when the algorithm terminates, i.e., all items are paced, which can be explained as follows. The reason that less than colors P are paced into d j is due to the fact that at m step j j i= R[i] L. ince we sort the colors in a nondecreasing order, at this point any consecutive sequence of ; colors in the list has the total size L. ince at step j, we \split" at most one color, which is always added to the beginning of R, atany step P t j we have a guarantee that, for the new list R, i= R[i] L, unless we have less than colors. This implies that we ll the diss to their load capacity until we run out of colors. Hence we can pac all items. We can now assume that all the load-saturated diss have colors. The storage-saturated diss have colors as well. We start with M N colors. During the process, we can split at most N L colors, i.e., we can generate at most N L new \instances" of originally existing colors. This is because only lling diss that are load-saturated can result in generating new \instances" of colors. o the number of new \instances" of colors generated is upper bounded by the number of loadsaturated diss. Thus the number of colors left is M + N L ; N N L. 2 By splitting a color we mean that, in the current iteration of the algorithm, only some of the items of that color are paced into the current dis the remaining items might be paced in future iterations of the algorithm. Hence, this color might be paced into multiple diss.

5 Corollary 3.. For \uniform ratio" diss, if P N j= C j M + N ;, then all colors can be paced using the liding Window algorithm. Proof. This is an alternate proof for the claim in []. Our analysis of the algorithm maes the proof simpler. Let r = Lj C j, denote the uniform ratio. ince the ratios' Lj C j are uniform, once any dis becomes storagesaturated, the rest of the diss will be storage-saturated as well. The main claim we need to prove is that after we ll dis d N;,wehave atmostc N colors left. We will prove this shortly. If d N; is storage-saturated, then we can safely assign the remaining C N colors to d N. If d N; is load-saturated, then all previous diss are load-saturated. ince the total number of items does not exceed the total load capacity, we will not exceed the load capacity. We argue that if there is a load-saturated dis d j with m j <C j, then all the items will be paced. At this stage, R[`] Lj m Cj j C j; r C Ct t; r for all `>m j and all t j. Recall that diss are sorted in non-decreasing order of C i.thus we have the following result: at any stept > j, P C t i= R[i] P C t i=2 R[i] C t r = L t, and so all items are paced without sliding the window. ince all load-saturated diss have C j colors, after we ll dis d N;,wehave generated at most N ; new \instances" of colors. The total number of colors left is M + N ; ; P N; i= C i C N. 2 Lemma 3.2. Using the liding Window Algorithm, the number of unpaced items is at most (;c)ln. Proof. At least LN L +cln items are paced. ubtracting this quantity from an upper bound on the total numberofitemsn L gives N L + N L L ; L N L ; c L N, which yields the claim. 2 Theorem 3.. The liding Window Algorithm guarantees to pac ( ; (+ p ) 2 ) fraction of items in the homogeneous case. Proof. The above two lemmas give ustwo upper bounds on the number ofunpaced items. Hence the number of unpaced items is at most min( clnl ( ; c) L N ). The number of paced items is at least L N L + c L N. Hence the ratio of unpaced(u) to paced() items is at most U This yields min( clnl ( ; c) L N ) L N L + c L N : U + ; ( + p ) 2 which proves the claim. (The details of this derivation are given in Appendix B.) 2 This proof can also be extended to the uniform-ratio case. The motto in the homogeneous case is that the bigger the dis the better the performance of the liding Window Algorithm. o in a uniform-ratio system one should expect the algorithm to do at least as well as the homogeneous case where all diss assume the smallest dis size in the uniform-ratio system. The following theorem formally proves this intuition. Theorem 3.2. The liding Window Algorithm guarantees to pac ( ; (+ p ) fraction of items C min) 2 in the uniform ratio case where C min denotes the minimum capacity of a dis in our system. Proof. Let r = Lj C j for j = :::N denote the uniform ratio. From the proof of Corollary 3. above, if there is a load-saturated dis d j with m j <C j,then all items will be paced. Thus we will focus on the case where for all j we have m j = C j. Let M L denote the total number of colors (we count the same colors in dierent diss as dierent multiple colors) in the load-saturated diss ::: N L,soM L = P N L j= m j = P NL j= C j. Let M denote the total number of colors in the P storage-saturated P diss N L + ::: N,so M = N N j=n L+ m j = j=n L+ C j. Again let c be the smallest fraction of load to which a storage-saturated dis is lled. Thus we have the following similar results: For each leftover color we now that the number of items is at most c r. There are at most N L colors left unassigned. We have N L ML m min = ML C min. The number of unpaced items is at most c r M L C min. At least r M L + c r M items are paced. The number of unpaced items is at most r M L + r M ; r M L ; c r M =(; c) r M. Hence the ratio of the unpaced(u) to paced() items is at most U min( crml C min ( ; c) r M ) : r M L + c r M Let y = M ML M L+M and thus M =; L+M y. implifying the upper bound for this expression, we obtain min( cy C min ( ; c)( ; y)) : y + c( ; y) Note that this is the same expression as in Theorem 3. for the homogeneous system. Optimizing this expression gives the same bound as in Equation 4. (Appendix B) with replaced by C min. This proves the claim. 2

6 3. Tight Example We nowgive an example to show that the bound of (; (+ p ) 2 ) is tight. In other words, there are instances for which no solution will pac more than ( ; (+ p ) ) 2 fraction of items. Assume that, the storage capacity of a dis is a perfect square 2 and 2. (When =, the tight example is trivial.) Let N, thenumber of diss, be + p, and let L = + p. There are p colors with a large number of items each, U ::: U p with ju i j =2+ p for i p we will refer to these as \large colors". And, there are ( ;)(+ p )+ colors with a small number of items each, U p + ::: U (+ p ) with ju i j =for p + i ( + p ) we will refer to these as \small colors". We will show that there are always at least p items that do not get paced. In this case, the fraction of items that are not paced is at least exactly (+ p ) p (+ p )(+ p ) 2. This proves the claim. which is We rst consider the p large colors. An unsplit set U i has all its items paced in a single dis. A split set U i has its items paced in several diss. For a dis that contains at least one large unsplit color, the available load capacity left is at most ; 2. (Note that after pacing one large unsplit color, the available load capacity is smaller than the storage capacity.) We can exchange any of the remaining colors with j 2 items of the same color, with any j small (distinct color) items in any other dis, while still pacing the same number of items. These diss now have one large unsplit color, and at most ; 2 small colors. The remaining diss have only large split colors. p In fact, assume that there are exactly p (0 p ) large colors that do not get split U ::: U p, with dis d i containing U i. Now consider the remaining N ; p diss we are left with at least N ; p( ; ) = (N ; p) +p colors, but we only have (N ; p) storage capacity left. ince the remaining p ; large colors are all split, this generates an additional p ; p \instances" of colors. Thus we have at least (N ; p)+p + p ; p colors. This will create an excess of p items that we cannot pac. 3.2 Numerical Results We have implemented the liding Window algorithm and compared its performance to the theoretical results developed in this section. Refer to Figs. {3 for plots of the fraction of unassigned items given by our worst case bound (i.e., (+ p ) 2 ), the bound corresponding to 2 When is not a perfect square we can get arbitrarily close to the bound by modifying this family of examples. the corollary of the result in [] (i.e., + ), as well as the liding Window algorithm. The results presented here are for the homogeneous case only. For the purposes of this comparison we generated the test cases using the Zipf distribution to determine the sewness in the number of items of each color. The Zipf distribution is dened as follows [9]: Prob[item of color i] = where c = H (;) M c i (;) and 8 i = ::: M and 0 H (;) M = MX j= j (;) where determines the degree of sewness. For instance, = :0 corresponds to the uniform distribution whereas = 0:0 corresponds to the sewness in access patterns often attributed to movies-on-demand type applications, e.g., similar to the measurements performed in [3]. We experimented with dierent values of and computed the percentage of items that can be paced by the liding Window algorithm as a function of, the load capacity of a dis. The results of these experiments are given in Figs. {3. In all cases L = 00 and N =5. % of unassigned items sliding window algorithm # of colors/dis Figure : =:0. ( + p ) 2 We can draw the following conclusions from these gures: the theoretical bound is reasonably tight when the the numberofitemsofeach color is fairly sewed (as in Figs. 2 and 3), as is the case in a VOD server, which is our motivational application furthermore, the performance of the liding Window algorithm is very close to the theoretical bound for inputs which are \similar" to the tight example given in ection 3 (as in Fig. 2)

7 % of unassigned items % of unassigned items sliding window algorithm # of colors/dis Figure 2: =0:5. ( + p ) 2 sliding window algorithm # of colors/dis Figure 3: =0:0. ( + p ) 2 the performance of the liding Window algorithm can be signicantly better than the theoretical bound when the number of items of each color is approximately the same and each dis has a relatively small storage capacity (as in Fig. ) however, the theoretical bound is reasonably tight for larger values of (which again, is reasonable for our motivational application). 4 Polynomial Time Approximation chemes We now present an approximation scheme our data placement problem. We rst present the approximation scheme for homogeneous storage systems and then briey setch the ideas used to get an approximation scheme for uniform ratio systems. 4. Homogeneous torage ystems We design an algorithm that for any xed >0, gives a ( ; )-approximation in polynomial time. If the error parameter =( + p ) 2, then we can simply use the liding Window algorithm to obtain a ( ; )- approximation. In the rest of this section, we focus on the case when <=( + p ) 2. In other words, can be assumed to be a constant when is a xed constant. Our approximation scheme involves the following steps:. First we showthatanygiven input instance can be approximated by another instance I 0 such that no color class in I 0 contains \too many" items. 2. Next we show that for any input instance there exists a near-optimal solution that satises certain structural properties concerning how items are assigned to the diss. 3. Finally, we give an algorithm that in polynomial time nds the near-optimal solution referred to in step (2) above, provided that the input instance is as determined by step () above. We now describe in detail each of these steps. In what follows, we use OPT(I) to denote an optimal solution to the instance I and to denote =. Also, for any solution, weusejj to denote the number of items paced by it. 4.. Preprocessing the Input Instance We say that an instance I is B-bounded if the size of each color class is at most B. Lemma 4.. For any instance I, we can construct in polynomial time another instance I 0 such that I 0 is (L)-bounded, any solution 0 to I 0 can be mapped to a solution to I of identical value, and jopt(i 0 )j( ; )jopt(i)j. Proof. Consider a color c j in the instance I such that ju j j >L. Replace c j with a new set of colors c j c2 j ::: cs j where s = dju jj=(l)e. Let Uj i denote the set of items with color c i j where i s. Then juj s; j = ::: = juj j = L and juj s j = ju jj;(s;)l: Repeat this procedure for any color class that has more than L items in I. Wenowhave our instance I 0. It is easy to see that any feasible solution to I 0 gives a feasible solution of same value to I simply replace each color c i j with c j. Now consider a solution for instance I. We show that it can be mapped to a solution 0 of size ( ; )jj for I 0.IfjU j jl for j M, then clearly is also a feasible solution of the same value for I 0. Otherwise, x a color class U j in I such that ju j j >L. Label the occurrences of the items of color c j as 2 ::: as we move fromd to d N in solution. Replace the ith occurrence of a color c j item with an item of color c l j where l = di=le. The resulting solution may no longer be a feasible solution for I 0. A dis may nowcontain items of two dierent colors, say c l j and cl+ j, in place

8 of a single color c j and hence the total number of colors in the dis may become +. We simply discard all the items in any diss where this event occurs. Repeat this procedure for every color class with more than L items in I. We claim that we have discarded no more than an -fraction of paced items. The reason is that we throwaway at most L items from a color class at a crossover dis but this event occurs only once in every L occurrences of items paced from a color class. Thus what we discard is at most an -fraction of what is paced tructured Approximate olutions Let us call a color class U j small if ju j jl=, and large otherwise. Also, for a given solution, we say that a dis is light if it contains less than L items, and it is called heavy otherwise. The lemma below shows that there exists a ( ; )-approximate solution where the interaction between light diss and large color classes, and between heavy diss and small color classes, obeys some nice properties. Lemma 4.2. For any instance I, there exists a solution satisfying the following properties: at most one light dis receives items from any large color class, aheavy dis is assigned either zero or all items in a small color class, and pacs at least ( ; )OPT(I) items. Proof. Let n i denote the number of items assigned to the ith dis in the solution OPT(I). Relabel the diss through N such that n n 2 ::: n N.Assume w.l.o.g. that OPT(I) is a lexicographically maximal solution in the sense that among all optimal P solutions, i OPT(I) is one that maximizes the sums j= n j for each i 2 [::N]. It is easy to see that the rst property follows from the maximal property ofopt(i). To establish that a heavy dis in OPT(I) receives either zero or all items from a small color class in the solution, wemay need to discard some items from the heavy diss in OPT(I). Let X be the set of heavy diss that contain at most ( ; )L items from large color classes. Consider any dis d i 2 X that receives some but not all items from a small color class U j. imply move all items of U j to d i. Repeat this process till no dis in X violates this property. ince a small color class has at most L= items, clearly the capacity of no dis is violated in this process. Finally, for the remaining diss, simply discard any items from small color classes. Clearly, the resulting solution is ( ; )-approximate. 2 For a given solution, a dis is said to be -integral w.r.t. a color class U j if it is assigned dle items from U j, where 0 < and is a non-negative integer. Lemma 4.3. Any solution can be transformed into a solution 0 such that each heavy dis in is ( 2 =)-integral in 0 w.r.t. each large color class, and 0 pacs at least ( ; )jj items. Proof. To obtain the solution 0 from, ineach heavy dis, round down the number of items assigned from any heavy color class to the nearest integral multiple of d( 2 =)Le. Then the total number of items discarded from any heavy dis in this process is at most ( 2 )L ; ( 2 )L (L): ince each heavy dis contains at least L items, the total number of items discarded in this process can be bounded by jj. Thus 0 satises both properties above The Approximation cheme We start by preprocessing the given input instance I so as to create an (L)-bounded instance I 0 as described in Lemma 4.. We now give an algorithm to nd a solution to I 0 such that satises the properties described in Lemmas 4.2 and 4.3 and pacs the largest number of items. Clearly, jj ( ; ) 2 jopt(i 0 )j( ; ) 3 jopt(i)j: Let O be an optimal solution to the instance I 0 that is lexicographically maximal. Assume w.l.o.g. that we now thenumber of heavy diss in O, say N 0. Let H be the set of diss d through d N 0 and let L be the remaining diss, d N 0 + through d N. The algorithm consists of two steps, corresponding to the pacing of items in H and L respectively. Pacing items in H: We rst guess a vector hl l 2 ::: l N 0i such that l i denotes the number of small color classes to be assigned (completely) to a dis d i 2 H. ince all diss are identical, we can guess such avector in O(N + )timeby guessing a compact representation of the following P form. We guess a vector hq 0 q q i such that i=0 q i = N 0 and q i denotes the number of diss in H that are assigned i small color classes (completely). It is easily seen that any such vector can be mapped to a vector of the form hl l 2 ::: l N 0i and vice versa. Now proceeding from through N 0,we assign to a dis d i the largest size l i small color classes that remain. Next we use a dynamic program by moving across the diss from through N 0 so as to nd an optimal ( 2 =)-integral solution for pacing the largest number of items from the large color classes. For the purpose of

9 this pacing, the capacity ofeachheavy dis is restricted to be ( ; )L and the number of color classes allowed in dis d i is given by ; l i. Let = = 3 and q = d( 2 L)=e. The dynamic programming solution is based on maintaining a -tuple ~v = hv v 2 ::: v i where v i denotes the number of large color classes that have i q elements available in them. Proceeding from i = through N 0,we compute a table entry T [~v i] for each possible state vector ~v. The entry indicates the largest number of items that can be paced in the diss d through d i subject to the constraint that the resulting state vector is ~v. ince there are at most N color classes, the total number ofstatevectors is bounded by (N) =3, which is polynomial for any xed. Pacing items in L: We now that our solution need not assign items from a large color class to more than one dis in L. Moreover, at most L items from any large color class are paced in a dis in L. o at this stage we can truncate down the size of each large color class to blc. Wenow construct an instance of the b-matching problem on a weighted bipartite graph G =(X [ Y E) where X has a vertex for each dis in L and Y hasavertex for each remaining color class. For each x 2 X and y 2 Y, there is an edge (x y) 2 E whose weight is equal to the number of items remaining in the color class corresponding to y. Nowwe nd a maximum weight matching such that the degree of each vertex in X is restricted to be while the degree of each vertex in Y is restricted to be. Clearly, such a matching gives a feasible solution of maximum weight. This completes our approximation scheme. 4.2 Uniform Ratio torage ystems We now briey setch how the PTA result above can also be extended to the case of uniform ratio storage systems. If =( + p C min ) 2 then we can use the liding Window algorithm to obtain a ( ; )- approximation. On the other hand, if C min as well as C max are bounded by a constant (parameterized by ), the approach of the preceding subsection easily extends to give apta. The diculty thus lies in the case when C min is small but C max is relatively large. In other words, our system contains diss of widely varying storage capacities. We handle this case by showing that every \large" dis can be approximately represented by a collection of diss with bounded storage capacity such thatwe loose at most an -fraction of items due to this approximate representation. Once this transformation is made, we can once again use the approach of the preceding subsection to obtain a PTA. We defer the details to the full version. References []. Berson,. Ghandeharizadeh, R. R. Muntz, and X. Ju. taggered triping in Multimedia Information ystems. IGMOD, pages 79{90, 994. [2] C. Cheuri and. Khanna. On multidimensional pacing problems. In ACM ymp. on Discrete Algorithms, pages 85{94, 999. [3] A. L. Chervena. Tertiary torage: An Evaluation of New Applications. Ph.D. Thesis, UC Bereley, 994. [4] C. F. Chou, L. Golubchi, and J. C.. Lui. A performance study of dynamic replication techniques in continuous media servers. Technical Report C-TR- 3948, University of Maryland, October 998. [5] M. Dawande, J. Kalagnanam, and J. ethuraman. Variable ized Bin Pacing With Color Constraints. Technical report, IBM Research Division, T.J. Watson Research Center, 999. [6] A. M. Frieze and M. R. B. Clare. Approximation algorithms for the m-dimensional 0- napsac problem: worst-case and probabilistic analyses. European Journal of Operational Research, pages 00{09, 984. [7] M. R. Garey and D.. Johnson. Computers and intractability: A guide to the theory of NP-completeness. Freeman, an Francisco, 979. [8]. Ghandeharizadeh and R. R. Muntz. Design and Implementation of calable Continuous Media ervers. Parallel Computing Journal, 24():9{22, January 998. [9] D. E. Knuth. The Art of Computer Programming, Volume 3. Addison-Wesley, 973. [0] P. Raghavan. Probabilistic construction of deterministic algorithms: approximating pacing integer programs. Journal of Computer and ystem ciences, pages 30{43, 988. [] H. hachnai and T. Tamir. On two class-constrained versions of the multiple napsac problem. To appear in Algorithmica. [2] H. hachnai and T. Tamir. Polynomial time approximation schemes for class-constrained pacing problems. Manuscript, 999. [3] M. tonebraer. A Case for hared Nothing. Database Engineering, 9():4{9, 986. [4] J. Wolf, H. hachnai, and P. Yu. DAD Dancing: A Dis Load Balancing Optimization cheme for Videoon-Demand Computer ystems. In ACM IGMET- RIC/Performance Conf., pages 57{66, 995. Appendix A: NP-hardness proof In this appendix we give our proof of Theorem.3. We rst dene the PARTITION problem, and then describe a polynomial time reduction from it to the homogeneous data placement problem. PARTITION: Given a nite set A, with a size s(a) for each element a 2 A, is there a subset A 0 A such that X a2a 0 s(a) = X a2a;a 0 s(a)?

10 This remains NP-complete even if we require ja 0 j = jaj=2 [7]. Let n = jaj. Proof. The problem is easily seen to be in NP, since a proposed solution can be trivially checed in polynomial time. We nowshow a polynomial time reduction from PARTITION. Let a max be the maximum size item. For the reduction, dene K = n C s(a max ) where C is a large constant. Let L = 3 K and N = n. o there are n 2 diss with P = 2 (storage capacity) and P a large L value. n Let D = i= (K + s(a n i)) = n K + i= s(a i). Let M = n + 2, with x i = K 2 ; s(a i) for i n and x n+ = D and x 2 P n+2 = D. 2 P n+2 Note that i= x n i = i= x i + D = 3 n 2 K which is exactly NL, the storage capacity. We claim that if there is a solution to the partition problem with ja 0 j = jaj=2 and with s(a 0 )=s(a ; A 0 ) then there is a way topac all items into the N diss. The items are paced as follows. Put x i items of color i in dis i. Dis i now has space for one new color, and exactly 3K 2 ; ( K 2 ; s(a i)) items. This is exactly K + s(a i ). If item a i 2 A 0 then add items of color n + to dis i, otherwise add items of color n +2 to dis i. ince each dis can hold two colors, this does not violate the color. Note that the P number of items of color n+ that we pac is exactly a i2a 0(K +s(a i )) = n 2 K + s(a0 )= D. The calculation is identical for 2 items of color n + 2, and this concludes the proof that all items are paced. We now argue that if there is a solution to 2-HDP where all items get paced, then there is a solution to the PARTITION problem. We rst claim that if all items are paced, then items of colors i and j, with i j n cannot be paced into the same dis. This is the case since: (a) only two colors can be paced in a dis and hence no other color can go into that dis, and (b) the total capacity usedupby items of color i and j, i j n, would not exceed K, which ismuch less than the capacity of the dis. If we cannot saturate the dis to full load capacity, thenwe cannot pac all items (since the number of items exactly equals the total load capacity). If each items of color i is in a distinct dis, then without loss of generality we pac items of color i in dis i and now we are left with items of only two colors that we need to split equally between the diss, and each dis can only tae an item of one color, with K + s(a i ) items of that color. ince K >> s(a i )we must pac items of color n + in exactly n=2 diss, and the items of color n + 2 in the remaining n=2 diss. Let A 0 = fa i jitems of color n +arepaced in dis ig. As said earlier ja 0 j = n,ands(a0 )=s(a ; A 0 ). This completes the proof. 2 When 3, the problem can be seen to be strongly NP-hard for even the homogeneous case by a simple reduction from 3-PARTITION [7]. Appendix B: Details of Proof of Theorem 3. Given that the ratio of unpaced(u) to paced() items is at most U min( clnl ( ; c) L N ) L N L + c L N let y = NL N N and thus N =; y. implifying the upper bound for the numberofunpaced to paced items, we obtain (4.) This is the same as min( cy ( ; c)( ; y)) : y + c( ; y) cy min( y + c( ; y) ( ; c)( ; y) y + c( ; y) ): We can simplify the two functions to the following min( ( c + ;y y ) ( ; c)( ; y) ; ( ; c)( ; y) ): The rst term is strictly increasing as c or y increases, while the second term is strictly decreasing as c or y increases. o in order to maximize the expression, we need to set the two terms equal, which means cy =(; c)( ; y): This gives y = ; c ; c + c : ubstituting for y gives us that the upper bound for this ratio is at most c ; c 2 ; c + c : 2 This achieves its maxima when c =(; + p ). The fraction of all items that are paced is U + = + U : Replacing the bound that we derived for c we get that This yields U +2 p : U + ; ( + p ) 2 :

Approximation Algorithms for Data Placement on Parallel Disks

Approximation Algorithms for Data Placement on Parallel Disks Approximation Algorithms for Data Placement on Parallel Disks LEANA GOLUBCHIK Department of Computer Science University of Southern California, Los Angeles and SANJEEV KHANNA Department of Computer and

More information

On Two Class-Constrained Versions of the Multiple Knapsack Problem

On Two Class-Constrained Versions of the Multiple Knapsack Problem On Two Class-Constrained Versions of the Multiple Knapsack Problem Hadas Shachnai Tami Tamir Department of Computer Science The Technion, Haifa 32000, Israel Abstract We study two variants of the classic

More information

Lecture 6,7 (Sept 27 and 29, 2011 ): Bin Packing, MAX-SAT

Lecture 6,7 (Sept 27 and 29, 2011 ): Bin Packing, MAX-SAT ,7 CMPUT 675: Approximation Algorithms Fall 2011 Lecture 6,7 (Sept 27 and 29, 2011 ): Bin Pacing, MAX-SAT Lecturer: Mohammad R. Salavatipour Scribe: Weitian Tong 6.1 Bin Pacing Problem Recall the bin pacing

More information

Machine Minimization for Scheduling Jobs with Interval Constraints

Machine Minimization for Scheduling Jobs with Interval Constraints Machine Minimization for Scheduling Jobs with Interval Constraints Julia Chuzhoy Sudipto Guha Sanjeev Khanna Joseph (Seffi) Naor Abstract The problem of scheduling jobs with interval constraints is a well-studied

More information

Approximation Algorithms for Maximum. Coverage and Max Cut with Given Sizes of. Parts? A. A. Ageev and M. I. Sviridenko

Approximation Algorithms for Maximum. Coverage and Max Cut with Given Sizes of. Parts? A. A. Ageev and M. I. Sviridenko Approximation Algorithms for Maximum Coverage and Max Cut with Given Sizes of Parts? A. A. Ageev and M. I. Sviridenko Sobolev Institute of Mathematics pr. Koptyuga 4, 630090, Novosibirsk, Russia fageev,svirg@math.nsc.ru

More information

ON THE COMPLEXITY OF SOLVING THE GENERALIZED SET PACKING PROBLEM APPROXIMATELY. Nimrod Megiddoy

ON THE COMPLEXITY OF SOLVING THE GENERALIZED SET PACKING PROBLEM APPROXIMATELY. Nimrod Megiddoy ON THE COMPLEXITY OF SOLVING THE GENERALIZED SET PACKING PROBLEM APPROXIMATELY Nimrod Megiddoy Abstract. The generalized set packing problem (GSP ) is as follows. Given a family F of subsets of M = f mg

More information

Lecture 14 - P v.s. NP 1

Lecture 14 - P v.s. NP 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 27, 2018 Lecture 14 - P v.s. NP 1 In this lecture we start Unit 3 on NP-hardness and approximation

More information

Aditya Bhaskara CS 5968/6968, Lecture 1: Introduction and Review 12 January 2016

Aditya Bhaskara CS 5968/6968, Lecture 1: Introduction and Review 12 January 2016 Lecture 1: Introduction and Review We begin with a short introduction to the course, and logistics. We then survey some basics about approximation algorithms and probability. We also introduce some of

More information

On-line Bin-Stretching. Yossi Azar y Oded Regev z. Abstract. We are given a sequence of items that can be packed into m unit size bins.

On-line Bin-Stretching. Yossi Azar y Oded Regev z. Abstract. We are given a sequence of items that can be packed into m unit size bins. On-line Bin-Stretching Yossi Azar y Oded Regev z Abstract We are given a sequence of items that can be packed into m unit size bins. In the classical bin packing problem we x the size of the bins and try

More information

A Polynomial-Time Algorithm for Pliable Index Coding

A Polynomial-Time Algorithm for Pliable Index Coding 1 A Polynomial-Time Algorithm for Pliable Index Coding Linqi Song and Christina Fragouli arxiv:1610.06845v [cs.it] 9 Aug 017 Abstract In pliable index coding, we consider a server with m messages and n

More information

Using DNA to Solve NP-Complete Problems. Richard J. Lipton y. Princeton University. Princeton, NJ 08540

Using DNA to Solve NP-Complete Problems. Richard J. Lipton y. Princeton University. Princeton, NJ 08540 Using DNA to Solve NP-Complete Problems Richard J. Lipton y Princeton University Princeton, NJ 08540 rjl@princeton.edu Abstract: We show how to use DNA experiments to solve the famous \SAT" problem of

More information

Entropy-Preserving Cuttings and Space-Efficient Planar Point Location

Entropy-Preserving Cuttings and Space-Efficient Planar Point Location Appeared in ODA 2001, pp. 256-261. Entropy-Preserving Cuttings and pace-efficient Planar Point Location unil Arya Theocharis Malamatos David M. Mount Abstract Point location is the problem of preprocessing

More information

8 Knapsack Problem 8.1 (Knapsack)

8 Knapsack Problem 8.1 (Knapsack) 8 Knapsack In Chapter 1 we mentioned that some NP-hard optimization problems allow approximability to any required degree. In this chapter, we will formalize this notion and will show that the knapsack

More information

The Generalized Regenerator Location Problem

The Generalized Regenerator Location Problem The Generalized Regenerator Location Problem Si Chen Ivana Ljubić S. Raghavan College of Business and Public Affairs, Murray State University Murray, KY 42071, USA Faculty of Business, Economics, and Statistics,

More information

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles Snežana Mitrović-Minić Ramesh Krishnamurti School of Computing Science, Simon Fraser University, Burnaby,

More information

Worst case analysis for a general class of on-line lot-sizing heuristics

Worst case analysis for a general class of on-line lot-sizing heuristics Worst case analysis for a general class of on-line lot-sizing heuristics Wilco van den Heuvel a, Albert P.M. Wagelmans a a Econometric Institute and Erasmus Research Institute of Management, Erasmus University

More information

Complexity analysis of job-shop scheduling with deteriorating jobs

Complexity analysis of job-shop scheduling with deteriorating jobs Discrete Applied Mathematics 117 (2002) 195 209 Complexity analysis of job-shop scheduling with deteriorating jobs Gur Mosheiov School of Business Administration and Department of Statistics, The Hebrew

More information

Scheduling Parallel Jobs with Linear Speedup

Scheduling Parallel Jobs with Linear Speedup Scheduling Parallel Jobs with Linear Speedup Alexander Grigoriev and Marc Uetz Maastricht University, Quantitative Economics, P.O.Box 616, 6200 MD Maastricht, The Netherlands. Email: {a.grigoriev, m.uetz}@ke.unimaas.nl

More information

Solving Zero-Sum Security Games in Discretized Spatio-Temporal Domains

Solving Zero-Sum Security Games in Discretized Spatio-Temporal Domains Solving Zero-Sum Security Games in Discretized Spatio-Temporal Domains APPENDIX LP Formulation for Constant Number of Resources (Fang et al. 3) For the sae of completeness, we describe the LP formulation

More information

Multi-criteria approximation schemes for the resource constrained shortest path problem

Multi-criteria approximation schemes for the resource constrained shortest path problem Noname manuscript No. (will be inserted by the editor) Multi-criteria approximation schemes for the resource constrained shortest path problem Markó Horváth Tamás Kis Received: date / Accepted: date Abstract

More information

1 Introduction It will be convenient to use the inx operators a b and a b to stand for maximum (least upper bound) and minimum (greatest lower bound)

1 Introduction It will be convenient to use the inx operators a b and a b to stand for maximum (least upper bound) and minimum (greatest lower bound) Cycle times and xed points of min-max functions Jeremy Gunawardena, Department of Computer Science, Stanford University, Stanford, CA 94305, USA. jeremy@cs.stanford.edu October 11, 1993 to appear in the

More information

On the Complexity of Mapping Pipelined Filtering Services on Heterogeneous Platforms

On the Complexity of Mapping Pipelined Filtering Services on Heterogeneous Platforms On the Complexity of Mapping Pipelined Filtering Services on Heterogeneous Platforms Anne Benoit, Fanny Dufossé and Yves Robert LIP, École Normale Supérieure de Lyon, France {Anne.Benoit Fanny.Dufosse

More information

Hertz, Krogh, Palmer: Introduction to the Theory of Neural Computation. Addison-Wesley Publishing Company (1991). (v ji (1 x i ) + (1 v ji )x i )

Hertz, Krogh, Palmer: Introduction to the Theory of Neural Computation. Addison-Wesley Publishing Company (1991). (v ji (1 x i ) + (1 v ji )x i ) Symmetric Networks Hertz, Krogh, Palmer: Introduction to the Theory of Neural Computation. Addison-Wesley Publishing Company (1991). How can we model an associative memory? Let M = {v 1,..., v m } be a

More information

Upper and Lower Bounds on the Number of Faults. a System Can Withstand Without Repairs. Cambridge, MA 02139

Upper and Lower Bounds on the Number of Faults. a System Can Withstand Without Repairs. Cambridge, MA 02139 Upper and Lower Bounds on the Number of Faults a System Can Withstand Without Repairs Michel Goemans y Nancy Lynch z Isaac Saias x Laboratory for Computer Science Massachusetts Institute of Technology

More information

Topics in Approximation Algorithms Solution for Homework 3

Topics in Approximation Algorithms Solution for Homework 3 Topics in Approximation Algorithms Solution for Homework 3 Problem 1 We show that any solution {U t } can be modified to satisfy U τ L τ as follows. Suppose U τ L τ, so there is a vertex v U τ but v L

More information

The Maximum Flow Problem with Disjunctive Constraints

The Maximum Flow Problem with Disjunctive Constraints The Maximum Flow Problem with Disjunctive Constraints Ulrich Pferschy Joachim Schauer Abstract We study the maximum flow problem subject to binary disjunctive constraints in a directed graph: A negative

More information

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on 6117CIT - Adv Topics in Computing Sci at Nathan 1 Algorithms The intelligence behind the hardware Outline! Approximation Algorithms The class APX! Some complexity classes, like PTAS and FPTAS! Illustration

More information

Multiple Sequence Alignment: Complexity, Gunnar Klau, January 12, 2006, 12:

Multiple Sequence Alignment: Complexity, Gunnar Klau, January 12, 2006, 12: Multiple Sequence Alignment: Complexity, Gunnar Klau, January 12, 2006, 12:23 6001 6.1 Computing MSAs So far, we have talked about how to score MSAs (including gaps and benchmarks). But: how do we compute

More information

NP-hardness of the stable matrix in unit interval family problem in discrete time

NP-hardness of the stable matrix in unit interval family problem in discrete time Systems & Control Letters 42 21 261 265 www.elsevier.com/locate/sysconle NP-hardness of the stable matrix in unit interval family problem in discrete time Alejandra Mercado, K.J. Ray Liu Electrical and

More information

CS264: Beyond Worst-Case Analysis Lecture #15: Smoothed Complexity and Pseudopolynomial-Time Algorithms

CS264: Beyond Worst-Case Analysis Lecture #15: Smoothed Complexity and Pseudopolynomial-Time Algorithms CS264: Beyond Worst-Case Analysis Lecture #15: Smoothed Complexity and Pseudopolynomial-Time Algorithms Tim Roughgarden November 5, 2014 1 Preamble Previous lectures on smoothed analysis sought a better

More information

The 2-valued case of makespan minimization with assignment constraints

The 2-valued case of makespan minimization with assignment constraints The 2-valued case of maespan minimization with assignment constraints Stavros G. Kolliopoulos Yannis Moysoglou Abstract We consider the following special case of minimizing maespan. A set of jobs J and

More information

CS264: Beyond Worst-Case Analysis Lecture #11: LP Decoding

CS264: Beyond Worst-Case Analysis Lecture #11: LP Decoding CS264: Beyond Worst-Case Analysis Lecture #11: LP Decoding Tim Roughgarden October 29, 2014 1 Preamble This lecture covers our final subtopic within the exact and approximate recovery part of the course.

More information

On Generalized Gossiping and Broadcasting

On Generalized Gossiping and Broadcasting On Generalized Gossiping and Broadcasting (Extended Abstract) Samir Khuller, Yoo-Ah Kim, and Yung-Chun (Justin) Wan Department of Computer Science and Institute for Advanced Computer Studies, University

More information

Maximizing Data Locality in Distributed Systems

Maximizing Data Locality in Distributed Systems Maximizing Data Locality in Distributed Systems Fan Chung a, Ronald Graham a, Ranjita Bhagwan b,, Stefan Savage a, Geoffrey M. Voelker a a Department of Computer Science and Engineering University of California,

More information

Three-dimensional Stable Matching Problems. Cheng Ng and Daniel S. Hirschberg. Department of Information and Computer Science

Three-dimensional Stable Matching Problems. Cheng Ng and Daniel S. Hirschberg. Department of Information and Computer Science Three-dimensional Stable Matching Problems Cheng Ng and Daniel S Hirschberg Department of Information and Computer Science University of California, Irvine Irvine, CA 92717 Abstract The stable marriage

More information

CS264: Beyond Worst-Case Analysis Lecture #18: Smoothed Complexity and Pseudopolynomial-Time Algorithms

CS264: Beyond Worst-Case Analysis Lecture #18: Smoothed Complexity and Pseudopolynomial-Time Algorithms CS264: Beyond Worst-Case Analysis Lecture #18: Smoothed Complexity and Pseudopolynomial-Time Algorithms Tim Roughgarden March 9, 2017 1 Preamble Our first lecture on smoothed analysis sought a better theoretical

More information

CS 6820 Fall 2014 Lectures, October 3-20, 2014

CS 6820 Fall 2014 Lectures, October 3-20, 2014 Analysis of Algorithms Linear Programming Notes CS 6820 Fall 2014 Lectures, October 3-20, 2014 1 Linear programming The linear programming (LP) problem is the following optimization problem. We are given

More information

Introduction to Bin Packing Problems

Introduction to Bin Packing Problems Introduction to Bin Packing Problems Fabio Furini March 13, 2015 Outline Origins and applications Applications: Definition: Bin Packing Problem (BPP) Solution techniques for the BPP Heuristic Algorithms

More information

This means that we can assume each list ) is

This means that we can assume each list ) is This means that we can assume each list ) is of the form ),, ( )with < and Since the sizes of the items are integers, there are at most +1pairs in each list Furthermore, if we let = be the maximum possible

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should

More information

The English system in use before 1971 (when decimal currency was introduced) was an example of a \natural" coin system for which the greedy algorithm

The English system in use before 1971 (when decimal currency was introduced) was an example of a \natural coin system for which the greedy algorithm A Polynomial-time Algorithm for the Change-Making Problem David Pearson Computer Science Department Cornell University Ithaca, New York 14853, USA pearson@cs.cornell.edu June 14, 1994 Abstract The change-making

More information

Scheduling Adaptively Parallel Jobs. Bin Song. Submitted to the Department of Electrical Engineering and Computer Science. Master of Science.

Scheduling Adaptively Parallel Jobs. Bin Song. Submitted to the Department of Electrical Engineering and Computer Science. Master of Science. Scheduling Adaptively Parallel Jobs by Bin Song A. B. (Computer Science and Mathematics), Dartmouth College (996) Submitted to the Department of Electrical Engineering and Computer Science in partial fulllment

More information

MINIMUM DIAMETER COVERING PROBLEMS. May 20, 1997

MINIMUM DIAMETER COVERING PROBLEMS. May 20, 1997 MINIMUM DIAMETER COVERING PROBLEMS Esther M. Arkin y and Refael Hassin z May 20, 1997 Abstract A set V and a collection of (possibly non-disjoint) subsets are given. Also given is a real matrix describing

More information

immediately, without knowledge of the jobs that arrive later The jobs cannot be preempted, ie, once a job is scheduled (assigned to a machine), it can

immediately, without knowledge of the jobs that arrive later The jobs cannot be preempted, ie, once a job is scheduled (assigned to a machine), it can A Lower Bound for Randomized On-Line Multiprocessor Scheduling Jir Sgall Abstract We signicantly improve the previous lower bounds on the performance of randomized algorithms for on-line scheduling jobs

More information

Primal vector is primal infeasible till end. So when primal feasibility attained, the pair becomes opt. & method terminates. 3. Two main steps carried

Primal vector is primal infeasible till end. So when primal feasibility attained, the pair becomes opt. & method terminates. 3. Two main steps carried 4.1 Primal-Dual Algorithms Katta G. Murty, IOE 612 Lecture slides 4 Here we discuss special min cost ow problems on bipartite networks, the assignment and transportation problems. Algorithms based on an

More information

Static-Priority Scheduling. CSCE 990: Real-Time Systems. Steve Goddard. Static-priority Scheduling

Static-Priority Scheduling. CSCE 990: Real-Time Systems. Steve Goddard. Static-priority Scheduling CSCE 990: Real-Time Systems Static-Priority Scheduling Steve Goddard goddard@cse.unl.edu http://www.cse.unl.edu/~goddard/courses/realtimesystems Static-priority Scheduling Real-Time Systems Static-Priority

More information

Max Percentile Replication for Peer-based VoD Systems

Max Percentile Replication for Peer-based VoD Systems Max Percentile Replication for Peer-based VoD Systems Yuval Rochman Tel-Aviv University Tel Aviv, Israel Email: yuvalroc@gmail.com Hanoch Levy Tel-Aviv University Tel Aviv, Israel Email: hanoch@cs.tau.ac.il

More information

Approximation Algorithms for the Incremental Knapsack Problem via Disjunctive Programming

Approximation Algorithms for the Incremental Knapsack Problem via Disjunctive Programming Approximation Algorithms for the Incremental Knapsack Problem via Disjunctive Programming Daniel Bienstock, Jay Sethuraman, Chun Ye Department of Industrial Engineering and Operations Research Columbia

More information

Colored Bin Packing: Online Algorithms and Lower Bounds

Colored Bin Packing: Online Algorithms and Lower Bounds Noname manuscript No. (will be inserted by the editor) Colored Bin Packing: Online Algorithms and Lower Bounds Martin Böhm György Dósa Leah Epstein Jiří Sgall Pavel Veselý Received: date / Accepted: date

More information

A Parallel Approximation Algorithm. for. Positive Linear Programming. mal values for the primal and dual problems are

A Parallel Approximation Algorithm. for. Positive Linear Programming. mal values for the primal and dual problems are A Parallel Approximation Algorithm for Positive Linear Programming Michael Luby Noam Nisan y Abstract We introduce a fast parallel approximation algorithm for the positive linear programming optimization

More information

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming Lecturer: Matt Weinberg Scribe: Sanjeev Arora One of the running themes in this course is

More information

CSCE 750 Final Exam Answer Key Wednesday December 7, 2005

CSCE 750 Final Exam Answer Key Wednesday December 7, 2005 CSCE 750 Final Exam Answer Key Wednesday December 7, 2005 Do all problems. Put your answers on blank paper or in a test booklet. There are 00 points total in the exam. You have 80 minutes. Please note

More information

A FAST MAX FLOW ALGORITHM

A FAST MAX FLOW ALGORITHM A FAST MAX FLOW ALGORITHM Xiaoyue Gong MIT, xygong@mit.edu James B. Orlin MIT, jorlin@mit.edu Abstract. In 2013, Orlin proved that the max flow problem could be solved in O(nm) time. His algorithm ran

More information

A POPULATION-MIX DRIVEN APPROXIMATION FOR QUEUEING NETWORKS WITH FINITE CAPACITY REGIONS

A POPULATION-MIX DRIVEN APPROXIMATION FOR QUEUEING NETWORKS WITH FINITE CAPACITY REGIONS A POPULATION-MIX DRIVEN APPROXIMATION FOR QUEUEING NETWORKS WITH FINITE CAPACITY REGIONS J. Anselmi 1, G. Casale 2, P. Cremonesi 1 1 Politecnico di Milano, Via Ponzio 34/5, I-20133 Milan, Italy 2 Neptuny

More information

The minimum G c cut problem

The minimum G c cut problem The minimum G c cut problem Abstract In this paper we define and study the G c -cut problem. Given a complete undirected graph G = (V ; E) with V = n, edge weighted by w(v i, v j ) 0 and an undirected

More information

Minimizing Mean Flowtime and Makespan on Master-Slave Systems

Minimizing Mean Flowtime and Makespan on Master-Slave Systems Minimizing Mean Flowtime and Makespan on Master-Slave Systems Joseph Y-T. Leung,1 and Hairong Zhao 2 Department of Computer Science New Jersey Institute of Technology Newark, NJ 07102, USA Abstract The

More information

Response Time in Data Broadcast Systems: Mean, Variance and Trade-O. Shu Jiang Nitin H. Vaidya. Department of Computer Science

Response Time in Data Broadcast Systems: Mean, Variance and Trade-O. Shu Jiang Nitin H. Vaidya. Department of Computer Science Response Time in Data Broadcast Systems: Mean, Variance and Trade-O Shu Jiang Nitin H. Vaidya Department of Computer Science Texas A&M University College Station, TX 7784-11, USA Email: fjiangs,vaidyag@cs.tamu.edu

More information

Algorithms for pattern involvement in permutations

Algorithms for pattern involvement in permutations Algorithms for pattern involvement in permutations M. H. Albert Department of Computer Science R. E. L. Aldred Department of Mathematics and Statistics M. D. Atkinson Department of Computer Science D.

More information

Lecture 5: Efficient PAC Learning. 1 Consistent Learning: a Bound on Sample Complexity

Lecture 5: Efficient PAC Learning. 1 Consistent Learning: a Bound on Sample Complexity Universität zu Lübeck Institut für Theoretische Informatik Lecture notes on Knowledge-Based and Learning Systems by Maciej Liśkiewicz Lecture 5: Efficient PAC Learning 1 Consistent Learning: a Bound on

More information

Lecture 5: The Principle of Deferred Decisions. Chernoff Bounds

Lecture 5: The Principle of Deferred Decisions. Chernoff Bounds Randomized Algorithms Lecture 5: The Principle of Deferred Decisions. Chernoff Bounds Sotiris Nikoletseas Associate Professor CEID - ETY Course 2013-2014 Sotiris Nikoletseas, Associate Professor Randomized

More information

Lower Bounds for Shellsort. April 20, Abstract. We show lower bounds on the worst-case complexity of Shellsort.

Lower Bounds for Shellsort. April 20, Abstract. We show lower bounds on the worst-case complexity of Shellsort. Lower Bounds for Shellsort C. Greg Plaxton 1 Torsten Suel 2 April 20, 1996 Abstract We show lower bounds on the worst-case complexity of Shellsort. In particular, we give a fairly simple proof of an (n

More information

Classical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems

Classical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems Classical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems Rani M. R, Mohith Jagalmohanan, R. Subashini Binary matrices having simultaneous consecutive

More information

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization Department of Computer Science Series of Publications C Report C-2004-2 The Complexity of Maximum Matroid-Greedoid Intersection and Weighted Greedoid Maximization Taneli Mielikäinen Esko Ukkonen University

More information

Differential approximation results for the Steiner tree problem

Differential approximation results for the Steiner tree problem Differential approximation results for the Steiner tree problem Marc Demange, Jérôme Monnot, Vangelis Paschos To cite this version: Marc Demange, Jérôme Monnot, Vangelis Paschos. Differential approximation

More information

On the Railway Line Planning Models Considering the Various Halting Patterns

On the Railway Line Planning Models Considering the Various Halting Patterns On the Railway Line Planning Models Considering the Various Halting Patterns Bum Hwan Par Chung-Soo Kim Hag-Lae Rho Abstract We propose railway line planning optimization models that determines the frequency

More information

Sorting n Objects with a k-sorter. Richard Beigel. Dept. of Computer Science. P.O. Box 2158, Yale Station. Yale University. New Haven, CT

Sorting n Objects with a k-sorter. Richard Beigel. Dept. of Computer Science. P.O. Box 2158, Yale Station. Yale University. New Haven, CT Sorting n Objects with a -Sorter Richard Beigel Dept. of Computer Science P.O. Box 258, Yale Station Yale University New Haven, CT 06520-258 John Gill Department of Electrical Engineering Stanford University

More information

Extreme Point Solutions for Infinite Network Flow Problems

Extreme Point Solutions for Infinite Network Flow Problems Extreme Point Solutions for Infinite Network Flow Problems H. Edwin Romeijn Dushyant Sharma Robert L. Smith January 3, 004 Abstract We study capacitated network flow problems with supplies and demands

More information

1.1 P, NP, and NP-complete

1.1 P, NP, and NP-complete CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Introduction to NP-complete Problems Date: 11/01/2008 Lecturer: Lap Chi Lau Scribe: Jerry Jilin Le This lecture gives a general introduction

More information

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 P and NP P: The family of problems that can be solved quickly in polynomial time.

More information

Chapter 0 Introduction Suppose this was the abstract of a journal paper rather than the introduction to a dissertation. Then it would probably end wit

Chapter 0 Introduction Suppose this was the abstract of a journal paper rather than the introduction to a dissertation. Then it would probably end wit Chapter 0 Introduction Suppose this was the abstract of a journal paper rather than the introduction to a dissertation. Then it would probably end with some cryptic AMS subject classications and a few

More information

Universal Juggling Cycles

Universal Juggling Cycles Universal Juggling Cycles Fan Chung y Ron Graham z Abstract During the past several decades, it has become popular among jugglers (and juggling mathematicians) to represent certain periodic juggling patterns

More information

A fast algorithm to generate necklaces with xed content

A fast algorithm to generate necklaces with xed content Theoretical Computer Science 301 (003) 477 489 www.elsevier.com/locate/tcs Note A fast algorithm to generate necklaces with xed content Joe Sawada 1 Department of Computer Science, University of Toronto,

More information

Hardness of Directed Routing with Congestion

Hardness of Directed Routing with Congestion Hardness of Directed Routing with Congestion Julia Chuzhoy Sanjeev Khanna August 28, 2006 Abstract Given a graph G and a collection of source-sink pairs in G, what is the least integer c such that each

More information

On the Complexity of the Minimum Independent Set Partition Problem

On the Complexity of the Minimum Independent Set Partition Problem On the Complexity of the Minimum Independent Set Partition Problem T-H. Hubert Chan 1, Charalampos Papamanthou 2, and Zhichao Zhao 1 1 Department of Computer Science the University of Hong Kong {hubert,zczhao}@cs.hku.hk

More information

A Robust APTAS for the Classical Bin Packing Problem

A Robust APTAS for the Classical Bin Packing Problem A Robust APTAS for the Classical Bin Packing Problem Leah Epstein 1 and Asaf Levin 2 1 Department of Mathematics, University of Haifa, 31905 Haifa, Israel. Email: lea@math.haifa.ac.il 2 Department of Statistics,

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

3.4 Relaxations and bounds

3.4 Relaxations and bounds 3.4 Relaxations and bounds Consider a generic Discrete Optimization problem z = min{c(x) : x X} with an optimal solution x X. In general, the algorithms generate not only a decreasing sequence of upper

More information

Topic: Balanced Cut, Sparsest Cut, and Metric Embeddings Date: 3/21/2007

Topic: Balanced Cut, Sparsest Cut, and Metric Embeddings Date: 3/21/2007 CS880: Approximations Algorithms Scribe: Tom Watson Lecturer: Shuchi Chawla Topic: Balanced Cut, Sparsest Cut, and Metric Embeddings Date: 3/21/2007 In the last lecture, we described an O(log k log D)-approximation

More information

Minimum Repair Bandwidth for Exact Regeneration in Distributed Storage

Minimum Repair Bandwidth for Exact Regeneration in Distributed Storage 1 Minimum Repair andwidth for Exact Regeneration in Distributed Storage Vivec R Cadambe, Syed A Jafar, Hamed Malei Electrical Engineering and Computer Science University of California Irvine, Irvine, California,

More information

1 The Knapsack Problem

1 The Knapsack Problem Comp 260: Advanced Algorithms Prof. Lenore Cowen Tufts University, Spring 2018 Scribe: Tom Magerlein 1 Lecture 4: The Knapsack Problem 1 The Knapsack Problem Suppose we are trying to burgle someone s house.

More information

Analysis of Algorithms. Unit 5 - Intractable Problems

Analysis of Algorithms. Unit 5 - Intractable Problems Analysis of Algorithms Unit 5 - Intractable Problems 1 Intractable Problems Tractable Problems vs. Intractable Problems Polynomial Problems NP Problems NP Complete and NP Hard Problems 2 In this unit we

More information

Chapter 1. Comparison-Sorting and Selecting in. Totally Monotone Matrices. totally monotone matrices can be found in [4], [5], [9],

Chapter 1. Comparison-Sorting and Selecting in. Totally Monotone Matrices. totally monotone matrices can be found in [4], [5], [9], Chapter 1 Comparison-Sorting and Selecting in Totally Monotone Matrices Noga Alon Yossi Azar y Abstract An mn matrix A is called totally monotone if for all i 1 < i 2 and j 1 < j 2, A[i 1; j 1] > A[i 1;

More information

SUM x. 2x y x. x y x/2. (i)

SUM x. 2x y x. x y x/2. (i) Approximate Majorization and Fair Online Load Balancing Ashish Goel Adam Meyerson y Serge Plotkin z July 7, 2000 Abstract This paper relates the notion of fairness in online routing and load balancing

More information

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof T-79.5103 / Autumn 2006 NP-complete problems 1 NP-COMPLETE PROBLEMS Characterizing NP Variants of satisfiability Graph-theoretic problems Coloring problems Sets and numbers Pseudopolynomial algorithms

More information

The Tool Switching Problem Revisited

The Tool Switching Problem Revisited The Tool Switching Problem Revisited Yves Crama HEC Management School, University of Liège, Boulevard du Rectorat, 7 (B31), B-4000 Liège, Belgium, Y.Crama@ulg.ac.be Linda S. Moonen (corresponding author),

More information

Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms

Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms Approximation Algorithms Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms Jens Egeblad November 29th, 2006 Agenda First lesson (Asymptotic Approximation): Bin-Packing

More information

An Improved Bound for Minimizing the Total Weighted Completion Time of Coflows in Datacenters

An Improved Bound for Minimizing the Total Weighted Completion Time of Coflows in Datacenters IEEE/ACM TRANSACTIONS ON NETWORKING An Improved Bound for Minimizing the Total Weighted Completion Time of Coflows in Datacenters Mehrnoosh Shafiee, Student Member, IEEE, and Javad Ghaderi, Member, IEEE

More information

Lecture notes for Analysis of Algorithms : Markov decision processes

Lecture notes for Analysis of Algorithms : Markov decision processes Lecture notes for Analysis of Algorithms : Markov decision processes Lecturer: Thomas Dueholm Hansen June 6, 013 Abstract We give an introduction to infinite-horizon Markov decision processes (MDPs) with

More information

Asymptotic redundancy and prolixity

Asymptotic redundancy and prolixity Asymptotic redundancy and prolixity Yuval Dagan, Yuval Filmus, and Shay Moran April 6, 2017 Abstract Gallager (1978) considered the worst-case redundancy of Huffman codes as the maximum probability tends

More information

AS computer hardware technology advances, both

AS computer hardware technology advances, both 1 Best-Harmonically-Fit Periodic Task Assignment Algorithm on Multiple Periodic Resources Chunhui Guo, Student Member, IEEE, Xiayu Hua, Student Member, IEEE, Hao Wu, Student Member, IEEE, Douglas Lautner,

More information

COS597D: Information Theory in Computer Science October 19, Lecture 10

COS597D: Information Theory in Computer Science October 19, Lecture 10 COS597D: Information Theory in Computer Science October 9, 20 Lecture 0 Lecturer: Mark Braverman Scribe: Andrej Risteski Kolmogorov Complexity In the previous lectures, we became acquainted with the concept

More information

Multicommodity Flows and Column Generation

Multicommodity Flows and Column Generation Lecture Notes Multicommodity Flows and Column Generation Marc Pfetsch Zuse Institute Berlin pfetsch@zib.de last change: 2/8/2006 Technische Universität Berlin Fakultät II, Institut für Mathematik WS 2006/07

More information

1 Basic Combinatorics

1 Basic Combinatorics 1 Basic Combinatorics 1.1 Sets and sequences Sets. A set is an unordered collection of distinct objects. The objects are called elements of the set. We use braces to denote a set, for example, the set

More information

Online Interval Coloring and Variants

Online Interval Coloring and Variants Online Interval Coloring and Variants Leah Epstein 1, and Meital Levy 1 Department of Mathematics, University of Haifa, 31905 Haifa, Israel. Email: lea@math.haifa.ac.il School of Computer Science, Tel-Aviv

More information

Information-Theoretic Lower Bounds on the Storage Cost of Shared Memory Emulation

Information-Theoretic Lower Bounds on the Storage Cost of Shared Memory Emulation Information-Theoretic Lower Bounds on the Storage Cost of Shared Memory Emulation Viveck R. Cadambe EE Department, Pennsylvania State University, University Park, PA, USA viveck@engr.psu.edu Nancy Lynch

More information

Time-Space Trade-Os. For Undirected ST -Connectivity. on a JAG

Time-Space Trade-Os. For Undirected ST -Connectivity. on a JAG Time-Space Trade-Os For Undirected ST -Connectivity on a JAG Abstract Undirected st-connectivity is an important problem in computing. There are algorithms for this problem that use O (n) time and ones

More information

IBM Almaden Research Center, 650 Harry Road, School of Mathematical Sciences, Tel Aviv University, TelAviv, Israel

IBM Almaden Research Center, 650 Harry Road, School of Mathematical Sciences, Tel Aviv University, TelAviv, Israel On the Complexity of Some Geometric Problems in Unbounded Dimension NIMROD MEGIDDO IBM Almaden Research Center, 650 Harry Road, San Jose, California 95120-6099, and School of Mathematical Sciences, Tel

More information

to t in the graph with capacities given by u e + i(e) for edges e is maximized. We further distinguish the problem MaxFlowImp according to the valid v

to t in the graph with capacities given by u e + i(e) for edges e is maximized. We further distinguish the problem MaxFlowImp according to the valid v Flow Improvement and Network Flows with Fixed Costs S. O. Krumke, Konrad-Zuse-Zentrum fur Informationstechnik Berlin H. Noltemeier, S. Schwarz, H.-C. Wirth, Universitat Wurzburg R. Ravi, Carnegie Mellon

More information