Partitioning Graphs of Supply and Demand

Size: px
Start display at page:

Download "Partitioning Graphs of Supply and Demand"

Transcription

1 Parttonng Graphs of Supply and Demand Takehro Ito Graduate School of Informaton Scences, Tohoku Unersty, Aoba-yama , Senda, , Japan. Abstract. Suppose that each ertex of a graph G s ether a supply ertex or a demand ertex and s assgned a poste real number, called the supply or the demand. Each demand ertex can recee power from at most one supply ertex through edges n G. One thus wshes to partton G nto connected components so that each component C ether has no supply ertex or has exactly one supply ertex whose supply s at least the sum of demands n C, and wshes to maxmze the fulfllment, that s, the sum of demands n all components wth supply ertces. Ths maxmzaton problem s known to be NP-hard een for trees hang exactly one supply ertex and strongly NP-hard for general graphs. In ths paper, we focus on the approxmablty of the problem. We frst show that the problem s MAXSNP-hard and hence there s no polynomaltme approxmaton scheme (PTAS) for general graphs unless P = NP. We then present a fully polynomal-tme approxmaton scheme (FPTAS) for trees. The FPTAS can be extended for seres-parallel graphs and partal k-trees, that s, graphs wth bounded treewdth, f there s exactly one supply ertex n the graph. Ths s a ont work wth E. Demane, T. Nshzek and X. Zhou. Keywords: approxmaton algorthm, demand, FPTAS, maxmum partton problem, MAXSNP-hard, supply, trees. 1 Introducton Let G = (V, E) be a graph wth ertex set V and edge set E. The set V s parttoned nto two sets V s and V d. Each ertex u V s s called a supply ertex and s assgned a poste real number sup(u), called a supply of u, whle each ertex V d s called a demand ertex and s assgned a poste real number dem(), called a demand of. Each demand ertex can recee power from at most one supply ertex through edges n G. One thus wshes to partton G nto connected components by deletng edges from G so that each component M. Kaykobad and M. S. Rahman (Eds.): WALCOM 2007, pp , 2007.

2 Parttonng Graphs of Supply and Demand 163 C has exactly one supply ertex whose supply s at least the sum of demands of all demand ertces n C. Howeer, such a partton does not always exst. So we wsh to partton G nto connected components so that each component C ether has no supply ertex or has exactly one supply ertex whose supply s at least the sum of demands of all demand ertces n C, and wsh to maxmze the fulfllment, that s, the sum of demands of the demand ertces n all components wth supply ertces. We call ths problem the maxmum partton problem [5]. The maxmum partton problem has some applcatons to the power supply problem for power delery networks [1, 5, 7]. Fgure 1(a) llustrates a soluton of the maxmum partton problem for a graph, whose fulfllment s (2 + 7) + (8 + 7) + (3 + 6) + (4 + 8) = 45. In Fg. 1(a) each supply ertex s drawn as a rectangle and each demand ertex as a crcle, the supply or demand s wrtten nsde, the deleted edges are drawn by thck dotted lnes, and each connected component wth a supply ertex s shaded. Gen a set A of ntegers and an upper bound (nteger) b, the maxmum subset sum problem [2,3] asks to fnd a subset C of A such that the sum of ntegers n C s no greater than the bound b and s maxmum among all such subsets C. The maxmum subset sum problem can be reduced n lnear tme to the maxmum partton problem for a partcular tree, called a star, wth exactly one supply ertex at the center, as llustrated n Fg. 1(c) [5]. Snce the maxmum subset sum problem s NP-hard, the maxmum partton problem s also NP-hard een for stars. Thus t s ery unlkely that the maxmum partton problem can be exactly soled n polynomal tme een for trees. Snce there s a fully polynomaltme approxmaton scheme (FPTAS) for the maxmum subset sum problem [3], one may expect that there s an FPTAS for the maxmum partton problem. In ths paper, we study the approxmablty of the maxmum partton problem. We frst show that the maxmum partton problem s MAXSNP-hard, and hence there s no polynomal-tme approxmaton scheme (PTAS) for the problem on general graphs unless P = NP. We then present an FPTAS for trees. The FPTAS for trees can be extended to seres-parallel graphs and partal k-trees, that s, graphs wth bounded treewdth, f there s exactly one supply ertex n a graph [4]. Fgure 1(b) depcts a partton of a tree T found by our FPTAS. supply ertex demand ertex w C b = 25 w C (a) (b) (c) Fg.1. (a) Partton of a graph G wth maxmum fulfllment, (b) partton of a tree T, and (c) a star S wth a supply ertex at the center.

3 164 Takehro Ito One mght thnk that t would be straghtforward to extend the FPTAS for the maxmum subset sum problem n [3] to an FPTAS for the maxmum partton problem on trees. Howeer, ths s not the case snce we must take a graph structure nto account. For example, the ertex of demand 2 drawn by a thck crcle n Fg. 1(b) cannot be suppled power een though the supply ertex w has margnal power 25 ( ) = 2, whle the ertex n Fg. 1(c) can be suppled power from the supply ertex w n the star hang the same supply and demands as n Fg. 1(b). Indeed, we not only extend the scalng and roundng technque but also employ many new deas to dere our FPTAS. Ths s a ont work wth E. Demane, T. Nshzek and X. Zhou [4, 5]. The rest of the paper s organzed as follows. In Secton 2 we show that the maxmum partton problem s MAXSNP-hard. In Secton 3 we present a pseudo-polynomal-tme algorthm for trees. In Secton 4 we present an FPTAS based on the algorthm n Secton 3. 2 MAXSNP-hardness The man result of ths secton s the followng theorem. Theorem 1. The maxmum partton problem s MAXSNP-hard for bpartte graphs. Proof. As n [8,9], we use the concept of L-reducton whch s a specal knd of reducton that preseres approxmablty. Suppose that both A and B are maxmzaton problems. Then we say that A can be L-reduced to B f there exst two polynomal-tme algorthms Q and R and two poste constants α and β whch satsfy the followng two condtons (1) and (2) for each nstance I A of A: (1) the algorthm Q returns an nstance I B = Q(I A ) of B such that OPT B (I B ) α OPT A (I A ), where OPT A (I A ) and OPT B (I B ) denote the maxmum soluton alues of I A and I B, respectely; and (2) for each feasble soluton of I B wth alue c B, the algorthm R returns a feasble soluton of I A wth alue c A such that OPT A (I A ) c A β (OPT B (I B ) c B ). Note that, by condton (2) of the L-reducton, R must return the optmal soluton of I A for the optmal soluton of I B. We show that a MAXSNP-hard problem, called 3-occurrence MAX3SAT [8, 9], can be L-reduced to the maxmum partton problem for bpartte graphs. Howeer, due to the page lmtaton, we only show n ths extended abstract that condton (1) of the L-reducton holds. We now show that condton (1) of the L-reducton holds for α = 26. An nstance Φ of 3-occurrence MAX3SAT conssts of a collecton of m clauses C 1, C 2,, C m on n arables x 1, x 2,, x n such that each clause has exactly three lterals and each arable appears at most three tmes n the clauses. The 3-occurrence MAX3SAT problem s to fnd a truth assgnment for the arables whch satsfes the maxmum number of clauses. Then t suffces to show that,

4 Parttonng Graphs of Supply and Demand 165 G x1 G x2 G x3 7 x x 1 7 x x 2 7 x x 3 7 x 4 4 x C 1 C 2 C 3 (a) G x (b) G Φ Fg.2. (a) Varable gadget G x, and (b) the bpartte graph G Φ correspondng to an nstance Φ wth three clauses C 1 = (x 1 x 2 x 3), C 2 = ( x 1 x 2 x 3) and C 3 = ( x 1 x 2 x 3). from each nstance Φ of 3-occurrence MAX3SAT, one can construct n polynomal tme a bpartte graph G Φ as an nstance of the maxmum partton problem such that OPT MPP (G Φ ) 26 OPT SAT (Φ), (1) where OPT MPP (G Φ ) s the maxmum soluton alue of the maxmum partton problem for G Φ and OPT SAT (Φ) s the maxmum soluton alue of 3-occurrence MAX3SAT for Φ. We frst make a arable gadget G x for each arable x, 1 n; G x s a bnary tree wth three ertces as llustrated n Fg. 2(a); the root s a supply ertex of supply 7, and two leaes x and x are demand ertces of demands 4. The graph G Φ s constructed as follows. For each arable x, 1 n, put the arable gadget G x to the graph, and for each clause C, 1 m, put a demand ertex C of demand 1 to the graph. Fnally, for each clause C, 1 m, on a demand ertex x (or x ) n G x wth the demand ertex C f and only f the lteral x (or x ) s n C, as llustrated n Fg. 2(b). Clearly, G Φ can be constructed n polynomal tme, and s a bpartte graph. It should be noted that, snce each arable x, 1 n, appears at most three tmes n the clauses, the supply ertex n G x has enough power to supply all demand ertces C whose correspondng clauses hae x or x. Then one can erfy Eq. (1), whose proof s omtted from ths extended abstract. Q.E.D. 3 Pseudo-polynomal-tme algorthm for trees The maxmum partton problem s NP-hard een for trees. Howeer, n ths secton, we ge a pseudo-polynomal-tme algorthm to sole the maxmum partton problem for trees. The man result of ths secton s the followng theorem. Theorem 2. The maxmum partton problem can be soled for a tree T = (V, E) n tme O(F 2 n) f the demands and supples are ntegers, where n = V and F = mn{ V d dem(), V s sup()}.

5 166 Takehro Ito In the remander of ths secton we ge an algorthm to sole the maxmum partton problem for trees n tme O(F 2 n) as a proof of Theorem 2. In Subsecton 3.1 we defne some terms and present deas of our algorthm. We then present our algorthm n Subsecton 3.2. We fnally show, n Subsecton 3.3, that our algorthm takes tme O(F 2 n). 3.1 Terms and deas We partton a graph G nto connected components by deletng edges from G so that (a) each component contans at most one supply ertex; and (b) f a component C contans a supply ertex, then the supply s no less than the sum of demands of all demand ertces n C. Such a partton s called a partton of G. Thus a partton P of G corresponds to a famly of sets of ertces n G. The fulfllment f(p) of a partton P s the sum of demands of all demand ertces n components wth supply ertces. The maxmum partton problem s to fnd a partton of G wth the maxmum fulfllment. The maxmum fulfllment f(g) of a graph G s the maxmum fulfllment f(p) among all parttons P of G. Clearly f(g) F. For the graph G n Fg. 1(a) the partton P has the maxmum fulfllment, and hence f(g) = f(p) = 45. One may assume wthout loss of generalty that T s a rooted tree. Let r be the root of T. For each ertex of T, we denote by T the subtree of T whch s rooted at and s nduced by all descendants of n T. We denote by R the set of all real numbers. Let R + = {x R x 0}. Our dea s to consder three types of parttons of the rooted subtree T of T. The frst s called a -out partton, whch can deler an amount of margnal power outsde T through. The second s called a -n partton, whch needs an amount of defcent power to be delered nsde T through. The thrd s called an solated partton, n whch the set contanng s a sngleton. For these parttons, we ntroduce three functons g out : (T, R) R + { }, g n : (T, R) R + {+ } and g 0 : (T, R) {0, + }, where T denotes the set of all trees. For T T and x R, the alue g out (T ; x) represents the maxmum margnal power of a -out partton P of T such that f(p) x, g n (T ; x) represents the mnmum defcent power of a -n partton P of T such that f(p) x, and g 0 (T ; x) = 0 f T has an solated partton P such that f(p) x, otherwse, g 0 (T ; x) = +. Our dea s to compute g out, g n and g 0 from the leaes of T to the root r of T by means of dynamc programmng. T e 1 e 2 e e l 1 2 l T1 T2 T T l Fg.3. Tree T.

6 Parttonng Graphs of Supply and Demand 167 Let be a ertex of T, let 1, 2,, l be the chldren of ordered arbtrarly, and let e, 1 l, be the edge onng and, as llustrated n Fg. 3. T, 1 l, s the subtree of T whch s rooted at and s nduced by all descendants of n T. We denote by T the subtree of T whch conssts of the ertex, the edges e 1, e 2,, e and the subtrees T 1, T 2,, T. In Fg. 3, T s ndcated by a dotted lne. Clearly T = T l. For the sake of notatonal conenence, we denote by T 0 the subtree of a sngle ertex. Let P be a partton of a rooted subtree T of T, and let C(P) be the set of all ertces n the connected component contanng the root of T n P, as llustrated n Fgs. 4(a), 5(a) and 6(a). For each real number R +, we now formally defne -out, -n and solated parttons as follows. (a) A partton P of T s called a -out partton f C(P) contans a supply ertex w and sup(w) + u C(P) {w} dem(u). (See Fg. 4(a).) A -out partton of T corresponds to a partton of the whole tree T n whch all demand ertces n C(P) are suppled power from a supply ertex n T ; an amount of power can be delered outsde T through, and hence the margn of P s. If a rtual demand ertex d wth dem( d ) = s oned to the root of T as llustrated n Fg. 4(b), then d and all demand ertces n C(P) can be suppled power from w n the resultng tree T +. A -out partton P of T nduces a partton P + of T + such that f(p + ) = f(p)+, where the connected component contanng n P + contans the ertces n C(P) { d } and each of the other components n P + s the same as the counterpart n P, as llustrated n Fg. 4. (b) A partton P of T s called a -n partton f C(P) contans no supply ertex and u C(P) dem(u). (See Fg. 5(a).) Thus, f P s a -n partton, then s a demand ertex and dem(). A -n partton of T corresponds to a partton of T n whch all (demand) ertces n C(P) ncludng are suppled power from a supply ertex outsde T ; an amount of power must be delered nsde T through, and hence the defcency of P s. If a rtual supply ertex s wth sup( s ) = s oned to the root of T as llustrated n Fg. 5(b), then all (demand) ertces n C(P) can be suppled power from s n the resultng C(P) wth supply w d w w (a) P (b) P + Fg.4. (a) Tree T and (b) tree T +.

7 168 Takehro Ito tree T. For a -n partton P of T, let f (P) = f(p) + u C(P) dem(u). Clearly, a -n partton P of T nduces a partton P of T such that f(p ) = f (P). C(P) wthout supply s (a) P (b) P * Fg.5. (a) Tree T and (b) tree T. (c) A partton P of T s called an solated partton f C(P) conssts of a sngle demand ertex. (See Fg. 6(a).) An solated partton P of T corresponds to a partton P of T n whch s not suppled power from any supply ertex n T. Such a partton P of T does not always nduce an solated partton P of T. Howeer, subddng the component of P contanng nto sngletons, one can transform P to a partton P of T such that f(p ) = f(p ) and P nduces an solated partton P of T, as llustrated n Fgs. 6(b) and (c). a sngleton C(P) no supply (a) P (b) P' (c) P'' Fg.6. (a) Tree T, and (b), (c) tree T. We are now ready to ge a formal defnton of the three functons g out, g n and g 0. We frst defne g out : (T, R) R + { } for a tree T T and a real number x R, as follows: g out (T ; x) = max{ R + T has a -out partton P such that f(p) x }. (2) Thus, g out (T ; x) s the maxmum amount of margnal power of a -out partton P such that f(p) x. If T has no -out partton P wth f(p) x for any number R +, then let g out (T ; x) =. We then smlarly defne

8 Parttonng Graphs of Supply and Demand 169 g n : (T, R) R + {+ } for a tree T T and a real number x R, as follows: g n (T ; x) = mn{ R + T has a -n partton P such that f (P) x}.(3) Thus, g n (T ; x) s the mnmum amount of defcent power of a -n partton P such that f (P) x. If T has no -n partton P wth f (P) x for any number R +, then let g n (T ; x) = +. We fnally defne g 0 : (T, R) {0, + } for a tree T T and a real number x R, as follows: { 0 f T has an solated partton P such that f(p) x; g 0 (T ; x) = + otherwse. (4) The functon g out takes a alue n R + { }, g n takes a alue n R + {+ }, and g 0 takes a alue 0 or +. Clearly, g out s non-ncreasng, and both g n and g 0 are non-decreasng. For any negate real number x < 0, g out (T ; x) = g out (T ; 0), g n (T ; x) = g n (T ; 0), and g 0 (T ; x) = g 0 (T ; 0). Our algorthm computes g out (T ; x), g n (T ; x) and g 0 (T ; x) for each ertex of T from the leaes to the root r of T by means of dynamc programmng. 3.2 algorthm We frst show how to compute the maxmum fulfllment f(t) of a gen tree T from g out (T; x), g n (T; x) and g 0 (T; x). [How to compute f(t)] Let f out (T ) be the maxmum fulfllment f(p) taken oer all -out parttons P of T wth R +. Thus f out (T ) = max{x R + g out (T ; x) }. (5) If g out (T ; x) = for any number x R, then let f out (T ) =. On the other hand, let f 0 (T ) be the maxmum fulfllment f(p) taken oer all solated parttons P of T. Thus f 0 (T ) = max{x R + g 0 (T ; x) + }. (6) If g 0 (T ; x) = + for any number x R, that s, s a supply ertex, then let f 0 (T ) =. One can easly obsere that f(t ) = max{f out (T ), f 0 (T )}, and hence f(t) = f(t r ) = max{f out (T r ), f 0 (T r )} for the root r of T. Note that a partton of T = T r wth the maxmum fulfllment f(t) s ether an solated partton or a -out partton for some number R +.

9 170 Takehro Ito We then explan how to compute g out (T ; x), g n (T ; x) and g 0 (T ; x) for each ertex of T. [How to compute g out (T ; x), g n (T ; x) and g 0 (T ; x)] We frst compute g out (T 0; x), g n(t 0; x) and g 0(T 0 ; x) for each ertex of T as follows. Snce T 0 conssts of a sngle ertex, T = T 0 f s a leaf. If s a demand ertex, then for any number x R and g out (T 0 ; x) =, (7) { g n (T 0 dem() f x dem(); ; x) = (8) + otherwse, g 0 (T 0 ; x) = { 0 f x 0; + otherwse. (9) If s a supply ertex, then for any number x R { g out (T 0 sup() f x 0; ; x) = otherwse, and (10) g n (T 0 ; x) = +, (11) g 0 (T 0 ; x) = +. (12) We next compute g out (T; x), g n (T; x) and g 0 (T; x), 1 l, for each nternal ertex of T from the counterparts of T 1 and T, where l s the number of the chldren of. (See Fg. 3.) Remember that T = T, l and note that T 1 s obtaned from T and T by onng and as llustrated n Fg. 7 where T 1 s ndcated by a thn dotted lne. We frst explan how to compute g out (T; x). Let P be a -out partton of T such that f(p) x and = g out (T; x). Then there are the followng four Cases (a) (d): Case (a): s suppled power from a ertex n T 1 ; Case (b): s not suppled power; Case (c): s suppled power from a ertex n T, and ether s a supply ertex or s suppled power from a ertex n T 1 ; and Case (d): s suppled power from a ertex n T.

10 Parttonng Graphs of Supply and Demand 171 Fgures 7(a) (d) llustrate the power flows n T for the four cases, where an arrow represents the drecton of power supply, and a thck dotted lne represents a deleted edge. For x R and y R, we defne gout(t a ; x, y), gout(t b ; x, y), gout c (T ; x, y) and gd out (T ; x, y) for Cases (a), (b), (c) and (d), respectely. Intutely, x and y are the fulfllments of T and T 1, respectely. T -1 k 1-1 T k- T T 0 T T k T -1 k 1-1 T +k T 1 T -1 T T 1 T -1 T T 1 T -1 T T 1 T -1 T (a) (b) Fg.7. Power flow n a -out partton of T. (c) (d) Case (a): s suppled power from a ertex n T 1. In ths case, for some number k R + wth k, the -out partton P of T and a (k )-n partton P 2 of T such that f(p) = f(p 1 ) + f (P 2 ). (See Fg. 7(a). The component of P contanng conssts of the ertces n C(P 1 ) C(P 2 ), and each of the other components of P corresponds to a component of P 1 or P 2.) Snce f(p) = f(p 1 )+ f (P 2 ) x, we hae f(p 1 ) y and f (P 2 ) x y for some number y R. can be obtaned by mergng a k-out partton P 1 of T 1 Snce P 1 s a k-out partton of T 1 wth f(p 1 ) y, one may assume by Eq. (2) that k = g out (T 1 ; y). Smlarly one may assume that k = g n (T ; x y). Snce g out (T; x) = = k (k ), we defne g a out(t ; x, y) = g out (T 1 ; y) g n (T ; x y) (13) for Case (a). Case (b): s not suppled power. In ths case, P can be obtaned by mergng a -out partton P 1 of T 1 and an solated partton P 2 of T such that f(p 1 ) y and f(p 2 ) x y for some number y R. (See Fg. 7(b). The famly of sets of ertces correspondng to P s a unon of two famles correspondng to P 1 and P 2.) Then = 0, and hence let g b out(t ; x, y) = g out (T 1 ; y) g 0 (T ; x y). (14) Case (c): s suppled power from a ertex n T, and ether s a supply ertex or s suppled power from a ertex n T 1. In ths case, for some number k R +, P can be obtaned by mergng a -out partton P 1 of T 1 and a k-out partton P 2 of T such that f(p 1 ) y and f(p 2 ) x y for some numbers k R + and y R. (See Fg. 7(c). The famly

11 172 Takehro Ito of sets of ertces correspondng to P s a unon of two famles correspondng to P 1 and P 2.) Then let { gout(t c ; gout (T x, y) = 1 ; y) f g out (T ; x y) ; f g out (T ; x y) =. (15) Case (d): s suppled power from a ertex n T. In ths case, ether s a supply ertex or both and are suppled power from the same supply ertex n T. For some number k R +, P can be obtaned by mergng a k-n partton P 1 of T 1 and a ( + k)-out partton P 2 of T such that f (P 1 ) y and f(p 2 ) x y for some numbers k R + and y R. (See Fg. 7(d). The component of P contanng conssts of the ertces n C(P 1 ) C(P 2 ), and each of the other components of P corresponds to a component of P 1 or P 2.) Then = ( + k) k, and hence let g d out(t ; x, y) = g out (T ; x y) g n (T 1 ; y). (16) From gout a, gb out, gc out and gd out aboe one can compute g out(t ; x) as follows: g out (T ; x) = max{ga out (T ; x, y), gb out (T ; x, y), gc out (T ; x, y), gd out (T ; x, y) y (17) R}. T -1 k 1-1 T -k T 1 T -1 T T T 0 T 1 T -1 T T T T 1 T -1 T k (a) Fg.8. Power flow n a -n partton of T. (b) (c) We next explan how to compute g n (T; x). Let P be a -n partton such that f (P) x and = g n (T ; x) +. Then there are the followng three Cases (a), (b) and (c): Case (a): C(P); Case (b): / C(P), and s not suppled power; and Case (c): / C(P), and s suppled power from a ertex n T. Fgures 8(a) (c) llustrate the power flows n T for the three cases. We defne gn a (T ; x, y), gb n (T ; x, y) and gc n (T ; x, y) for Cases (a), (b) and (c), respectely, as follows. Case (a): C(P). In ths case, the -n partton P can be obtaned by mergng a k-n partton P 1 of T 1 and a ( k)-n partton P 2 of T such that f (P 1 ) y and

12 Parttonng Graphs of Supply and Demand 173 f (P 2 ) x y for some numbers k R + and y R. (See Fg. 8(a).) Then = k + ( k), and hence let g a n (T ; x, y) = g n(t 1 ; y) + g n (T ; x y). (18) Case (b): / C(P), and s not suppled power. In ths case, P can be obtaned by mergng a -n partton P 1 of T 1 and an solated partton P 2 of T such that f (P 1 ) y and f(p 2 ) x y for some number y R. (See Fg. 8(b).) Then = + 0, and hence let g b n (T ; x, y) = g n(t 1 ; y) + g 0 (T ; x y). (19) Case (c): / C(P), and s suppled power from a ertex n T. In ths case, P can be obtaned by mergng a -n partton P 1 of T 1 and a k-out partton P 2 of T such that f (P 1 ) y and f(p 2 ) x y for some numbers k R + and y R. (See Fg. 8(c).) Then let g c n(t ; x, y) = { gn (T 1 ; y) f g out (T ; x y) ; + f g out (T ; x y) =. (20) From gn a, gb n and gc n aboe one can compute g n(t ; x) as follows: g n (T ; x) = mn{g a n(t ; x, y), g b n(t ; x, y), g c n(t ; x, y) y R}. (21) 0-1 T E E E 1-1 E E E T 0 T 1 T -1 T (a) T -1 0 E E E 1-1 E E E T k T 1 T -1 T (b) Fg.9. Power flow n an solated partton of T. We fnally explan how to compute g 0 (T ; x). Let P be an solated partton such that f(p) x. There are the followng two Cases (a) and (b), and we defne g0 a(t ; x, y) and gb 0 (T ; x, y) for Cases (a) and (b), respectely. Case (a): s a demand ertex and s not suppled power. In ths case, the solated partton P can be obtaned by mergng an solated partton P 1 of T 1 and an solated partton P 2 of T such that f(p 1 ) y and f(p 2 ) x y for some number y R. (See Fg. 9(a).) Then let g a 0 (T ; x, y) = g 0(T 1 ; y) + g 0 (T ; x y). (22)

13 174 Takehro Ito Case (b): ether s a supply ertex or s suppled power (from a ertex n T ). In ths case P can be obtaned by mergng an solated partton P 1 of T 1 and a k-out partton P 2 of T such that f(p 1 ) y and f(p 2 ) x y for some numbers k R + and y R. (See Fg. 9(b).) Then let g b 0(T ; x, y) = { g0 (T 1 ; y) f g out (T ; x y) ; + f g out (T ; x y) =. (23) From g a 0 and g b 0 aboe one can compute g 0 (T ; x) as follows: g 0 (T ; x) = mn{g a 0(T ; x, y), g b 0(T ; x, y) y R}. (24) 3.3 Proof of Theorem 2 We now show that our algorthm takes tme O(F 2 n) as a proof of Theorem 2. Snce all the supples and demands n T are ntegers, f(p) and f (P) are ntegers for any partton P of T. We denote by Z the set of all ntegers. Let Z + = {x Z x 0} and Z + F = {x Z 0 x F }. Defne a functon ĝ out : (T, Z) Z + { } for a tree T T and an nteger x Z smlarly as g out : (T, R) R + { } n Eq. (2): ĝ out (T ; x) = max{ Z + T has a -out partton P such that f(p) x }. Defne functons ĝ n : (T, Z) Z + {+ } and ĝ 0 : (T, Z) {0, + } smlarly as g n and g 0 n Eqs. (3) and (4). Defne ntegral alues ˆf out (T ) and ˆf 0 (T ) smlarly as f out (T ) and f 0 (T ) n Eqs. (5) and (6): and ˆf out (T ) = max{x Z + ĝ out (T ; x) }; (25) ˆf 0 (T ) = max{x Z + ĝ 0 (T ; x) + }. (26) Then ˆf out (T ) = f out (T ) and ˆf 0 (T ) = f 0 (T ), and hence f(t ) = max{ ˆf out (T ), ˆf 0 (T )}. (27) We shall thus compute alues ĝ out (T ; x), ĝ n (T ; x) and ĝ 0 (T ; x) for all ntegers x Z. Howeer, one can easly obsere that t suffces to compute them only for ntegers x Z + F. One can compute alues ĝ out (T 0; x), ĝ n(t 0; x) and ĝ 0(T 0 ; x) for a ertex of T and all ntegers x Z + F n tme O(F) by the counterparts of Eqs. (7) (12). If 1, then one can recursely compute alues ĝ out (T ; x), ĝ n(t ; x) and ĝ 0 (T ; x) for an nternal ertex of T and all ntegers x Z+ F n tme O( Z F 2 ) = O(F 2 ) by the counterparts of Eqs. (13) (24). Snce T = T, l one can compute ˆf out (T ), ˆf0 (T ) and f(t ) by Eqs. (25) (27) n tme O(F). Snce

14 Parttonng Graphs of Supply and Demand 175 T = T r for the root r of T, the number of ertces n T s n and the number of edges s n 1, one can compute f(t) = f(t r ) n tme O(F 2 n). Ths completes a proof of Theorem 2. Q.E.D. Note that f the supples and demands are not always ntegers then f(p) and f (P) are not always ntegers and one cannot compute f(t) n tme O(F 2 n). 4 FPTAS for trees Assume n ths secton that the supples and demands of all ertces n a tree T are poste real numbers whch are not always ntegers. The man result of ths secton s the followng theorem. Theorem 3. There s a fully polynomal-tme approxmaton scheme for the maxmum partton problem on trees. In the remander of ths secton, as a proof of Theorem 3, we ge an algorthm to fnd a partton P of a tree T wth f(p) (1 ε)f(t) n tme polynomal n n and 1/ε for any real number ε, 0 < ε < 1. Thus our approxmate maxmum fulfllment f(t) of T s f(p), and hence the error s bounded by εf(t), that s, f(t) f(t) = f(t) f(p) εf(t). (28) We frst outlne our algorthm and the analyss. We extend the ordnary scalng and roundng technque for the knapsack and maxmum subset sum problems [2, 3,6] and apply t to the maxmum partton problem. For some scalng factor t, we consder the set {, 2t, t, 0, t, 2t, } as the range of functons g out, g n and g 0, and fnd the approxmate soluton f(t) by usng the pseudo-polynomal-tme algorthm n Secton 3. As we wll show later n Lemma 2(c), we hae f(t) f(t) < 2nt. (29) Intutely, Eq. (29) holds because the merge operaton s executed no more than 2n tmes and each merge operaton adds at most t to the error f(t) f(t). Let m d be the maxmum demand, that s, m d = max{dem() V d }. Takng t = εm d /(2n) and clamng f(t) m d, we hae Eq. (28). We now ge the detals of our algorthm and the proof of ts correctness. For a poste real number t, let R t = {, 2t, t, 0, t, 2t, } and R t+ F = {x R t 0 x F }. The functons g out, g n and g 0 hae range R. In ths secton we defne new functons ḡ out, ḡ n and ḡ 0 whch hae a sampled range R t and approxmate g out, g n and g 0, respectely. It should be noted that ḡ out, ḡ n and ḡ 0 do not always take the same alue as g out, g n and g 0, respectely, een for x R t. More precsely, we

15 176 Takehro Ito () recursely defne and compute ḡ out (T ; x), ḡ n (T ; x) and ḡ 0 (T ; x) for x R t by the counterparts of Eqs. (7) (24); () defne and compute alues f out (T ) and f 0 (T ) by the counterparts of Eqs. (5) and (6), that s, and f out (T ) = max{x R t+ F f 0 (T ) = max{x R t+ F () defne and compute ḡ out(t ; x) } ḡ 0(T ; x) + }; f(t ) = max{ f out (T ), f 0 (T )}; and () defne and compute f(t) = f(t r ) where r s the root of T. We wll show later n Lemma 2(c) that f(t) s an approxmate alue of f(t) satsfyng Eq. (29). It should be noted that the supples and demands are neer scaled and rounded when we compute the functons ḡ out, ḡ n and ḡ 0 as aboe, and hence these functons take real alues whch are not necessarly n R t F, although f out, f 0 and f take alues n R t+ F. The functons ḡ out, ḡ n and ḡ 0 approxmate the orgnal functons g out, g n and g 0 as n the followng lemma, whose proof s omtted due to the page lmtaton. Note that ḡ out (T ; x) = ḡ out (T ; 0), ḡ n (T ; x) = ḡ n (T ; 0) and ḡ 0 (T ; x) = ḡ 0 (T ; 0) for any negate number x R t. Lemma 1. Let s(t ) be the sze of T, that s, the number of ertces and edges n T. Then the followng (a), (b) and (c) hold: (a) () ḡ out (T; x) g out (T; x) for any number x R t ; () ḡ out (T ; x) s non-ncreasng; and () for any number x R, there s an nteger α such that and 0 α s(t ) 1 ḡ out (T ; x/t t αt) g out (T ; x), (b) () ḡ n (T ; x) g n(t ; x) for any number x Rt ; () ḡ n (T ; x) s non-decreasng; and () for any number x R, there s an nteger β such that 0 β s(t ) and and ḡ n (T ; x/t t βt) g n (T ; x),

16 Parttonng Graphs of Supply and Demand 177 (c) () ḡ 0 (T ; x) g 0(T ; x) for any number x Rt ; () ḡ 0 (T ; x) s non-decreasng; and () for any number x R, there s an nteger γ such that 0 γ s(t ) and ḡ 0 (T ; x/t t γt) g 0(T ; x). We then hae the followng lemma, whose proof s omtted from ths extended abstract. Lemma 2. The followng (a), (b) and (c) hold: (a) f out (T ) s(t )t f out (T ); (b) f 0 (T ) s(t )t f 0 (T ); and (c) f(t) 2nt < f(t) f(t). We are now ready to proe Theorem 3. Proof of Theorem 3. Let be a demand ertex wth the maxmum demand dem() = m d = max{dem() V d } n T. Then one may assume that T has a path Q gong from to some supply ertex u such that () Q passes through only demand ertces except ertex u, and () sup(u) s no less than the sum of demands on Q, because, otherwse, cannot be suppled power from any supply ertex and hence t suffces to sole the problem for each tree n a forest obtaned from T by deletng. Thus one may assume that f(t) m d. (30) Let t = εm d 2n. (31) Then by Lemma 2(c) and Eqs. (30) and (31) we hae and hence (1 ε)f(t) < f(t) f(t). f(t) < f(t) + 2n εm d 2n f(t) + εf(t),

17 178 Takehro Ito One can obsere that the algorthm takes tme ( R ) ( ) t+ O 2 n 5 n = O, F ε 2 because R t+ F = F/t +1, F nm d and hence by Eq. (31) we hae F/t 2n 2 /ε. Q.E.D. 5 Conclusons In ths paper, we studed the approxmablty of the maxmum partton problem. We frst showed that the maxmum partton problem s MAXSNP-hard. We then gae an FPTAS for trees. It s easy to modfy the FPTAS so that t actually fnds a partton of a tree. The FPTAS for trees can be extended to that for seres-parallel graphs and partal k-trees f there s exactly one supply ertex n a graph [4]. In the ordnary knapsack problem, each tem s assgned a sze and alue, and one wshes to choose a subset of tems that maxmzes the sum of alues of tems such that ther total sze does not exceed the sze of a bag [3, 6]. Consder a slghtly modfed erson of the maxmum partton problem on graphs n whch each demand ertex s assgned not only a demand but also a alue, and one wshes to fnd a partton whch maxmzes the sum of alues of all demand ertces n components wth supply ertces. Ths problem s ndeed a generalzaton of the ordnary knapsack problem, and can be soled for trees usng technques smlar to those for the maxmum partton problem. Note that the standard approxmaton methods for the knapsack problem n [3, 6] cannot be appled to the modfed maxmum partton problem. References 1. N. G. Boulaxs and M. P. Papadopoulos, Optmal feeder routng n dstrbuton system plannng usng dynamc programmng technque and GIS facltes, IEEE Trans. on Power Delery, Vol. 17, pp , M. R. Garey and D. S. Johnson, Computers and Intractablty: A Gude to the Theory of NP-Completeness, Freeman, San Francsco, CA, O. H. Ibarra and C. E. Km, Fast approxmaton algorthms for the knapsack and sum of subset problems, J. Asso. Comput. Mach., Vol. 22, pp , T. Ito, E. D. Demane, X. Zhou and T. Nshzek, Approxmablty of parttonng graphs wth supply and demand, n Proc. of the 17th Annual Internatonal Symposum on Algorthms and Computaton (ISAAC2006), Lecture Notes n Computer Scence, Vol. 4288, pp , T. Ito, X. Zhou and T. Nshzek, Parttonng trees of supply and demand, Internatonal J. of Foundatons of Computer Scence, Vol. 16, pp , P. N. Klen and N. E. Young, Approxmaton algorthms for NP-hard optmzaton problems, Chap. 34 n (Ed. M. J. Atallah) Algorthms and Theory of Computaton Handbook, CRC Press, Boca Raton, Florda, 1999.

18 Parttonng Graphs of Supply and Demand A. B. Morton and I. M. Y. Mareels, An effcent brute-force soluton to the network reconfguraton problem, IEEE Trans. on Power Delery, Vol. 15, pp , C. H. Papadmtrou, Computatonal Complexty, Addson-Wesley, C. H. Papadmtrou and M. Yannakaks, Optmzaton, approxmaton, and complexty classes, J. Computer and System Scences, Vol. 43, pp , 1991.

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

NP-Completeness : Proofs

NP-Completeness : Proofs NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem

More information

Maximizing the number of nonnegative subsets

Maximizing the number of nonnegative subsets Maxmzng the number of nonnegatve subsets Noga Alon Hao Huang December 1, 213 Abstract Gven a set of n real numbers, f the sum of elements of every subset of sze larger than k s negatve, what s the maxmum

More information

Computing Correlated Equilibria in Multi-Player Games

Computing Correlated Equilibria in Multi-Player Games Computng Correlated Equlbra n Mult-Player Games Chrstos H. Papadmtrou Presented by Zhanxang Huang December 7th, 2005 1 The Author Dr. Chrstos H. Papadmtrou CS professor at UC Berkley (taught at Harvard,

More information

Complete subgraphs in multipartite graphs

Complete subgraphs in multipartite graphs Complete subgraphs n multpartte graphs FLORIAN PFENDER Unverstät Rostock, Insttut für Mathematk D-18057 Rostock, Germany Floran.Pfender@un-rostock.de Abstract Turán s Theorem states that every graph G

More information

Assortment Optimization under MNL

Assortment Optimization under MNL Assortment Optmzaton under MNL Haotan Song Aprl 30, 2017 1 Introducton The assortment optmzaton problem ams to fnd the revenue-maxmzng assortment of products to offer when the prces of products are fxed.

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information

Finding Dense Subgraphs in G(n, 1/2)

Finding Dense Subgraphs in G(n, 1/2) Fndng Dense Subgraphs n Gn, 1/ Atsh Das Sarma 1, Amt Deshpande, and Rav Kannan 1 Georga Insttute of Technology,atsh@cc.gatech.edu Mcrosoft Research-Bangalore,amtdesh,annan@mcrosoft.com Abstract. Fndng

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

Module 9. Lecture 6. Duality in Assignment Problems

Module 9. Lecture 6. Duality in Assignment Problems Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept

More information

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg prnceton unv. F 17 cos 521: Advanced Algorthm Desgn Lecture 7: LP Dualty Lecturer: Matt Wenberg Scrbe: LP Dualty s an extremely useful tool for analyzng structural propertes of lnear programs. Whle there

More information

MATH 5707 HOMEWORK 4 SOLUTIONS 2. 2 i 2p i E(X i ) + E(Xi 2 ) ä i=1. i=1

MATH 5707 HOMEWORK 4 SOLUTIONS 2. 2 i 2p i E(X i ) + E(Xi 2 ) ä i=1. i=1 MATH 5707 HOMEWORK 4 SOLUTIONS CİHAN BAHRAN 1. Let v 1,..., v n R m, all lengths v are not larger than 1. Let p 1,..., p n [0, 1] be arbtrary and set w = p 1 v 1 + + p n v n. Then there exst ε 1,..., ε

More information

First day August 1, Problems and Solutions

First day August 1, Problems and Solutions FOURTH INTERNATIONAL COMPETITION FOR UNIVERSITY STUDENTS IN MATHEMATICS July 30 August 4, 997, Plovdv, BULGARIA Frst day August, 997 Problems and Solutons Problem. Let {ε n } n= be a sequence of postve

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

HMMT February 2016 February 20, 2016

HMMT February 2016 February 20, 2016 HMMT February 016 February 0, 016 Combnatorcs 1. For postve ntegers n, let S n be the set of ntegers x such that n dstnct lnes, no three concurrent, can dvde a plane nto x regons (for example, S = {3,

More information

The Study of Teaching-learning-based Optimization Algorithm

The Study of Teaching-learning-based Optimization Algorithm Advanced Scence and Technology Letters Vol. (AST 06), pp.05- http://dx.do.org/0.57/astl.06. The Study of Teachng-learnng-based Optmzaton Algorthm u Sun, Yan fu, Lele Kong, Haolang Q,, Helongang Insttute

More information

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2].

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2]. Bulletn of Mathematcal Scences and Applcatons Submtted: 016-04-07 ISSN: 78-9634, Vol. 18, pp 1-10 Revsed: 016-09-08 do:10.1805/www.scpress.com/bmsa.18.1 Accepted: 016-10-13 017 ScPress Ltd., Swtzerland

More information

find (x): given element x, return the canonical element of the set containing x;

find (x): given element x, return the canonical element of the set containing x; COS 43 Sprng, 009 Dsjont Set Unon Problem: Mantan a collecton of dsjont sets. Two operatons: fnd the set contanng a gven element; unte two sets nto one (destructvely). Approach: Canoncal element method:

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011 Stanford Unversty CS359G: Graph Parttonng and Expanders Handout 4 Luca Trevsan January 3, 0 Lecture 4 In whch we prove the dffcult drecton of Cheeger s nequalty. As n the past lectures, consder an undrected

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

On the Multicriteria Integer Network Flow Problem

On the Multicriteria Integer Network Flow Problem BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 5, No 2 Sofa 2005 On the Multcrtera Integer Network Flow Problem Vassl Vasslev, Marana Nkolova, Maryana Vassleva Insttute of

More information

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition Sngle-Faclty Schedulng over Long Tme Horzons by Logc-based Benders Decomposton Elvn Coban and J. N. Hooker Tepper School of Busness, Carnege Mellon Unversty ecoban@andrew.cmu.edu, john@hooker.tepper.cmu.edu

More information

O-line Temporary Tasks Assignment. Abstract. In this paper we consider the temporary tasks assignment

O-line Temporary Tasks Assignment. Abstract. In this paper we consider the temporary tasks assignment O-lne Temporary Tasks Assgnment Yoss Azar and Oded Regev Dept. of Computer Scence, Tel-Avv Unversty, Tel-Avv, 69978, Israel. azar@math.tau.ac.l??? Dept. of Computer Scence, Tel-Avv Unversty, Tel-Avv, 69978,

More information

Notes on Frequency Estimation in Data Streams

Notes on Frequency Estimation in Data Streams Notes on Frequency Estmaton n Data Streams In (one of) the data streamng model(s), the data s a sequence of arrvals a 1, a 2,..., a m of the form a j = (, v) where s the dentty of the tem and belongs to

More information

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016 U.C. Berkeley CS94: Spectral Methods and Expanders Handout 8 Luca Trevsan February 7, 06 Lecture 8: Spectral Algorthms Wrap-up In whch we talk about even more generalzatons of Cheeger s nequaltes, and

More information

18.1 Introduction and Recap

18.1 Introduction and Recap CS787: Advanced Algorthms Scrbe: Pryananda Shenoy and Shjn Kong Lecturer: Shuch Chawla Topc: Streamng Algorthmscontnued) Date: 0/26/2007 We contnue talng about streamng algorthms n ths lecture, ncludng

More information

Learning Theory: Lecture Notes

Learning Theory: Lecture Notes Learnng Theory: Lecture Notes Lecturer: Kamalka Chaudhur Scrbe: Qush Wang October 27, 2012 1 The Agnostc PAC Model Recall that one of the constrants of the PAC model s that the data dstrbuton has to be

More information

Kernel Methods and SVMs Extension

Kernel Methods and SVMs Extension Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general

More information

The L(2, 1)-Labeling on -Product of Graphs

The L(2, 1)-Labeling on -Product of Graphs Annals of Pure and Appled Mathematcs Vol 0, No, 05, 9-39 ISSN: 79-087X (P, 79-0888(onlne Publshed on 7 Aprl 05 wwwresearchmathscorg Annals of The L(, -Labelng on -Product of Graphs P Pradhan and Kamesh

More information

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Solutions to exam in SF1811 Optimization, Jan 14, 2015 Solutons to exam n SF8 Optmzaton, Jan 4, 25 3 3 O------O -4 \ / \ / The network: \/ where all lnks go from left to rght. /\ / \ / \ 6 O------O -5 2 4.(a) Let x = ( x 3, x 4, x 23, x 24 ) T, where the varable

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that

More information

Introduction to Algorithms

Introduction to Algorithms Introducton to Algorthms 6.046J/8.40J/SMA5503 Lecture 9 Prof. Erk Demane Shortest paths Sngle-source shortest paths Nonnegate edge weghts Djkstra s algorthm: OE + V lg V General Bellman-Ford: OVE DAG One

More information

Edge Isoperimetric Inequalities

Edge Isoperimetric Inequalities November 7, 2005 Ross M. Rchardson Edge Isopermetrc Inequaltes 1 Four Questons Recall that n the last lecture we looked at the problem of sopermetrc nequaltes n the hypercube, Q n. Our noton of boundary

More information

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7 Stanford Unversty CS54: Computatonal Complexty Notes 7 Luca Trevsan January 9, 014 Notes for Lecture 7 1 Approxmate Countng wt an N oracle We complete te proof of te followng result: Teorem 1 For every

More information

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem.

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem. prnceton u. sp 02 cos 598B: algorthms and complexty Lecture 20: Lft and Project, SDP Dualty Lecturer: Sanjeev Arora Scrbe:Yury Makarychev Today we wll study the Lft and Project method. Then we wll prove

More information

New Turnpike Theorems for the Unbounded Knapsack Problem

New Turnpike Theorems for the Unbounded Knapsack Problem New Turnpke Theorems for the Unbounded Knapsack Problem Png Hed Huang¹* and Thomas L. Morn² ¹Krannert School of Management, ²School of Industral Engneerng Purdue Unersty, West Lafayette, Indana 47907 Abstract:

More information

An Interactive Optimisation Tool for Allocation Problems

An Interactive Optimisation Tool for Allocation Problems An Interactve Optmsaton ool for Allocaton Problems Fredr Bonäs, Joam Westerlund and apo Westerlund Process Desgn Laboratory, Faculty of echnology, Åbo Aadem Unversty, uru 20500, Fnland hs paper presents

More information

Lecture 4: November 17, Part 1 Single Buffer Management

Lecture 4: November 17, Part 1 Single Buffer Management Lecturer: Ad Rosén Algorthms for the anagement of Networs Fall 2003-2004 Lecture 4: November 7, 2003 Scrbe: Guy Grebla Part Sngle Buffer anagement In the prevous lecture we taled about the Combned Input

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

A 2D Bounded Linear Program (H,c) 2D Linear Programming

A 2D Bounded Linear Program (H,c) 2D Linear Programming A 2D Bounded Lnear Program (H,c) h 3 v h 8 h 5 c h 4 h h 6 h 7 h 2 2D Lnear Programmng C s a polygonal regon, the ntersecton of n halfplanes. (H, c) s nfeasble, as C s empty. Feasble regon C s unbounded

More information

Appendix B. Criterion of Riemann-Stieltjes Integrability

Appendix B. Criterion of Riemann-Stieltjes Integrability Appendx B. Crteron of Remann-Steltes Integrablty Ths note s complementary to [R, Ch. 6] and [T, Sec. 3.5]. The man result of ths note s Theorem B.3, whch provdes the necessary and suffcent condtons for

More information

Linear Regression Analysis: Terminology and Notation

Linear Regression Analysis: Terminology and Notation ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented

More information

VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES

VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES BÂRZĂ, Slvu Faculty of Mathematcs-Informatcs Spru Haret Unversty barza_slvu@yahoo.com Abstract Ths paper wants to contnue

More information

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence) /24/27 Prevew Fbonacc Sequence Longest Common Subsequence Dynamc programmng s a method for solvng complex problems by breakng them down nto smpler sub-problems. It s applcable to problems exhbtng the propertes

More information

ECE559VV Project Report

ECE559VV Project Report ECE559VV Project Report (Supplementary Notes Loc Xuan Bu I. MAX SUM-RATE SCHEDULING: THE UPLINK CASE We have seen (n the presentaton that, for downlnk (broadcast channels, the strategy maxmzng the sum-rate

More information

Durban Watson for Testing the Lack-of-Fit of Polynomial Regression Models without Replications

Durban Watson for Testing the Lack-of-Fit of Polynomial Regression Models without Replications Durban Watson for Testng the Lack-of-Ft of Polynomal Regresson Models wthout Replcatons Ruba A. Alyaf, Maha A. Omar, Abdullah A. Al-Shha ralyaf@ksu.edu.sa, maomar@ksu.edu.sa, aalshha@ksu.edu.sa Department

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals Smultaneous Optmzaton of Berth Allocaton, Quay Crane Assgnment and Quay Crane Schedulng Problems n Contaner Termnals Necat Aras, Yavuz Türkoğulları, Z. Caner Taşkın, Kuban Altınel Abstract In ths work,

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification E395 - Pattern Recognton Solutons to Introducton to Pattern Recognton, Chapter : Bayesan pattern classfcaton Preface Ths document s a soluton manual for selected exercses from Introducton to Pattern Recognton

More information

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud Resource Allocaton wth a Budget Constrant for Computng Independent Tasks n the Cloud Wemng Sh and Bo Hong School of Electrcal and Computer Engneerng Georga Insttute of Technology, USA 2nd IEEE Internatonal

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

Using T.O.M to Estimate Parameter of distributions that have not Single Exponential Family

Using T.O.M to Estimate Parameter of distributions that have not Single Exponential Family IOSR Journal of Mathematcs IOSR-JM) ISSN: 2278-5728. Volume 3, Issue 3 Sep-Oct. 202), PP 44-48 www.osrjournals.org Usng T.O.M to Estmate Parameter of dstrbutons that have not Sngle Exponental Famly Jubran

More information

Power law and dimension of the maximum value for belief distribution with the max Deng entropy

Power law and dimension of the maximum value for belief distribution with the max Deng entropy Power law and dmenson of the maxmum value for belef dstrbuton wth the max Deng entropy Bngy Kang a, a College of Informaton Engneerng, Northwest A&F Unversty, Yanglng, Shaanx, 712100, Chna. Abstract Deng

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

Exercise Solutions to Real Analysis

Exercise Solutions to Real Analysis xercse Solutons to Real Analyss Note: References refer to H. L. Royden, Real Analyss xersze 1. Gven any set A any ɛ > 0, there s an open set O such that A O m O m A + ɛ. Soluton 1. If m A =, then there

More information

Lecture 3 January 31, 2017

Lecture 3 January 31, 2017 CS 224: Advanced Algorthms Sprng 207 Prof. Jelan Nelson Lecture 3 January 3, 207 Scrbe: Saketh Rama Overvew In the last lecture we covered Y-fast tres and Fuson Trees. In ths lecture we start our dscusson

More information

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

The optimal delay of the second test is therefore approximately 210 hours earlier than =2. THE IEC 61508 FORMULAS 223 The optmal delay of the second test s therefore approxmately 210 hours earler than =2. 8.4 The IEC 61508 Formulas IEC 61508-6 provdes approxmaton formulas for the PF for smple

More information

Generalized Linear Methods

Generalized Linear Methods Generalzed Lnear Methods 1 Introducton In the Ensemble Methods the general dea s that usng a combnaton of several weak learner one could make a better learner. More formally, assume that we have a set

More information

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty Addtonal Codes usng Fnte Dfference Method Benamn Moll 1 HJB Equaton for Consumpton-Savng Problem Wthout Uncertanty Before consderng the case wth stochastc ncome n http://www.prnceton.edu/~moll/ HACTproect/HACT_Numercal_Appendx.pdf,

More information

where a is any ideal of R. Lemma 5.4. Let R be a ring. Then X = Spec R is a topological space Moreover the open sets

where a is any ideal of R. Lemma 5.4. Let R be a ring. Then X = Spec R is a topological space Moreover the open sets 5. Schemes To defne schemes, just as wth algebrac varetes, the dea s to frst defne what an affne scheme s, and then realse an arbtrary scheme, as somethng whch s locally an affne scheme. The defnton of

More information

Chapter Newton s Method

Chapter Newton s Method Chapter 9. Newton s Method After readng ths chapter, you should be able to:. Understand how Newton s method s dfferent from the Golden Secton Search method. Understand how Newton s method works 3. Solve

More information

COS 521: Advanced Algorithms Game Theory and Linear Programming

COS 521: Advanced Algorithms Game Theory and Linear Programming COS 521: Advanced Algorthms Game Theory and Lnear Programmng Moses Charkar February 27, 2013 In these notes, we ntroduce some basc concepts n game theory and lnear programmng (LP). We show a connecton

More information

arxiv: v1 [math.co] 1 Mar 2014

arxiv: v1 [math.co] 1 Mar 2014 Unon-ntersectng set systems Gyula O.H. Katona and Dánel T. Nagy March 4, 014 arxv:1403.0088v1 [math.co] 1 Mar 014 Abstract Three ntersecton theorems are proved. Frst, we determne the sze of the largest

More information

Minimum Activation Cost Edge-Disjoint Paths in Graphs with Bounded Tree-Width

Minimum Activation Cost Edge-Disjoint Paths in Graphs with Bounded Tree-Width Mnmum Actvaton Cost Edge-Dsont Paths n Graphs wth Bounded Tree-Wdth Hasna Mohsen Alqahtan (B) and Thomas Erlebach Department of Computer Scence, Unversty of Lecester, Lecester, UK {hmha1,terlebach}@lecester.ac.uk

More information

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS Avalable onlne at http://sck.org J. Math. Comput. Sc. 3 (3), No., 6-3 ISSN: 97-537 COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

More information

A SURVEY OF PROPERTIES OF FINITE HORIZON DIFFERENTIAL GAMES UNDER ISAACS CONDITION. Contents

A SURVEY OF PROPERTIES OF FINITE HORIZON DIFFERENTIAL GAMES UNDER ISAACS CONDITION. Contents A SURVEY OF PROPERTIES OF FINITE HORIZON DIFFERENTIAL GAMES UNDER ISAACS CONDITION BOTAO WU Abstract. In ths paper, we attempt to answer the followng questons about dfferental games: 1) when does a two-player,

More information

On the Repeating Group Finding Problem

On the Repeating Group Finding Problem The 9th Workshop on Combnatoral Mathematcs and Computaton Theory On the Repeatng Group Fndng Problem Bo-Ren Kung, Wen-Hsen Chen, R.C.T Lee Graduate Insttute of Informaton Technology and Management Takmng

More information

Introduction to Algorithms

Introduction to Algorithms Introducton to Algorthms 6.046J/8.40J LECTURE 6 Shortest Paths III All-pars shortest paths Matrx-multplcaton algorthm Floyd-Warshall algorthm Johnson s algorthm Prof. Charles E. Leserson Shortest paths

More information

EEE 241: Linear Systems

EEE 241: Linear Systems EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they

More information

Lecture Randomized Load Balancing strategies and their analysis. Probability concepts include, counting, the union bound, and Chernoff bounds.

Lecture Randomized Load Balancing strategies and their analysis. Probability concepts include, counting, the union bound, and Chernoff bounds. U.C. Berkeley CS273: Parallel and Dstrbuted Theory Lecture 1 Professor Satsh Rao August 26, 2010 Lecturer: Satsh Rao Last revsed September 2, 2010 Lecture 1 1 Course Outlne We wll cover a samplng of the

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

The lower and upper bounds on Perron root of nonnegative irreducible matrices

The lower and upper bounds on Perron root of nonnegative irreducible matrices Journal of Computatonal Appled Mathematcs 217 (2008) 259 267 wwwelsevercom/locate/cam The lower upper bounds on Perron root of nonnegatve rreducble matrces Guang-Xn Huang a,, Feng Yn b,keguo a a College

More information

Hidden Markov Models

Hidden Markov Models Hdden Markov Models Namrata Vaswan, Iowa State Unversty Aprl 24, 204 Hdden Markov Model Defntons and Examples Defntons:. A hdden Markov model (HMM) refers to a set of hdden states X 0, X,..., X t,...,

More information

A New Algorithm for Finding a Fuzzy Optimal. Solution for Fuzzy Transportation Problems

A New Algorithm for Finding a Fuzzy Optimal. Solution for Fuzzy Transportation Problems Appled Mathematcal Scences, Vol. 4, 200, no. 2, 79-90 A New Algorthm for Fndng a Fuzzy Optmal Soluton for Fuzzy Transportaton Problems P. Pandan and G. Nataraan Department of Mathematcs, School of Scence

More information

Distance Three Labelings of Trees

Distance Three Labelings of Trees Dstance Three Labelngs of Trees Jří Fala Petr A. Golovach Jan Kratochvíl Bernard Ldcký Danël Paulusma Abstract An L(2, 1, 1)-labelng of a graph G assgns nonnegatve ntegers to the vertces of G n such a

More information

Clustering Affine Subspaces: Algorithms and Hardness

Clustering Affine Subspaces: Algorithms and Hardness Clusterng Affne Subspaces: Algorthms and Hardness Thess by Euwoong Lee In Partal Fulfllment of the Requrements for the Degree of Master of Scence Calforna Insttute of Technology Pasadena, Calforna 01 (Submtted

More information

Single-machine scheduling with trade-off between number of tardy jobs and compression cost

Single-machine scheduling with trade-off between number of tardy jobs and compression cost Ths s the Pre-Publshed Verson. Sngle-machne schedulng wth trade-off between number of tardy jobs and compresson cost 1, 2, Yong He 1 Department of Mathematcs, Zhejang Unversty, Hangzhou 310027, P.R. Chna

More information

Interactive Bi-Level Multi-Objective Integer. Non-linear Programming Problem

Interactive Bi-Level Multi-Objective Integer. Non-linear Programming Problem Appled Mathematcal Scences Vol 5 0 no 65 3 33 Interactve B-Level Mult-Objectve Integer Non-lnear Programmng Problem O E Emam Department of Informaton Systems aculty of Computer Scence and nformaton Helwan

More information

MMA and GCMMA two methods for nonlinear optimization

MMA and GCMMA two methods for nonlinear optimization MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons

More information

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng

More information

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem H.K. Pathak et. al. / (IJCSE) Internatonal Journal on Computer Scence and Engneerng Speedng up Computaton of Scalar Multplcaton n Ellptc Curve Cryptosystem H. K. Pathak Manju Sangh S.o.S n Computer scence

More information

Valuated Binary Tree: A New Approach in Study of Integers

Valuated Binary Tree: A New Approach in Study of Integers Internatonal Journal of Scentfc Innovatve Mathematcal Research (IJSIMR) Volume 4, Issue 3, March 6, PP 63-67 ISS 347-37X (Prnt) & ISS 347-34 (Onlne) wwwarcournalsorg Valuated Bnary Tree: A ew Approach

More information

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling Real-Tme Systems Multprocessor schedulng Specfcaton Implementaton Verfcaton Multprocessor schedulng -- -- Global schedulng How are tasks assgned to processors? Statc assgnment The processor(s) used for

More information

How to Cope with NP-Completeness

How to Cope with NP-Completeness How to Cope wth NP-Completeness Kurt Mehlhorn June 12, 2013 NP-complete problems arse frequently n practce. In today s lecture, we dscuss varous approaches for copng wth NP-complete problems. When NP-completeness

More information

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming EEL 6266 Power System Operaton and Control Chapter 3 Economc Dspatch Usng Dynamc Programmng Pecewse Lnear Cost Functons Common practce many utltes prefer to represent ther generator cost functons as sngle-

More information

Min Cut, Fast Cut, Polynomial Identities

Min Cut, Fast Cut, Polynomial Identities Randomzed Algorthms, Summer 016 Mn Cut, Fast Cut, Polynomal Identtes Instructor: Thomas Kesselhem and Kurt Mehlhorn 1 Mn Cuts n Graphs Lecture (5 pages) Throughout ths secton, G = (V, E) s a mult-graph.

More information

Linearity. If kx is applied to the element, the output must be ky. kx ky. 2. additivity property. x 1 y 1, x 2 y 2

Linearity. If kx is applied to the element, the output must be ky. kx ky. 2. additivity property. x 1 y 1, x 2 y 2 Lnearty An element s sad to be lnear f t satsfes homogenety (scalng) property and addte (superposton) property. 1. homogenety property Let x be the nput and y be the output of an element. x y If kx s appled

More information

Case A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k.

Case A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k. THE CELLULAR METHOD In ths lecture, we ntroduce the cellular method as an approach to ncdence geometry theorems lke the Szemeréd-Trotter theorem. The method was ntroduced n the paper Combnatoral complexty

More information

Lecture 2: Gram-Schmidt Vectors and the LLL Algorithm

Lecture 2: Gram-Schmidt Vectors and the LLL Algorithm NYU, Fall 2016 Lattces Mn Course Lecture 2: Gram-Schmdt Vectors and the LLL Algorthm Lecturer: Noah Stephens-Davdowtz 2.1 The Shortest Vector Problem In our last lecture, we consdered short solutons to

More information

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule: 15-745 Lecture 6 Data Dependence n Loops Copyrght Seth Goldsten, 2008 Based on sldes from Allen&Kennedy Lecture 6 15-745 2005-8 1 Common loop optmzatons Hostng of loop-nvarant computatons pre-compute before

More information

Amusing Properties of Odd Numbers Derived From Valuated Binary Tree

Amusing Properties of Odd Numbers Derived From Valuated Binary Tree IOSR Journal of Mathematcs (IOSR-JM) e-iss: 78-578, p-iss: 19-765X. Volume 1, Issue 6 Ver. V (ov. - Dec.016), PP 5-57 www.osrjournals.org Amusng Propertes of Odd umbers Derved From Valuated Bnary Tree

More information