TheHow and Why of Having a Successful Home Office

Size: px
Start display at page:

Download "TheHow and Why of Having a Successful Home Office"

Transcription

1 Near Optal Onlne Algorths and Fast Approxaton Algorths for Resource Allocaton Probles Nkhl R Devanur Kaal Jan Balasubraanan Svan Chrstopher A Wlkens Abstract We present algorths for a class of resource allocaton probles both n the onlne settng wth stochastc nput and n the offlne settng Ths class of probles contans any nterestng specal cases such as the Adwords proble In the onlne settng we ntroduce a new dstrbutonal odel called the adversaral stochastc nput odel, whch s a generalzaton of the d odel wth unknown dstrbutons, where the dstrbutons can change over te In ths odel we gve a 1 O approxaton algorth for the resource allocaton proble, wth alost the weakest possble assupton: the rato of the axu aount of resource consued by any sngle request to the total capacty of the resource, and the rato of the proft contrbuted by any sngle request to the optal proft s at ost O 2 logn/ where n s the nuber of resources avalable There are nstances where ths rato s 2 / log n such that no randozed algorth can have a copettve rato of 1 o even n the d odel The upper bound on rato that we requre proves on the prevous upper-bound for the d case by a factor of n Our proof technque also gves a very sple proof that the greedy algorth has a copettve rato of 1 1/e for the Adwords proble n the d odel wth unknown dstrbutons, and ore generally n the adversaral stochastc nput odel, when there s no bound on the bd to budget rato All the prevous proofs assue that ether bds are very sall copared to budgets or soethng very slar to ths In the offlne settng we gve a fast algorth to solve very large LPs wth both packng and coverng constrants We gve algorths to approxately solve wthn a factor of 1 + the xed packng-coverng proble wth γ logn/δ 2 O oracle calls where the constrant atrx of ths LP has denson n, the success probablty of the algorth s 1 δ, and γ s a paraeter whch s very slar to the rato descrbed for the onlne settng We dscuss several applcatons, and how our algorths prove exstng results n soe of these applcatons Mcrosoft Research, 1 Mcrosoft Way, Redond Eal: nkdev@crosoftco Mcrosoft Research, 1 Mcrosoft Way, Redond Eal: kaalj@crosoftco Coputer Scences Dept, Unversty of Wsconsn-Madson Eal: balu2901@cswscedu Part of ths work was done whle the author was at Mcrosoft Research, Redond Coputer Scence Dvson, Unversty of Calforna at Berkeley Eal: cwlkens@csberkeleyedu Part of ths work was done whle the author was at Mcrosoft Research, Redond

2 1 Introducton The results n ths paper fall nto dstnct categores of copettve algorths for onlne probles and fast approxaton algorths for offlne probles We have two an results n the onlne fraework and one result n the offlne settng However they all share coon technques There has been an ncreasng nterest n onlne algorths otvated by applcatons to onlne advertsng The ost well known s the Adwords proble ntroduced by Mehta et al [MSVV05], where the algorth needs to assgn keywords arrvng onlne to bdders to axze proft, subject to budget constrants for the bdders The proble has been analyzed n the tradtonal fraework for onlne algorths: worst-case copettve analyss As wth any onlne probles, the worst-case copettve analyss s not entrely satsfactory and there has been a drve n the last few years to go beyond the worst-case analyss The predonant approach has been to assue that the nput satsfes soe stochastc property For nstance the rando perutaton odel ntroduced by Goel and Mehta [GM08] assues that the adversary pcks the set of keywords, but the order n whch the keywords arrve s chosen unforly at rando A closely related odel s the d odel: assue that the keywords are d saples fro a fxed dstrbuton, whch s unknown to the algorth Stronger assuptons such as d saples fro a known dstrbuton have also been consdered Frst Result A key paraeter on whch any of the algorths for Adwords depend s the bd to budget rato For nstance n Mehta et al [MSVV05] and Buchbnder, Jan and Naor [BJN07] the algorth acheves a worst case copettve rato that tends to 1 1/e as the bd to budget rato let s call t γ tends to 0 1 1/e s also the best copettve rato that any randozed algorth can acheve n the worst case Devanur and Hayes [DH09] showed that n the rando perutaton odel, the copettve rato tends to 1 as γ tends to 0 Ths result showed that copettve rato of algorths n stochastc odels could be uch better than that of algorths n the worst case The portant queston snce then has been to deterne the optal trade-off between γ and the copettve rato [DH09] showed how to get a 1- O copettve rato when γ s at ost O 3 n logn/ where n s the nuber of advertsers and s the nuber of keywords Subsequently Agrawal, Wang and Ye [AWY09] proved the bound on γ to O 2 n log/ The papers of Feldan et al [FHK + 10] and Agrawal, Wang and Ye [AWY09] have also shown that the technque of [DH09] can be extended to other onlne probles The frst an result n ths paper s the followng 3-fold proveent of prevous results: Theores We gve an algorth whch proves the bound on γ to O 2 logn/ Ths s alost optal; we show a lower bound of 2 logn 2 The bound apples to a ore general odel of stochastc nput, called the adversaral stochastc nput odel Ths s a generalzaton of the d odel wth unknown dstrbuton, but s ncoparable to the rando perutaton odel 3 It apples to a ore general class of onlne probles that we call the resource allocaton fraework A foral defnton of the fraework s presented n Secton 22 and a dscusson of any nterestng specal cases s presented n Secton 7 Regardng the bound on γ, the reoval of the factor of n s sgnfcant Consder for nstance the Adwords proble and suppose that the bds are all n [0,1] The earler bound ples that the budgets need to be of the order of n/ 2 n order to get a 1 copettve algorth, where n s the nuber of advertsers Wth realstc values for these paraeters, t sees unlkely that ths condton would be et Whle wth the proved bounds presented n ths paper, we only need the budget to be of the order of log n/ 2 and ths condton s et for reasonable values of the paraeters Furtherore, n the resource allocaton fraework, the current hghest upper bound on γ s fro Agrawal, Wang and Here k s the nuber of avalable optons see Secton 22 and n typcal applcatons lke network routng, k could be exponental n n, and thus, the factor saved by our algorth becoes quadratc n n We note here that so far, all the algorths for the d odel wth unknown dstrbuton were actually desgned for the rando perutaton odel It sees that any algorth that works for one should also work for the other However Ye [AWY09] and equals O 2 n logk/ 1

3 we can only show that our algorth works n the d odel, so the natural queston s f our algorth works for the rando perutaton odel It would be very surprsng f t ddn t One drawback of the stochastc odels consdered so far s that they are te nvarant, that s the nput dstrbuton does not change over te The adversaral stochastc nput odel allows the nput dstrbuton to change over te The odel s as follows: n every step the adversary pcks a dstrbuton, possbly adaptvely dependng on what the algorth has done so far, and the actual keyword n that step s drawn fro ths dstrbuton The copettve rato s defned wth respect to the optu fractonal soluton for an offlne nstance of the proble, called the dstrbuton nstance, whch s defned by the dstrbuton In Secton 22, where we defne the dstrbuton nstance, we also prove that the optal fractonal soluton for the dstrbuton nstance s at least as good as the coonly used benchark of expected value of optal fractonal soluton, where the expectaton s wth respect to the dstrbuton A detaled descrpton of ths odel, how the adversary s constraned to pck ts dstrbutons and how t dffers fro the worst-case odel s presented n Secton 22 Second Result Another portant open proble s to prove the copettve rato for the Adwords proble when there s no bound on γ The best copettve rato known for ths proble s 1/2 n the worst case Nothng better was known, even n the stochastc odels For the specal case of onlne bpartte atchng, n the case of d nput wth a known dstrbuton, recent seres of results acheve a rato of better than 1-1/e, for nstance by Feldan et al [FMMM09] and Bahan and Kapralov [BK10] The best rato so far s 702 by Manshad, Gharan and Saber [MGS11] The sae onlne bpartte atchng has been recently studed n the rando perutaton odel by Mahdan and Yan [MY11] and by Karande, Mehta and Trpath [KMT11] The best rato so far s 0696 by Mahdan and Yan [MY11] The second result n ths paper s that for the Adwords proble n the adversaral stochastc nput odel, wth no assupton on γ, the greedy algorth gets a copettve rato of 1 1/e aganst the optal fractonal soluton to the dstrbuton nstance Theore 5 The greedy algorth s partcularly nterestng snce t s a natural algorth that s used wdely for ts splcty Because of ts wde use, prevously the perforance of the greedy algorth has been analyzed by Goel and Mehta [GM08] who showed that n the rando perutaton and the d odels, t has a copettve rato of 1 1/e wth an assupton whch s essentally that γ tends to 0 Thrd Result Charles et al [CCD + 10] consdered the followng offlne proble: gven a lopsded bpartte graph G = L, R, E, that s a bpartte graph where = L R = n, does there exst an assgnent M : L R wth j, Mj E for all j L, and such that for every vertex R, M 1 B for soe gven values B Even though ths s a classc proble n cobnatoral optzaton wth well known polynoal te algorths, the nstances of nterest are too large to use tradtonal approaches to solve ths proble The value of n partcular s very large The approach used by [CCD + 10] was to essentally desgn an onlne algorth n the d odel: choose vertces fro L unforly at rando and assgn the to vertces n R n an onlne fashon The onlne algorth s guaranteed to be close to optal, as long as suffcently any saples are drawn Therefore t can be used to solve the orgnal proble approxately: the onlne algorth gets an alost satsfyng assgnent f and only f the orgnal graph has a satsfyng assgnent wth hgh probablty The thrd result n ths paper s a generalzaton of ths result to get fast approxaton algorths for a wde class of probles n the resource allocaton fraework Theore 6 Probles n the resource allocaton fraework where the nstances are too large to use tradtonal algorths occur farly often, especally n the context of onlne advertsng Foral stateents and a ore detaled dscusson are presented n Secton 23 The underlyng dea used for all these results can be suarzed at a hgh level as thus: consder a hypothetcal algorth called Pure-rando that knows the dstrbuton fro whch the nput s drawn and uses an optal soluton wrt ths dstrbuton Now suppose that we can analyze the perforance of Pure-rando by consderng a potental functon and showng that t decreases by a certan aount n each step Now we can desgn an algorth that does not know the dstrbuton as follows: consder the sae potental functon, and n every step choose the opton that nzes the potental functon Snce the algorth nzes the potental n each step, the decrease n the potental for ths algorth s better than that for Pure-rando and hence we obtan the sae guarantee as that for Pure-rando For nstance, for the case where γ s sall, the perforance of Pure-rando s analyzed usng Chernoff bounds The Chernoff bounds are proven by showng bounds on the expectaton of the oent generatng functon of a rando varable Thus the potental functon s the su of the oent generatng functons for all the rando varables that we apply the Chernoff bounds to The proof shows that n each step ths potental functon decreases by soe ultplcatve 2

4 factor The algorth s then desgned to acheve the sae decrease n the potental functon A partcularly pleasng aspect about ths technque s that we obtan very sple proofs For nstance, the proof of Theore 5 s extreely sple: the potental functon n ths case s sply the total aount of unused budgets and we show that ths aount n expectaton decreases by a factor of 1 1/ n each step where there are steps n all On the surface, ths technque and the resultng algorths 1 bear a close reseblance to the algorths of Young [You95] for derandozng randozed roundng and the fast approxaton algorths for solvng coverng/packng LPs of Plotkn, Shoys and Tardos [PST91], Garg and Köneann [GK98] and Flescher [Fle00] In fact Arora, Hazan and Kale [AHK05] showed that all these algorths are related to the ultplcatve weghts update ethod for solvng the experts proble and especally hghlghted the slarty between the potental functon used n the analyss of the ultplcatve update ethod and the oent generatng functon used n the proof of Chernoff bounds and Young s algorths Hence t s no surprse that our algorth s also a ultplcatve update algorth It sees that our algorth s closer n sprt to Young s algorths than others It s possble that our algorth can also be nterpreted as an algorth for the experts proble In fact Mehta et al [MSVV05] asked f there s a 1 o1 copettve algorth for Adwords n the d odel wth sall bd to budget rato, and n partcular f the algorths for experts could be used They also conjectured that such an algorth would teratvely adjust a budget dscount factor based on the rate at whch the budget s spent Our algorths for resource allocaton proble when specalzed for Adwords look exactly lke that and wth the connectons to the experts fraework, we answer the questons n [MSVV05] n the postve Organzaton The rest of the paper s organzed as follows In Secton 2, we defne the resource allocaton fraework, the adversaral stochastc odel and state our results forally as theores We also dscuss one specal case of the resource allocaton fraework the adwords proble and forally state our results In Secton 3, we consder a splfed n-ax verson of the resource allocaton fraework and present the proofs for ths verson The other results buld upon ths sple verson In Secton 4 we gve a fast approxaton algorth for the xed coverngpackng proble Theore 6 The 1 O copettve onlne algorth for the resource allocaton fraework wth stochastc nput Theore 2 s n Secton 5 The 1 1/e copettve algorth Theore 5 for the Adwords proble s n Secton 6 Several specal cases of the resource allocaton fraework are consdered n Secton 7 Secton 8 concludes wth soe open probles and drectons for future research 2 Prelnares & Man Results 21 Resource allocaton fraework We consder the followng fraework of optzaton probles There are n resources, wth resource havng a capacty of c There are requests; each request j can be satsfed by a vector x j that s constraned to be n a polytope P j We refer to the vector x j as an opton to satsfy a request, and the polytope P j as the set of optons The vector x j consues a,j x j aount of resource, and gves a proft of w j x j Note that a,j, w j and x j are all vectors The objectve s to axze the total proft subject to the capacty constrants on the resources The followng LP descrbes the proble: axze j w j x j st, j a,j x j c j, x j P j We assue that we have the followng oracle avalable to us: gven a request j and a vector v, the oracle returns { a,jx the vector x j that axzes vx j aong all vectors n P j Let γ = ax j c },j { w jx j W be the noton }j correspondng to the bd to budget rato for Adwords Here W s the optal offlne objectve to the dstrbuton nstance, defned n Secton 22 1 For the case of sall γ It s not clear f ths dscusson apples to the case of large γ, that s to Theore 5 3

5 The canoncal case s where each P j s a unt splex n R K, e P j = {x j R K : k x j,k = 1} Ths captures the case where there are K dscrete optons, each wth a gven proft and consupton Ths case captures ost of the applcatons we are nterested n, whch are descrbed n Secton 7 All the proofs wll be presented for ths specal case, for ease of exposton The co-ordnates of the vectors a,j and w j wll be denoted by a, j, k and w j,k respectvely, e, the k th opton consues a, j, k aount of resource and gves a proft of w j,k For an exaple of an applcaton that needs ore general polytopes see Secton 75 We consder two versons of the above proble The frst s an onlne verson wth stochastc nput: requests are drawn fro an unknown dstrbuton The second s when the nuber of requests s uch larger than the nuber of resources, and our goal s to desgn a fast PTAS for the proble 22 Onlne Algorths wth Stochastc Input We now consder an onlne verson of the resource allocaton fraework Here requests arrve onlne We consder the d odel, where each request s drawn ndependently fro a gven dstrbuton The dstrbuton s unknown to the algorth The algorth knows, the total nuber of requests The copettve ratos we gve for resource allocaton probles wth bounded γ are wth respect to an upper bound on the expected value of fractonal optal soluton, naely, the fractonal optal soluton of the dstrbuton nstance, defned below Consder the followng dstrbuton nstance of the proble It s an offlne nstance defned for any gven dstrbuton over requests and the total nuber of requests The capactes of the resources n ths nstance are the sae as n the orgnal nstance Every request n the support of the dstrbuton s also a request n ths nstance Suppose request j occurs wth probablty p j The resource consupton of j n the dstrbuton nstance s gven by p j a,j for all and the proft s p j w j The ntuton s that f the requests were drawn fro ths dstrbuton then the expected nuber of tes request j s seen s p j and ths s represented n the dstrbuton nstance by scalng the consupton and the proft vectors by p j To suarze, the dstrbuton nstance s as follows axze p j w j x j st j n the support, j p j a,j x j c j, x j P j We now prove that the fractonal optal soluton to the dstrbuton nstance s an upper bound on the expectaton of OPT, where OPT s the offlne fractonal optu of the actual sequence of requests Lea 1 OPT[Dstrbuton nstance] E[OPT] Proof: The average of optal solutons for all possble sequences of requests should gve a feasble soluton to the dstrbuton nstance wth a proft equal to E[OPT] Thus the optal proft for the dstrbuton nstance could only be larger The copettve rato of an algorth n the d odel s defned as the rato of the expected proft of the algorth to the fractonal optal proft for the dstrbuton nstance The an result s that as γ tends to zero, the copettve rato tends to 1 In fact, we gve the alost optal trade-off Theore 2 For any > 0, we gve an algorth such that f γ = O algorth s 1 O Theore 3 There exst nstances wth γ = 2 logn/ then the copettve rato of the 2 logn such that no algorth can get a copettve rato of 1 o2 Also, our algorth works when the polytope P j s obtaned as an LP relaxaton of the actual proble 3 To be precse, suppose that the set of optons that could be used to satsfy a gven request corresponds to soe set of vectors, 2 The proof of ths theore s obtaned by a odfcaton of a slar theore for rando perutatons presented n [AWY09] 3 There ay be trval ways of defnng P j such that ts vertces correspond to the actual optons The otvaton for allowng non-trval relaxatons s coputatonal: recall that we need to be able to optze lnear functons over P j 4

6 say I j Let the polytope P j I j be an α approxate relaxaton of I j f for the proft vector w j and for all x j P j, there s an oracle that returns a y j I j such that w j y j αw j x j Gven such an oracle, our algorth acheves a copettve rato of α O Theore 4 Gven a resource allocaton proble wth an α approxate relaxaton, and for any > 0, we gve an algorth such that f γ = O then the copettve rato of the algorth s α O 2 logn/ Proof:Sketch Consder the proble n the resource allocaton fraework defned by the relaxaton, that s request j can actually be satsfed by the polytope P j The optal soluton to the relaxaton s an upper bound on the optal soluton to the orgnal proble Now run Algorth 1 on the relaxaton, and when the algorth pcks a vector x j to serve request j, use the roundng oracle to round t to a soluton y j and use ths soluton Snce the sequence of x j s pcked by the algorth are wthn 1 O of the optu for the relaxaton, and for all j w j y j αw j x j, ths algorth s α1 O copettve In fact, our results hold for the followng ore general odel, the adversaral stochastc nput odel In each step, the adversary adaptvely chooses a dstrbuton fro whch the request n that step s drawn The adversary s constraned to pck the dstrbutons n one of the followng two ways In the frst case, we assue that a target objectve value OPT T s gven to the algorth 4, and that the adversary s constraned to pck dstrbutons such that the fractonal optu soluton of each of the correspondng dstrbuton nstances s at least OPT T or at ost OPT T for nzaton probles The copettve rato s defned wth respect to OPT T In the second case, we are not gven a target, but the adversary s constraned to pck dstrbutons so that the fractonal optu of each of the correspondng dstrbuton nstances s the sae, whch s the benchark wth respect to whch the copettve rato s defned Note that whle the d odel can be reduced to the rando perutaton odel, these generalzatons are ncoparable to the rando perutaton odel as they allow the nput to vary over te Also the constrant that each of the dstrbuton nstances has a large optu value dstngushes ths fro the worst-case odel Ths constrant n general ples that the dstrbuton ust contan suffcently rch varety of requests n order for the correspondng dstrbuton nstance to have a hgh optu To truly sulate the worst-case odel, n every step the adversary would chose a deternstc dstrbuton, that s a dstrbuton supported on a sngle request Then the dstrbuton nstance wll sply have copes of ths sngle request and hence wll not have a hgh optu For nstance consder onlne bpartte b-atchng where each resource s a node on one sde of a bpartte graph wth the capacty c denotng the nuber of nodes t can be atched to and the requests are nodes on the other sde of the graph and can be atched to at ost one node A deternstc dstrbuton n ths case corresponds to a sngle onlne node and f that node s repeated tes then the optu for that nstance s just the weghted by c degree of that node If the adversary only pcks such deternstc dstrbutons then he s constraned to pck nodes of very hgh degree thus akng t easy for the algorth to atch the We refer the reader to Secton 7 for a dscusson on several probles that are specal cases of the resource allocaton fraework and have been prevously consdered Here, we dscuss one specal case the adwords proble 221 The Adwords proble In the d Adwords proble, there are n bdders, and each bdder has a daly budget of B dollars Keywords arrve onlne wth keyword j havng an unknown probablty p j of arrvng n any gven step For every keyword j, each bdder subts a bd, b j, whch s the proft obtaned by the algorth on allocatng keyword j to bdder The objectve s to axze the proft, subject to the constrant that no bdder s charged ore than hs budget Here, the resources are the daly budgets of the bdders, the requests are the keywords, and the optons are once agan the bdders The aount of resource consued and the proft are both b j For ths proble, wth no bounds on γ, we show that the greedy algorth has a copettve rato of 1 1/e For our results for the adwords proble wth bounded γ, see Secton 71 Theore 5 The greedy algorth acheves a copettve rato of 1 1/e for the Adwords proble n the adversaral stochastc nput odel wth no assuptons on the bd to budget rato We note here that the copettve rato of 1 1/e s tght for the greedy algorth [GM08] It s however not known to be tght for an arbtrary algorth { } { 4 a,j x In ths case, we requre γ = ax j c wj x j,j OPT, e, OPT T takes the place of W T }j n the defnton of γ 5

7 23 Fast algorths for very large LPs Charles et al [CCD + 10] consder the followng proble: gven a bpartte graph G = L, R, E where = L R = n, does there exst an assgnent M : L R wth j, Mj E for all j L, and such that for every vertex R, M 1 B for soe gven values B They gave an algorth that runs n te lnear 5 n the nuber of edges of an nduced subgraph obtaned by takng a rando saple fro R of sze O log n n {B } 2, for a gap-verson of the proble wth gap When n {B } s reasonably large, such an algorth s very useful n a varety of applcatons nvolvng ad assgnent for onlne advertsng We consder a generalzaton of the above proble that corresponds to the resource allocaton fraework In fact, we consder the followng xed coverng-packng proble Suppose that there are n 1 packng constrants, one for each {1n 1 } of the for j=1 a,jx j c and n 2 coverng constrants, one for each {1n 2 } of the for j=1 b,jx j d Each x j s constraned to be n P j Does there exsts a feasble soluton to ths syste of constrants? The gap-verson of ths proble s as follows Dstngush between the two cases, wth a hgh probablty, say 1 δ: YES: There s a feasble soluton NO: There s no feasble soluton even f all of the c s are ultpled by 1 + and all of the d s s ultpled by 1 We note that solvng offlne an optzaton proble n the resource allocaton fraework can be reduced to the above proble through a bnary search on the objectve functon value Suppose as n [CCD + 10] that s uch larger than n Assue that solvng the followng costs unt te: gven j and v, fnd x j P j that axzes vx j Let γ = ax{ [n 1 ], j [] : a,jxj c } { [n 2 ], j [] : b,jxj d } Theore 6 For any > 0, there s an algorth that solves the gap verson of the xed coverng-packng proble wth a runnng te of O γ logn/δ 2 Applcatons to onlne advertsng: The atchng proble ntroduced by [CCD + 10] was otvated by the proble of coputng the avalable nventory for dsplay ad allocaton see the orgnal paper for detals In fact, the atchng proble was a splfed verson of the real proble, whch fts nto the resource allocaton fraework Moreover, such algorths are used n ultple ways For nstance, although the technque of Devanur and Hayes [DH09] was orgnally desgned to solve the purely onlne proble, t can be used n the PAC odel where the algorth can ake use of a predcton of the future arrval of requests see for nstance Vee, Vasslvtsk and Shanugasundara [VVS10] The key technque s to forulate an LP relaxaton of the proble and learn the optal dual varables usng the predcton, and these duals can then be used for the allocaton onlne Even f the predcton s not entrely accurate, we note that such an approach has certan advantages Ths otvates the proble of fndng the optal duals We observe that our algorth can also be used to copute near optal duals whch can then be used to do the allocaton onlne Many probles for nstance the Dsplay ad allocaton proble can beneft fro such an algorth A slar approach was consdered by Abras, Mendelevtch and Toln [AMT07] for the followng proble otvated by sponsored search auctons: for each query j, one can show an advertser n each of the K slots Each advertser bds a certan aount on each query j, and has a daly budget However, the cost to an advertser depends on the entre ordered set of advertsers shown called a slate, based on the rules of the aucton Gven the set of queres that arrve n a day whch n practce s an estate of the queres expected rather than the actual queres, the goal s to schedule a slate of advertsers for each query such that the total cost to each advertser s wthn the budget and axze a gven objectve such as the total revenue, or the socal welfare Ths proble s odeled as an LP and a colun-generaton approach s suggested to solve t Also, any coproses are ade, n ters of ltng the nuber of queres, etc due to the dffcultes n solvng an LP of very large sze We observe that ths LP fts n the resource allocaton fraework and thus can be solved quckly usng our algorth Chernoff bounds We present here the for of Chernoff bounds that we use throughout the rest of ths paper Let X = X, where X [0, B] are d rando varables Let E[X] = µ Then, for all > 0, 2 µ Pr[X < µ1 ] < exp 2B 5 In fact, the algorth akes a sngle pass through ths graph 6

8 Consequently, for all δ > 0, wth probablty at least 1 δ, Slarly, for all [0, 2e 1], X µ 2µB ln1/δ Pr[X > µ1 + ] < exp 2 µ 4B Consequently, for all δ > exp 2e 12 µ 4B, wth probablty at least 1 δ, 3 Mn-Max verson X µ 4µB ln1/δ In ths secton, we solve a slghtly splfed verson of the general onlne resource allocaton proble, whch we call the n-ax verson In ths proble, requests arrve onlne, and each of the ust be served The objectve s to nze the axu fracton of any resource consued There s no proft The followng LP descrbes t forally nze λ st, j,k j, k a, j, kx j,k λc x j,k = 1, j, k, x j,k 0 For ease of llustraton, we assue that the requests arrve d unknown dstrbuton n the followng proof At the end of ths secton, we show that the proof holds for the adversaral stochastc nput odel also The algorth proceeds n steps Let λ denote the fractonal optal objectve value of the dstrbuton nstance of ths proble Let X t be the rando varable ndcatng the aount of resource consued durng step t, that s, X t = a, j, k f n step t, request j was chosen and was served usng opton k Let S T = T t=1 Xt be the total aount of resource consued n the frst T steps Let γ = ax,j { a,j,k c }, whch ples that for all, j and k, a, j, k γc Let φ t = 1 + St /γc For the sake of convenence, we let S 0 = 0 and φ 0 = 1 for all The algorth s as follows ALG Mn-ax In step t + 1, on recevng request j, use opton arg n k { } a,j,kφ t c Lea 7 For any 0, 1], The algorth ALG Mn-ax descrbed above approxates λ wthn a factor of 1+, wth a probablty at least 1 δ, where δ = n exp 2 λ 4γ We wll prove Lea 7 through a seres of leas, naely Leas 8, 9 and 10 Before we begn the proof, we gve soe ntuton Consder a hypothetcal algorth, call t Pure-rando, that knows the dstrbuton Let x j denote the optal fractonal soluton to the dstrbuton nstance Pure-rando s a non-adaptve algorth whch uses x j to satsfy request j, e, t serves request j usng opton k wth probablty x jk Suppose we wanted to prove a bound on the perforance of Pure-rando, that s show that wth hgh probablty, Pure-rando s wthn 1 + O of the optu, say λ Ths can be done usng Chernoff bounds: for each resource separately bound the probablty that the total consupton s ore than λ c 1 + O usng Chernoff bounds and take a unon bound Note that the Chernoff bounds are shown by provng an upper bound on the expectaton of the oent generatng functon of the rando varables If we could show the sae bound for our algorth, then we would be done Let φ t = φt We wsh to upper bound the expectaton of φ t+1 Consder the state of the algorth after the frst t steps Let X denote the aount of resource consued n step t + 1 had we served the request at step t + 1 usng the Pure-rando algorth nstead of our algorth Then we show that the expectaton of φ t+1 s upper bounded by t+1 X φt 1 + γc, and the rest of the proof s along the lnes of the Chernoff bound proof 7

9 Lea 8 For all t, Proof: φ t+1 φ t 1 + t+1 X γc φ t+1 = φ t+1 φ t = 1 + Xt+1 γc φ t 1 + X t+1 γc φ t 1 + t+1 X γc The frst nequalty s because the convexty of the functon 1 + x can be used to upper bound t by 1 + x for all x [0, 1], and X t ax j,k a, j, { k γc The second nequalty follows fro the defnton of our algorth as t } a,j,kφ chooses the opton that nzes t c Lea 9 For all T, E[φ T λ ] n exp T γ, where λ s the optal soluton to the LP Proof: Fro Lea 8, t follows that E [ φ t+1 φ t for all ] [ ] E φ t t+1 X 1 + γc φ t 1 + λ γ = φ t 1 + λ γ λ φ t exp γ and hence the lea follows snce φ 0 = n The second nequalty follows fro the fact that E[ ] λ c for all Ths s because requests are drawn d, and hence the optal value of the dstrbuton nstance s the sae for all te steps and s equal to λ X t+1 Lea 10 Proof: [ { } S T Pr ax > T ] c λ 1 + n exp [ { } S T Pr ax > T ] c λ 1 + Pr 2 T λ 4γ ] [φ T > 1 + T λ 1+ γ E[φ T ]/1 + T λ 1+ γ λ T n exp /1 + T λ 1+ γ γ 2 T λ n exp 4γ The nequalty n the frst lne s because ax φ T φ T The rest s slar to proofs of Chernoff bounds The second lne follows fro Markov s nequalty, the thrd lne fro Lea 9 and the fourth lne s a well known algebrac nequalty whenever 0, 2e 1], and n partcular when 0, 1] Substtutng T = n Lea 10, we get Lea 7 8

10 Adversaral stochastc nput odel In the above leas, we assued that the requests are drawn d, e, we used the fact that E[ X t] λ c / for all t But n an adversaral stochastc odel, snce the dstrbuton fro whch a request s drawn changes each step, the optal objectve of the dstrbuton nstance also changes every step, e, t could be λ t at step t So, n the proof Lea 9, where we proved that E [ φ t+1 φ t for all ] λ φ t exp, γ we would nstead have E [ φ t+1 φ t for all ] φ t λ t exp γ But gven a target λ, we know the adversary s constraned to pck dstrbutons whose dstrbuton nstance has an optu objectve at ost λ recall that ths s a nzaton proble Therefore, we can upper bound φ t exp by φ t exp The rest of the steps n the proof rean the sae Thus, the adversary s not constraned to pck requests fro the sae dstrbuton at every te step All we requre s that, whatever dstrbuton t uses for drawng ts request, the correspondng dstrbuton nstance has an optu objectve value at ost λ, whch s the target value we a for In the followng sectons, we llustrate all our proofs n the d odel wth unknown dstrbuton and t s easy to convert the to proofs for the adversaral stochastc nput odel λ t γ 4 Mxed Coverng-Packng and Onlne Resource Allocaton 41 Mxed Coverng-Packng In ths secton, we consder the xed packng-coverng proble stated n Secton 23 and prove Theore 6 We restate the LP for the xed coverng-packng proble here λ γ, j,k a, j, kx j,k c, j,k j, k b, j, kx j,k d x j,k 1, j, k, x j,k 0 The goal s to check f there s a feasble soluton to ths LP We solve a gap verson of ths proble Dstngush between the two cases wth a hgh probablty, say 1 δ: YES: There s a feasble soluton NO: There s no feasble soluton even f all of the c s are ultpled by 1 + and all of the d s are ultpled by 1 For convenence of descrpton, we refer to the quanttes ndexed by j as requests, those ndexed by as resources and those ndexed by k as optons As before, the algorth proceeds n steps In each step, the algorth saples a request d fro the total of γ lnn/δ possble requests We wll prove that f the nuber of saples T Θ, then the algorth solves the gap 2 verson wth probablty at least 1 δ Snce the te taken for servng any gven request s one by takng the te γ lnn/δ consued by a sngle oracle call to be one, ths proves that the total run-te s O Ths proves Theore 6 2 be the rando varable ndcatng the aount of deand = b, j, k f n step t, request j was chosen and was served usng opton k Let Let X t, Xt, S t t be as defned n Secton 3 Let Y satsfed durng step t, that s, Y t t Ỹ denote the aount of deand satsfed durng step t by the optal algorth for the dstrbuton nstance of ths proble Let V T ψ t = η d1 2 V t γd 1 As before, we let S 0 = 0 and V 0 = T t=1 Y t Let φt t = η c S γc 1 + 2γ T t, where η c = T γ Let 2γ T t, where η d = T γ Let φ t = φt, let ψt = ψt and Φt = φ t + ψ t = 0 The algorth s as follows 9

11 ALG Packng-Coverng arg n k Gven request j n step t + 1, use the opton γ φ t a, j, k 1 c 1 2γ ψ t b, j, k d S At the end of T steps, the algorth checks f ax T c < T and f n V T d > T 1 2 If true, the algorth answers YES Else t says NO We now proceed to prove that, whenever the real answer s YES, the algorth says YES wth a hgh probablty Leas 11 and 12 prove ths case Lea 11 For a YES nstance E [ Φ T ] Φ 0 Proof: Slar to the proof of Lea 8, we have 1 + Φ t+1 φ t t+1 X 2γc 1 + 2γ + ψ t 1 Ỹ t+1 2γd 1 2γ E [ Φ t+1 φ t, ψ t for all ] φ t 1 + 2γ γ ψ t 1 2γ = Φ t 1 2γ where the nequalty follows fro the fact that, when the real answer s YES, E[ X t] c Snce the above sequence of nequaltes holds for every t, the lea follows t and E[Ỹ ] d for all Lea 12 For a YES nstance [ S T Pr ax T c 1 + ] 2 Proof: As n proof of Lea 10 [ S T Pr ax T c 1 + ] 2 [ + Pr n [ φ T Pr η c V T T d 1 ] 2 Φ 0 1 ] E[φ T ] η c where the nequalty n the frst lne follows fro φ T φ T for all, and the next lne follows fro Markov s nequalty Slarly, we have [ V T Pr n T d 1 ] [ ψ T 2 Pr 1 ] E[ψ T ] η d η d Thus the su of these probabltes s at ost E[φ T ] + E[ψ T ] = E[Φ T ], whch s at ost Φ 0 fro Lea 11 η c 1 + 2γ T + η d 1 n Observe that Φ 0, the falure probablty equals n exp + exp 2 T 16γ 2 T 8γ 2γ T, whch s upper bounded by γ logn/δ If T = O, we have the falure probablty to be at ost δ Thus 2 Lea 12 proves that the algorth ALG Packng-Coverng says YES wth a probablty at least 1 δ when the real answer s YES We now proceed to prove that when the real answer s NO, our algorth says NO wth a probablty at least 1 δ, e, Lea 13 For a NO nstance, f T Θ [ S T Pr ax c γ logn/δ, then 2 < T & n V T > T d 1 ] 2 < δ 10

12 Proof: Let S denote the set of requests sapled Consder the followng LP nze λ 1, λ a, j, kx j,k T c j S,k, λ + j S,k b, j, kx j,k d j S, x j,k 1 k j, k, x j,k 0 λ 0 T If the above LP has an optal objectve value at least, then our algorth would have declared NO We γ lnn/δ 2 2 T now show that by pckng T = Θ probablty at least 1 δ Ths akes our algorth answer NO wth a probablty at least 1 δ Consder the dual of LP 1:, the above LP wll have ts optal objectve value at least T 2, wth a axze β j + T ρ α 2 j S j S, k, β j a, j, k b, j, k α ρ c d α + ρ 1, α, ρ 0 j S, β j 0 The optal value of LP 1 s equal to the optal value to LP 2, whch n turn s lower bounded by the value of LP 2 at any feasble soluton One such feasble soluton s α, β, ρ, whch s the optal soluton to the full verson of LP 2, naely the one wth S = [], T = Thus, the optal value of LP 1 s lower bounded by value of LP 2 at α, β, ρ, whch s = j S β j + T ρ α 3 For proceedng further n lower boundng 3, we apply Chernoff bounds to j S β j In order to get useful Chernoff bounds, we frst prove that βj resdes n a sall nterval Consder the full verson of LP 2, e, S = [] and T = In ths verson, snce accordng to the second constrant the optal soluton ust satsfy α + ρ 1, t follows that 0 βj γ accordng to the frst constrant Further, let τ denote the optal value of the full verson of LP 2 Recall that snce we are n the NO case τ Now, because of the constrant α + ρ 1, t follows that ρ α 1 and thus t follows that j β j τ axτ, 1 We are now ready to lower bound the quantty n 3 We have the optal soluton to LP 2 j S βj + T ρ α T j β j 2T j β j γ ln1/δ + T ρ α T τ 4T axτ, 1γ ln1/δ Snce βj [0, γ] 4 11

13 where the second nequalty s a wth probablty at least 1 δ nequalty, e, we apply Chernoff bounds for j S β j, along wth the observaton that each βj [0, γ] We now set T so that the quantty n 4 s at least T 2 Notng that τ γ lnn/δ, settng T = Θ wll ensure 2 ths nequalty and hence proves the lea Leas 11, 12 and 13 prove that the gap-verson of the xed coverng-packng proble can be solved n te γ logn/δ O, thus provng Theore Onlne Algorths wth Stochastc Input In ths secton, we use the potental functon based algorth to solve the onlne verson of the resource allocaton proble ntroduced n Secton 22 The followng LP descrbes the resource allocaton proble axze j,k w j,k x j,k st 5, j,k j, k a, j, kx j,k c x j,k 1, j, k, x j,k 0 Our algorth coputes ncreasngly better estates of the objectve value by coputng the optal soluton for the observed requests, and uses t to gude future allocatons Ths s slar to the algorth n [AWY09], except that we only need to estate the value of the optal soluton as aganst the entre soluton tself Through Leas 14 and??, we show that our algorth acheves a copettve rato of 1 O thus provng Theore 2 We assue that the nuber of requests s known n advance Algorth 1 descrbes our algorth Algorth 1 : Algorth for stochastc onlne resource allocaton 1: Intalze t 0 : t 0, 2: for r = 0 to l 1 do 3: for t = t r + 1 to t r+1 do 4: f t = t r + 1 then 5: If the ncong request s j, use the followng opton k: arg n k c r/γ 1 + cr γ 6: For all, S tr = Xt, and V t r = Y t 7: else 8: If the ncong request s j, use the followng opton k: 9: For all, S t 10: end f 11: end for 12: end for arg n k c r/γ 1 + cr γ φ nt a, j, k r or/w ax c 1 orzr w ax φ t 1 a, j, k or/w ax c 1 orzr r = St 1 r + X t, and, V t r = V t 1 r + Y t w ax φ nt obj rw j,k φ t 1 obj w j,k The frst requests are not served but used just for coputatonal purposes After these frst requests, the algorth proceeds n l stages, naely 0, 1,, l 1, where l s such that 2 l = 1 and s a postve nuber between 12

14 0 and 1 that the algorth desgner gets to choose In stage r the algorth serves t r = 2 r requests Note that the stage r conssts of all steps t t r, t r+1 ] Let W denote the optal soluton to the dstrbuton nstance of the proble Let X t be as defned n Secton 3 Let Y t be the aount of proft earned durng step t, e, Y t = w j,k, f n step t, request j was served usng opton k Instead of the usual S t, we now defne St r = t u=t r+1 Xu, whch s the su of Xu s tll t for u s belongng to stage r alone, e, u t r, t r+1 ] Slarly, V t r = t u=t Y u r+1 Let w ax = ax j,k w j,k The potental functon for constrant n step t when t t r + 1, t r+1 ] s defned by Slarly, the potental functon for objectve at step t s, φ t = η c r1 + c r S t r γc 1 + tr t cr, γ tr 1+cr η c r = 1 + c r 4γ lnn + 1/δ c r = t r γ, φ t obj = η obj r1 o r V t r wax 1 tr t orzr, w ax tr Zr 1 or η obj r = 1 o r 2w ax lnn + 1/δ o r = t r Zr wax When t = t r + 1, whch s a specal case arkng the begnnng of a new stage, the potental functon for constrant s defned by φ nt r = η c r 1 + tr cr γ and the potental functon for the objectve functon s gven by φ nt obj r = η obj r 1 tr orzr w ax Note that apart fro constants, the only dfference between o r and c r s that nstead of γ, o r has w ax /Zr The value Zr, as we defne below, gets progressvely updated, but wthn a sngle stage r reans the sae After stage r, the algorth coputes the optal objectve value e r to the followng nstance I r : the nstance I r has the t r requests of stage-r, and the capacty of resource s trc1+cr, e, the capacty of resources are scaled down accordng to the nuber of requests by a factor of tr, along wth a slght extra allowance by a factor of 1 + cr It uses e r to copute the value Zr + 1 to be used n the potental functon for objectve n stage r + 1 Lea 14 Wth probablty at least 1 2δ, t r W 1 c r e r t rw c r Proof: Our goal s to establsh bounds on e r, whch s the optal soluton to the nstance I r For ths we consder the dstrbuton nstance of the followng nstance Îr: ths nstance s the sae as I r, except that each resource has a capacty of t r c / nstead of t r c 1 + c r/ We denote ths dstrbuton nstance of Îr by DÎr Let p r be the objectve value obtaned by the algorth Pure-rando on the nstance I r, e, the objectve value obtaned by followng the allocaton used by the optal soluton to DÎr Snce the resource usage and objectve value obtaned by the algorth Pure-rando can be seen as the su of d rando varables, we can apply Chernoff bounds on the Wth a probablty at least 1 δ, Pure-rando s usage of resource wll be wthn a factor of 1 + c r of trc and 13

15 Pure-rando s objectve value wll fall short of t r W / whch s the optal objectve value for DÎr by a factor of 2w at ost 1 ax lnn+1/δ t rw Snce the nstance I r allows for ths extra resource usage by havng an addtonal capacty by a factor of 1 + c r as copared to Îr, the real excess resource usage occurs only wth probablty δ Thus, wth probablty 1 δ, resources are consued wthn capacty and the objectve value p r s at least p r t rw 2w ax lnn + 1/δ 1 t r W t rw 1 c r The soluton obtaned by Pure-rando s just a feasble soluton for I r, and thus p r s saller than the optal objectve value for I r, whch s e r Thus, wth probablty ore than 1 δ, we have, e r t rw 1 c r 6 We now get an upper-bound on e r To do ths, we consder the LP whch defnes e r, along wth ts dual The LP whch defnes e r s gven by: Consder the dual of LP 7 axze j I r w j,k x j,k 7, j I r,k a, j, kx j,k t rc 1 + c r j I r, x j,k 1 k j I r, k, x j,k 0 nze β j + t r1 + c r j I r α c 8 j I r, k, β j + a, j, kα w j,k, α 0 j I r, β j 0 The optal value of LPs 7 and 8 are the sae and equal to e r The optal value of LP 8 s upper bounded by the LP s value at a feasble soluton One such feasble soluton s α, β, whch s the optal soluton to the full verson of LP 8, naely for whch I r s replaced by [] e, contans all the requests, t r s replaced by and c r s replaced by zero The value of LP 8 at α, β s equal to βj + t r1 + c r j I r α c 9 To upper bound the expresson n 9, we apply Chernoff bounds to j I r βj Notce that by constrant 1 of the 14

16 full verson of LP 8, we get β j w ax Usng ths, we upper bound the optal soluton to LP 8 as βj + t r1 + c r α c j I r t r j β j + 4t r j β j w ax ln1/δ + t r1 + c r t rw + 2t rw c r α c where the second nequalty s a wth probablty at least 1 δ nequalty, e, we apply Chernoff bounds for j I r βj along wth the observaton that βj w ax The thrd nequalty follows fro notng that j β j + α c = W and all α s and β j s are non-negatve, and thus j β j W Thus e r trw 1+2 cr wth probablty at least 1 δ Thus we have proved that the upper bound and the lower bound on e r hold wth probablty 1 δ each and hence together wth a probablty at least 1 2δ Ths proves the lea Usng these e r s, we defne our Zr + 1 as follows: Zr + 1 = e r t r c r Usng the bounds on e r n Lea 14, we note that Zr+1 W and that Zr+1 W 1 cr 1+2 cr W 1 3 c r Thus wth probablty at least 1 2 log1/δ, Zr satsfes these bounds for all r Gven the bounds on Zr, we use Lea 12 to see that wth a probablty at least 1 δ, the objectve value acheved n stage r s at least trzr 1 or, and the aount of resource consued n stage r s at ost trc 1 + cr Hence, these bounds are true for all r wth probablty at least 1 log1/δ, snce the total nuber of stages l = log1/ The total falure probablty s the su of the falure probablty durng estaton of Zr through e r, gven by 2 log1/δ and the falure probablty of our algorth n all stages together gven by log1/δ Thus, the total falure probablty s 3 log1/δ Wth a probablty of 1 3 log1/δ, the algorth obtans an objectve value of at least l 1 r=0 and for each, the aount of resource consued s at ost l 1 r=0 t r Zr1 o r, t r c 1 + c r On settng γ = O 2 logn/, and δ = log1/, we get that wth a falure probablty of at ost O, the objectve value acheved by the algorth s W 1 O and all resources are consued wthn capacty Thus, we have a 1 O copettve algorth, provng Theore 2 6 Adwords n d settng In ths secton, we gve a sple proof of Theore 5: greedy algorth acheves a copettve rato of 1 1/e n the adwords proble, where the pressons coe fro an adversaral stochastc nput odel As before, we llustrate our proofs for the d odel wth unknown dstrbuton below We now brefly descrbe the adwords settng 15

17 Settng There are a total of n advertsers, and queres arrve onlne, fro soe pool of queres Let the unknown nuber of queres that arrve be The queres that appear each day are drawn d fro soe unknown dstrbuton Advertser bds an aount b j on query j Advertser has a budget B denotng the axu aount of oney that can be spent on a gven day The bd aounts b j are revealed onlne as the queres arrve The objectve s to axze the su of the bd aounts successfully allocated, subject to budget constrants Whenever a query j arrves, wth a bd aount b j > reanng budget of, we are stll allowed to allot that query to advertser, but we only earn a revenue of the reanng budget of, and not the total value b j Goel and Mehta [GM08] prove that the greedy algorth gves a 1 1/e approxaton to the adwords proble when the queres arrve n a rando perutaton or n d, but under an assupton whch alost gets down to bds beng uch saller than budgets We gve a uch spler proof for a 1 1/e approxaton by greedy algorth for the d unknown dstrbutons case, and our proof works rrespectve of the the relaton between the sze of the bds and the budgets nvolved Let p j be the probablty of query j appearng n any gven presson Let y j = p j Let x j denote the offlne fractonal optal soluton for the dstrbuton nstance Let w t denote the aount of oney spent by advertser at te step t, e, for the t-th query n the greedy algorth to be descrbed below Let f 0 = j b jx j y j Let f t = f 0 t r=1 w r Let ft = n =1 f t Note that f 0 s the aount spent by n the offlne fractonal optal soluton to the dstrbuton nstance Consder the greedy algorth whch allocates the query j arrvng at te t to the advertser who has the axu effectve bd for that query, e, argax n{b j, B t 1 r=1 w r} We prove that ths algorth obtans a revenue of 1 1/e,j b jx j y j and thus gves the desred 1 1/e copettve rato aganst the fractonal optal soluton to the dstrbuton nstance The proof s slar to the proof we presented n Lea 8 for the resource allocaton proble Consder a hypothetcal algorth that allocates queres to advertsers accordng to the x j s We prove that ths hypothetcal algorth obtans an expected revenue of 1 1/e,j b jx j y j, and argue that the greedy algorth only perfors better Let w ht and f ht denote the quanttes analogous to w t and f t for the hypothetcal algorth, wth the ntal value f h0 = f 0 = j b jx j y j Let f h t = n =1 f ht Let EXCEED t denote the set of all j such that b j s strctly greater than the reanng budget at the begnnng of te step t, naely b j > B t 1 r=1 wh r Lea 15 E[w ht f ht 1] f h t 1 Proof: The expected aount aount of oney spent at te step t, s gven by t 1 E[w h t f h t 1] = B w h xj y j r + If j EXCEED t x j y j 1, then by 10, j EXCEED t r=1 j / EXCEED t E[w h t f h t 1] B t 1 r=1 wh r f h0 t 1 r=1 wh r = f h t 1 Suppose on the other hand x j y j < 1 We can wrte E[w ht f h t 1] as Snce b j B, and j EXCEED t E[w h t f h t 1] = f h 0 j EXCEED t j EXCEED t x j y j < 1, 11 can be splfed to E[w h t f h t 1] > f h0 = f h r=1 b j x j y j 10 t 1 b j B w h xj y j r 11 t 1 t 1 r=1 wh r 16

18 Lea 16 The hypothetcal algorth satsfes the followng: E[f h t f h t 1] f h t 11 1/ Proof: Fro the defnton of f h t, we have f h t = f h t 1 w h t E[f h t f h t 1] = f h t 1 E[w h t f h t 1] f h t 11 1, where the nequalty s due to Lea 15 Sung over all gves the Lea Lea 17 E[GREEDY] 1 1/e,j b jx j y j Proof: Lea 16 proves that for the hypothetcal algorth, the value of the dfference f h t 1 E[f h t f h t 1], whch s the expected aount spent at te t by all the advertsers together, condtoned on f h t 1, s at least f h t 1 But by defnton, condtoned on the aount of oney spent n frst t 1 steps, the greedy algorth earns the axu revenue at te step t Thus, for the greedy algorth too, the stateent of the lea 16 ust hold, naely, E[ft ft 1] ft 11 1/ Ths eans that E[f] f01 1/ f01/e Thus the expected revenue earned s E[ wr] = f0 E[f] r=1 f0 1 1/e = 1 1/e,j b j x j y j and ths proves the lea Lea 17 proves Theore 5 7 Applcatons We now lst the probles that are specal cases of the resource allocaton fraework and have been prevously consdered 71 Adwords Proble Whle n Secton 221 we noted that we could get a 1 1/e approxaton to the adwords proble wth unbounded γ, b we note here that γ s sall, e ax j,j B O 2 logn/, we get a 1 O approxaton to the axu proft through the resource allocaton fraework 72 Dsplay Ad Allocaton The followng proble occurs n the allocaton of dsplay ads 6 and s rather slar to the Adwords proble Here, there are pressons that arrve onlne and have to be allocated to advertsers Each advertser has a value v j for each presson j The dfference s that n ths case, the advertsers have a bound on the total nuber of pressons that they can be allocated to The objectve s to axze the total value of the allocaton The LP forulaton for ths proble fts drectly n our resource allocaton fraework 6 These are shown on web stes, as opposed to search ads that are shown on search engnes and were the otvaton for the Adwords proble 17

19 73 Network Routng and Load Balancng Consder a graph ether undrected or drected wth edge capactes Requests arrve onlne; a request j conssts of a source-snk par, s j, t j and a bandwdth ρ j In order to satsfy a request, a capacty of ρ j ust be allocated to t on every edge along soe path fro s j to t j n the graph In the congeston nzaton verson, all requests ust be satsfed, and the objectve s to nze the axu over all edges congeston, whch s the rato of the allocated bandwdth to the capacty of the edge In the throughput axzaton verson, the objectve s to axze the nuber of satsfed requests whle not allocatng ore bandwdth than the avalable capacty for each edge Dfferent requests could have dfferent values on the, and one could also consder axzng the total value of the satsfed requests Both the congeston nzaton verson and the throughput axzaton verson can be solved through our algorth 1 for resource allocaton fraework Kaath, Palon and Plotkn [KPP96] consdered a varant of ths proble wth the requests arrvng accordng to a statonary Posson process, and show a copettve rato that s very slar to ours 74 Cobnatoral Auctons Suppose we have n tes for sale, wth c copes of te Bdders arrve onlne, and bdder j has a utlty functon U j : 2 [n] R If we posted prces p for each te, then bdder j buys a bundle S that axzes U j S S p We assue that bdders can copute such a bundle The goal s to axze socal welfare, the total utlty of all the bdders, subject to the supply constrant that there are only c copes of te Frstly, ncentve constrants asde, ths proble can be wrtten as an LP n the resource allocaton fraework The tes are the resources and agents arrvng onlne are the requests All the dfferent subsets of tes for the set of optons The utlty U j S represents the proft w j,s of servng agent j through opton S, e subset S If an te S, then a,j,s = 1 for all j and zero otherwse Incentve constrants asde, our algorth for resource allocaton at step t, wll choose the opton k or equvalently the bundle S as specfed n pont 4 of algorth 1, e, nze the potental functon That can be equvalently wrtten as, arg ax k o r/w ax 1 orzr w ax φ t 1 obj w j,k cr/γ 1 + cr γ φ t 1 a, j, k c Now, axzng the above expresson s the sae as pckng the k to axze w j,k p a, j, k, where p = cr/γ 1+ cr γ or/w ax 1 orzr wax φt 1 obj φt 1 c Thus, f we post these prces p on tes, agents wll do exactly what the algorth would have done otherwse Suppose that the bdders are d saples fro soe dstrbuton or they arrve as n the adversaral stochastc nput odel Here γ = 1/ n {c } and we can use Theore 2 to get an ncentve copatble posted prce aucton 7 wth a copettve logn/ 2 rato of 1 O whenever n {c } O Further f an analog of Theore 2 also holds n the rando perutaton odel then we get a slar result for cobnatoral auctons n the offlne case: we sply consder the bdders one by one n a rando order 75 Selectve Call-out Chakraborty et al [CEDG + 10] forulated the followng proble that arses n the desgn of an ad-exchange An exchange gets ad-requests onlne; each ad-request ay have ultple slots wth dfferent qualtes Whenever the exchange gets an ad-request, t calls out to a subset of ad-networks for a bd Gven the bds t then allocates the slots to the hghest bdders The ad-networks have constrants on how frequently they want to be called out In addton, the followng assuptons are ade: the ad-requests are d saples fro an unknown dstrbuton, and for every adnetwork ts values for all ad-requests of a certan type are d fro a dstrbuton that s known to the exchange They consder varous objectve functons, such as socal welfare, revenue of a partcular aucton, GSP wth reserve, and so 7 Here we assue that each agent reveals hs true utlty functon after he akes hs purchase Ths nforaton s necessary to copute the prces to be charged for future agents 18

20 on They state ther results n the PAC odel, where they use an ntal saple of pressons to tran ther algorth They gve a bound on the nuber of saples needed n order to get a 1 1/e copettve algorth We can use our algorths wth an approxate relaxaton, Theore 4 to prove ther results n the followng two ways Ether we are gven the target objectve value, n whch case we acheve the sae copettve rato n the onlne settng wthout the need for an ntal saple If we are not gven the target objectve value then we need an ntal saple to estate that value The nuber of saples we need s less than what s requred by [CEDG + 10] by a factor of n Further, our algorth would also work n the adversaral stochastc nput odel 8 Concluson and Future Work Our work rases the followng open questons As entoned n the ntroducton, we can show that our algorth works n the d odel, so the natural queston s f our algorth works for the rando perutaton odel Currently n our algorth for the onlne case, we need to estate the optu objectve functon value perodcally For ths we need to solve at least approxately an offlne nstance of the proble repeatedly Is there an algorth that avods ths? Perhaps the holy gral for an onlne algorth for say, Adwords, s to get a guarantee of the followng for: f the nput s d fro soe gven dstrbuton then get a copettve rato that s close to 1, whle sultaneously gettng a copettve rato of 1 1/e f the nput s adversaral Our algorth for Adwords or soe sple varant could actually acheve ths At the very least, can we get such a guarantee for onlne b-atchng wth dfferent budgets? Note that when all the budgets are the sae then our algorth for the n-ax verson s equvalent to a sple algorth called BALANCE that acheves ths Ths observaton follows fro the results n Kalyanasundara and Pruhs [KP00] and Motwan, Pangrahy and Xu [MP06] A hgh level goal s to coe up wth other reasonable defntons that go beyond worst case The otvaton for ths s to brdge the gap between the theory and practce of onlne algorths References [AHK05] [AMT07] Sanjeev Arora, Elad Hazan, and Satyen Kale The ultplcatve weghts update ethod: a eta algorth and applcatons Techncal report, 2005 Zoe Abras, Ofer Mendelevtch, and John Toln Optal delvery of sponsored search advertseents subject to budget constrants In EC 07: Proceedngs of the 8th ACM conference on Electronc coerce, pages , New York, NY, USA, 2007 ACM [AWY09] Shpra Agrawal, Zzhuo Wang, and Ynyu Ye A dynac near-optal algorth for onlne lnear prograng arxv: v1, 2009 [BJN07] Nv Buchbnder, Kaal Jan, and Joseph Seff Naor Onlne pral-dual algorths for axzng ad-auctons revenue In ESA 07: Proceedngs of the 15th annual European conference on Algorths, pages , Berln, Hedelberg, 2007 Sprnger-Verlag [BK10] Bahan Bahan and Mchael Kapralov Iproved bounds for onlne stochastc atchng In ESA, pages , 2010 [CCD + 10] Dens Charles, Max Chckerng, Nkhl R Devanur, Kaal Jan, and Manan Sangh Fast algorths for fndng atchngs n lopsded bpartte graphs wth applcatons to dsplay ads In EC 10: Proceedngs of the 11th ACM conference on Electronc coerce, pages , New York, NY, USA, 2010 ACM [CEDG + 10] Tanoy Chakraborty, Eyal Even-Dar, Sudpto Guha, Yshay Mansour, and S Muthukrshnan Selectve call out and real te bddng In WINE, 2010 [DH09] Nkhl R Devanur and Thoas P Hayes The adwords proble: onlne keyword atchng wth budgeted bdders under rando perutatons In John Chuang, Lance Fortnow, and Pearl Pu, edtors, ACM Conference on Electronc Coerce, pages ACM,

Near Optimal Online Algorithms and Fast Approximation Algorithms for Resource Allocation Problems

Near Optimal Online Algorithms and Fast Approximation Algorithms for Resource Allocation Problems Near Optal Onlne Algorths and Fast Approxaton Algorths for Resource Allocaton Probles ABSTRACT Nhl R Devanur Mcrosoft Research Redond WA USA ndev@crosoftco Balasubraanan Svan Coputer Scences Dept Unv of

More information

PRIOR ROBUST OPTIMIZATION. Balasubramanian Sivan. A dissertation submitted in partial fulfillment of the requirements for the degree of

PRIOR ROBUST OPTIMIZATION. Balasubramanian Sivan. A dissertation submitted in partial fulfillment of the requirements for the degree of PRIOR ROBUST OPTIMIZATION By Balasubraanan Svan A dssertaton subtted n partal fulfllent of the requreents for the degree of Doctor of Phlosophy (Coputer Scences) at the UNIVERSITY OF WISCONSIN MADISON

More information

Luby s Alg. for Maximal Independent Sets using Pairwise Independence

Luby s Alg. for Maximal Independent Sets using Pairwise Independence Lecture Notes for Randomzed Algorthms Luby s Alg. for Maxmal Independent Sets usng Parwse Independence Last Updated by Erc Vgoda on February, 006 8. Maxmal Independent Sets For a graph G = (V, E), an ndependent

More information

How Much to Bet on Video Poker

How Much to Bet on Video Poker How Much to Bet on Vdeo Poker Trstan Barnett A queston that arses whenever a gae s favorable to the player s how uch to wager on each event? Whle conservatve play (or nu bet nzes large fluctuatons, t lacks

More information

An Electricity Trade Model for Microgrid Communities in Smart Grid

An Electricity Trade Model for Microgrid Communities in Smart Grid An Electrcty Trade Model for Mcrogrd Countes n Sart Grd Tansong Cu, Yanzh Wang, Shahn Nazaran and Massoud Pedra Unversty of Southern Calforna Departent of Electrcal Engneerng Los Angeles, CA, USA {tcu,

More information

Stochastic Models of Load Balancing and Scheduling in Cloud Computing Clusters

Stochastic Models of Load Balancing and Scheduling in Cloud Computing Clusters Stochastc Models of Load Balancng and Schedulng n Cloud Coputng Clusters Sva Theja Magulur and R. Srkant Departent of ECE and CSL Unversty of Illnos at Urbana-Chapagn sva.theja@gal.co; rsrkant@llnos.edu

More information

Maximizing profit using recommender systems

Maximizing profit using recommender systems Maxzng proft usng recoender systes Aparna Das Brown Unversty rovdence, RI aparna@cs.brown.edu Clare Matheu Brown Unversty rovdence, RI clare@cs.brown.edu Danel Rcketts Brown Unversty rovdence, RI danel.bore.rcketts@gal.co

More information

Stochastic Models of Load Balancing and Scheduling in Cloud Computing Clusters

Stochastic Models of Load Balancing and Scheduling in Cloud Computing Clusters Stochastc Models of Load Balancng and Schedulng n Cloud Coputng Clusters Sva Theja Magulur and R. Srkant Departent of ECE and CSL Unversty of Illnos at Urbana-Chapagn sva.theja@gal.co; rsrkant@llnos.edu

More information

Basic Queueing Theory M/M/* Queues. Introduction

Basic Queueing Theory M/M/* Queues. Introduction Basc Queueng Theory M/M/* Queues These sldes are created by Dr. Yh Huang of George Mason Unversty. Students regstered n Dr. Huang's courses at GMU can ake a sngle achne-readable copy and prnt a sngle copy

More information

Stochastic Models of Load Balancing and Scheduling in Cloud Computing Clusters

Stochastic Models of Load Balancing and Scheduling in Cloud Computing Clusters 01 Proceedngs IEEE INFOCOM Stochastc Models of Load Balancng and Schedulng n Cloud Coputng Clusters Sva heja Magulur and R. Srkant Departent of ECE and CSL Unversty of Illnos at Urbana-Chapagn sva.theja@gal.co;

More information

Support Vector Machines

Support Vector Machines Support Vector Machnes Max Wellng Department of Computer Scence Unversty of Toronto 10 Kng s College Road Toronto, M5S 3G5 Canada wellng@cs.toronto.edu Abstract Ths s a note to explan support vector machnes.

More information

BANDWIDTH ALLOCATION AND PRICING PROBLEM FOR A DUOPOLY MARKET

BANDWIDTH ALLOCATION AND PRICING PROBLEM FOR A DUOPOLY MARKET Yugoslav Journal of Operatons Research (0), Nuber, 65-78 DOI: 0.98/YJOR0065Y BANDWIDTH ALLOCATION AND PRICING PROBLEM FOR A DUOPOLY MARKET Peng-Sheng YOU Graduate Insttute of Marketng and Logstcs/Transportaton,

More information

Scan Detection in High-Speed Networks Based on Optimal Dynamic Bit Sharing

Scan Detection in High-Speed Networks Based on Optimal Dynamic Bit Sharing Scan Detecton n Hgh-Speed Networks Based on Optal Dynac Bt Sharng Tao L Shgang Chen Wen Luo Mng Zhang Departent of Coputer & Inforaton Scence & Engneerng, Unversty of Florda Abstract Scan detecton s one

More information

A R T I C L E S DYNAMIC VEHICLE DISPATCHING: OPTIMAL HEAVY TRAFFIC PERFORMANCE AND PRACTICAL INSIGHTS

A R T I C L E S DYNAMIC VEHICLE DISPATCHING: OPTIMAL HEAVY TRAFFIC PERFORMANCE AND PRACTICAL INSIGHTS A R T I C L E S DYAMIC VEHICLE DISPATCHIG: OPTIMAL HEAVY TRAFFIC PERFORMACE AD PRACTICAL ISIGHTS OAH GAS OPIM Departent, The Wharton School, Unversty of Pennsylvana, Phladelpha, Pennsylvana 19104-6366

More information

Generalizing the degree sequence problem

Generalizing the degree sequence problem Mddlebury College March 2009 Arzona State Unversty Dscrete Mathematcs Semnar The degree sequence problem Problem: Gven an nteger sequence d = (d 1,...,d n ) determne f there exsts a graph G wth d as ts

More information

The Greedy Method. Introduction. 0/1 Knapsack Problem

The Greedy Method. Introduction. 0/1 Knapsack Problem The Greedy Method Introducton We have completed data structures. We now are gong to look at algorthm desgn methods. Often we are lookng at optmzaton problems whose performance s exponental. For an optmzaton

More information

Recurrence. 1 Definitions and main statements

Recurrence. 1 Definitions and main statements Recurrence 1 Defntons and man statements Let X n, n = 0, 1, 2,... be a MC wth the state space S = (1, 2,...), transton probabltes p j = P {X n+1 = j X n = }, and the transton matrx P = (p j ),j S def.

More information

An Alternative Way to Measure Private Equity Performance

An Alternative Way to Measure Private Equity Performance An Alternatve Way to Measure Prvate Equty Performance Peter Todd Parlux Investment Technology LLC Summary Internal Rate of Return (IRR) s probably the most common way to measure the performance of prvate

More information

1 Example 1: Axis-aligned rectangles

1 Example 1: Axis-aligned rectangles COS 511: Theoretcal Machne Learnng Lecturer: Rob Schapre Lecture # 6 Scrbe: Aaron Schld February 21, 2013 Last class, we dscussed an analogue for Occam s Razor for nfnte hypothess spaces that, n conjuncton

More information

How Sets of Coherent Probabilities May Serve as Models for Degrees of Incoherence

How Sets of Coherent Probabilities May Serve as Models for Degrees of Incoherence 1 st Internatonal Symposum on Imprecse Probabltes and Ther Applcatons, Ghent, Belgum, 29 June 2 July 1999 How Sets of Coherent Probabltes May Serve as Models for Degrees of Incoherence Mar J. Schervsh

More information

benefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ).

benefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ). REVIEW OF RISK MANAGEMENT CONCEPTS LOSS DISTRIBUTIONS AND INSURANCE Loss and nsurance: When someone s subject to the rsk of ncurrng a fnancal loss, the loss s generally modeled usng a random varable or

More information

Least Squares Fitting of Data

Least Squares Fitting of Data Least Squares Fttng of Data Davd Eberly Geoetrc Tools, LLC http://www.geoetrctools.co/ Copyrght c 1998-2016. All Rghts Reserved. Created: July 15, 1999 Last Modfed: January 5, 2015 Contents 1 Lnear Fttng

More information

The OC Curve of Attribute Acceptance Plans

The OC Curve of Attribute Acceptance Plans The OC Curve of Attrbute Acceptance Plans The Operatng Characterstc (OC) curve descrbes the probablty of acceptng a lot as a functon of the lot s qualty. Fgure 1 shows a typcal OC Curve. 10 8 6 4 1 3 4

More information

Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module LOSSLESS IMAGE COMPRESSION SYSTEMS Lesson 3 Lossless Compresson: Huffman Codng Instructonal Objectves At the end of ths lesson, the students should be able to:. Defne and measure source entropy..

More information

NON-CONSTANT SUM RED-AND-BLACK GAMES WITH BET-DEPENDENT WIN PROBABILITY FUNCTION LAURA PONTIGGIA, University of the Sciences in Philadelphia

NON-CONSTANT SUM RED-AND-BLACK GAMES WITH BET-DEPENDENT WIN PROBABILITY FUNCTION LAURA PONTIGGIA, University of the Sciences in Philadelphia To appear n Journal o Appled Probablty June 2007 O-COSTAT SUM RED-AD-BLACK GAMES WITH BET-DEPEDET WI PROBABILITY FUCTIO LAURA POTIGGIA, Unversty o the Scences n Phladelpha Abstract In ths paper we nvestgate

More information

General Auction Mechanism for Search Advertising

General Auction Mechanism for Search Advertising General Aucton Mechansm for Search Advertsng Gagan Aggarwal S. Muthukrshnan Dávd Pál Martn Pál Keywords game theory, onlne auctons, stable matchngs ABSTRACT Internet search advertsng s often sold by an

More information

A Probabilistic Theory of Coherence

A Probabilistic Theory of Coherence A Probablstc Theory of Coherence BRANDEN FITELSON. The Coherence Measure C Let E be a set of n propostons E,..., E n. We seek a probablstc measure C(E) of the degree of coherence of E. Intutvely, we want

More information

Description of the Force Method Procedure. Indeterminate Analysis Force Method 1. Force Method con t. Force Method con t

Description of the Force Method Procedure. Indeterminate Analysis Force Method 1. Force Method con t. Force Method con t Indeternate Analyss Force Method The force (flexblty) ethod expresses the relatonshps between dsplaceents and forces that exst n a structure. Prary objectve of the force ethod s to deterne the chosen set

More information

Section 5.4 Annuities, Present Value, and Amortization

Section 5.4 Annuities, Present Value, and Amortization Secton 5.4 Annutes, Present Value, and Amortzaton Present Value In Secton 5.2, we saw that the present value of A dollars at nterest rate per perod for n perods s the amount that must be deposted today

More information

8.5 UNITARY AND HERMITIAN MATRICES. The conjugate transpose of a complex matrix A, denoted by A*, is given by

8.5 UNITARY AND HERMITIAN MATRICES. The conjugate transpose of a complex matrix A, denoted by A*, is given by 6 CHAPTER 8 COMPLEX VECTOR SPACES 5. Fnd the kernel of the lnear transformaton gven n Exercse 5. In Exercses 55 and 56, fnd the mage of v, for the ndcated composton, where and are gven by the followng

More information

Institute of Informatics, Faculty of Business and Management, Brno University of Technology,Czech Republic

Institute of Informatics, Faculty of Business and Management, Brno University of Technology,Czech Republic Lagrange Multplers as Quanttatve Indcators n Economcs Ivan Mezník Insttute of Informatcs, Faculty of Busness and Management, Brno Unversty of TechnologCzech Republc Abstract The quanttatve role of Lagrange

More information

Fisher Markets and Convex Programs

Fisher Markets and Convex Programs Fsher Markets and Convex Programs Nkhl R. Devanur 1 Introducton Convex programmng dualty s usually stated n ts most general form, wth convex objectve functons and convex constrants. (The book by Boyd and

More information

How To Calculate An Approxmaton Factor Of 1 1/E

How To Calculate An Approxmaton Factor Of 1 1/E Approxmaton algorthms for allocaton problems: Improvng the factor of 1 1/e Urel Fege Mcrosoft Research Redmond, WA 98052 urfege@mcrosoft.com Jan Vondrák Prnceton Unversty Prnceton, NJ 08540 jvondrak@gmal.com

More information

Quality of Service Analysis and Control for Wireless Sensor Networks

Quality of Service Analysis and Control for Wireless Sensor Networks Qualty of ervce Analyss and Control for Wreless ensor Networs Jaes Kay and Jeff Frol Unversty of Veront ay@uv.edu, frol@eba.uv.edu Abstract hs paper nvestgates wreless sensor networ spatal resoluton as

More information

II. THE QUALITY AND REGULATION OF THE DISTRIBUTION COMPANIES I. INTRODUCTION

II. THE QUALITY AND REGULATION OF THE DISTRIBUTION COMPANIES I. INTRODUCTION Fronter Methodology to fx Qualty goals n Electrcal Energy Dstrbuton Copanes R. Rarez 1, A. Sudrà 2, A. Super 3, J.Bergas 4, R.Vllafáfla 5 1-2 -3-4-5 - CITCEA - UPC UPC., Unversdad Poltécnca de Cataluña,

More information

BERNSTEIN POLYNOMIALS

BERNSTEIN POLYNOMIALS On-Lne Geometrc Modelng Notes BERNSTEIN POLYNOMIALS Kenneth I. Joy Vsualzaton and Graphcs Research Group Department of Computer Scence Unversty of Calforna, Davs Overvew Polynomals are ncredbly useful

More information

Online Advertisement, Optimization and Stochastic Networks

Online Advertisement, Optimization and Stochastic Networks Onlne Advertsement, Optmzaton and Stochastc Networks Bo (Rambo) Tan and R. Srkant Department of Electrcal and Computer Engneerng Unversty of Illnos at Urbana-Champagn Urbana, IL, USA 1 arxv:1009.0870v6

More information

Inventory Control in a Multi-Supplier System

Inventory Control in a Multi-Supplier System 3th Intl Workng Senar on Producton Econocs (WSPE), Igls, Autrche, pp.5-6 Inventory Control n a Mult-Suppler Syste Yasen Arda and Jean-Claude Hennet LAAS-CRS, 7 Avenue du Colonel Roche, 3077 Toulouse Cedex

More information

What is Candidate Sampling

What is Candidate Sampling What s Canddate Samplng Say we have a multclass or mult label problem where each tranng example ( x, T ) conssts of a context x a small (mult)set of target classes T out of a large unverse L of possble

More information

Vasicek s Model of Distribution of Losses in a Large, Homogeneous Portfolio

Vasicek s Model of Distribution of Losses in a Large, Homogeneous Portfolio Vascek s Model of Dstrbuton of Losses n a Large, Homogeneous Portfolo Stephen M Schaefer London Busness School Credt Rsk Electve Summer 2012 Vascek s Model Important method for calculatng dstrbuton of

More information

DEFINING %COMPLETE IN MICROSOFT PROJECT

DEFINING %COMPLETE IN MICROSOFT PROJECT CelersSystems DEFINING %COMPLETE IN MICROSOFT PROJECT PREPARED BY James E Aksel, PMP, PMI-SP, MVP For Addtonal Informaton about Earned Value Management Systems and reportng, please contact: CelersSystems,

More information

A Fuzzy Optimization Framework for COTS Products Selection of Modular Software Systems

A Fuzzy Optimization Framework for COTS Products Selection of Modular Software Systems Internatonal Journal of Fuy Systes, Vol. 5, No., June 0 9 A Fuy Optaton Fraework for COTS Products Selecton of Modular Software Systes Pankaj Gupta, Hoang Pha, Mukesh Kuar Mehlawat, and Shlp Vera Abstract

More information

v a 1 b 1 i, a 2 b 2 i,..., a n b n i.

v a 1 b 1 i, a 2 b 2 i,..., a n b n i. SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 455 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces we have studed thus far n the text are real vector spaces snce the scalars are

More information

1. Fundamentals of probability theory 2. Emergence of communication traffic 3. Stochastic & Markovian Processes (SP & MP)

1. Fundamentals of probability theory 2. Emergence of communication traffic 3. Stochastic & Markovian Processes (SP & MP) 6.3 / -- Communcaton Networks II (Görg) SS20 -- www.comnets.un-bremen.de Communcaton Networks II Contents. Fundamentals of probablty theory 2. Emergence of communcaton traffc 3. Stochastc & Markovan Processes

More information

A Statistical Model for Detecting Abnormality in Static-Priority Scheduling Networks with Differentiated Services

A Statistical Model for Detecting Abnormality in Static-Priority Scheduling Networks with Differentiated Services A Statstcal odel for Detectng Abnoralty n Statc-Prorty Schedulng Networks wth Dfferentated Servces ng L 1 and We Zhao 1 School of Inforaton Scence & Technology, East Chna Noral Unversty, Shangha 0006,

More information

Ganesh Subramaniam. American Solutions Inc., 100 Commerce Dr Suite # 103, Newark, DE 19713, USA

Ganesh Subramaniam. American Solutions Inc., 100 Commerce Dr Suite # 103, Newark, DE 19713, USA 238 Int. J. Sulaton and Process Modellng, Vol. 3, No. 4, 2007 Sulaton-based optsaton for ateral dspatchng n Vendor-Managed Inventory systes Ganesh Subraana Aercan Solutons Inc., 100 Coerce Dr Sute # 103,

More information

CONSTRUCTION OF A COLLABORATIVE VALUE CHAIN IN CLOUD COMPUTING ENVIRONMENT

CONSTRUCTION OF A COLLABORATIVE VALUE CHAIN IN CLOUD COMPUTING ENVIRONMENT CONSTRUCTION OF A COLLAORATIVE VALUE CHAIN IN CLOUD COMPUTING ENVIRONMENT Png Wang, School of Econoy and Manageent, Jangsu Unversty of Scence and Technology, Zhenjang Jangsu Chna, sdwangp1975@163.co Zhyng

More information

Online Algorithms for Uploading Deferrable Big Data to The Cloud

Online Algorithms for Uploading Deferrable Big Data to The Cloud Onlne lgorths for Uploadng Deferrable Bg Data to The Cloud Lnquan Zhang, Zongpeng L, Chuan Wu, Mnghua Chen Unversty of Calgary, {lnqzhan,zongpeng}@ucalgary.ca The Unversty of Hong Kong, cwu@cs.hku.hk The

More information

INTRODUCTION TO MERGERS AND ACQUISITIONS: FIRM DIVERSIFICATION

INTRODUCTION TO MERGERS AND ACQUISITIONS: FIRM DIVERSIFICATION XV. INTODUCTION TO MEGES AND ACQUISITIONS: FIM DIVESIFICATION In the ntroducton to Secton VII, t was noted that frs can acqure assets by ether undertakng nternally-generated new projects or by acqurng

More information

Capacity Planning for Virtualized Servers

Capacity Planning for Virtualized Servers Capacty Plannng for Vrtualzed Servers Martn Bchler, Thoas Setzer, Benjan Spetkap Departent of Inforatcs, TU München 85748 Garchng/Munch, Gerany (bchler setzer benjan.spetkap)@n.tu.de Abstract Today's data

More information

THE DISTRIBUTION OF LOAN PORTFOLIO VALUE * Oldrich Alfons Vasicek

THE DISTRIBUTION OF LOAN PORTFOLIO VALUE * Oldrich Alfons Vasicek HE DISRIBUION OF LOAN PORFOLIO VALUE * Oldrch Alfons Vascek he amount of captal necessary to support a portfolo of debt securtes depends on the probablty dstrbuton of the portfolo loss. Consder a portfolo

More information

Technical Report, SFB 475: Komplexitätsreduktion in Multivariaten Datenstrukturen, Universität Dortmund, No. 1998,04

Technical Report, SFB 475: Komplexitätsreduktion in Multivariaten Datenstrukturen, Universität Dortmund, No. 1998,04 econstor www.econstor.eu Der Open-Access-Publkatonsserver der ZBW Lebnz-Inforatonszentru Wrtschaft The Open Access Publcaton Server of the ZBW Lebnz Inforaton Centre for Econocs Becka, Mchael Workng Paper

More information

The Geometry of Online Packing Linear Programs

The Geometry of Online Packing Linear Programs The Geometry of Onlne Packng Lnear Programs Marco Molnaro R. Rav Abstract We consder packng lnear programs wth m rows where all constrant coeffcents are n the unt nterval. In the onlne model, we know the

More information

+ + + - - This circuit than can be reduced to a planar circuit

+ + + - - This circuit than can be reduced to a planar circuit MeshCurrent Method The meshcurrent s analog of the nodeoltage method. We sole for a new set of arables, mesh currents, that automatcally satsfy KCLs. As such, meshcurrent method reduces crcut soluton to

More information

Two-Phase Traceback of DDoS Attacks with Overlay Network

Two-Phase Traceback of DDoS Attacks with Overlay Network 4th Internatonal Conference on Sensors, Measureent and Intellgent Materals (ICSMIM 205) Two-Phase Traceback of DDoS Attacks wth Overlay Network Zahong Zhou, a, Jang Wang2, b and X Chen3, c -2 School of

More information

J. Parallel Distrib. Comput.

J. Parallel Distrib. Comput. J. Parallel Dstrb. Comput. 71 (2011) 62 76 Contents lsts avalable at ScenceDrect J. Parallel Dstrb. Comput. journal homepage: www.elsever.com/locate/jpdc Optmzng server placement n dstrbuted systems n

More information

2008/8. An integrated model for warehouse and inventory planning. Géraldine Strack and Yves Pochet

2008/8. An integrated model for warehouse and inventory planning. Géraldine Strack and Yves Pochet 2008/8 An ntegrated model for warehouse and nventory plannng Géraldne Strack and Yves Pochet CORE Voe du Roman Pays 34 B-1348 Louvan-la-Neuve, Belgum. Tel (32 10) 47 43 04 Fax (32 10) 47 43 01 E-mal: corestat-lbrary@uclouvan.be

More information

Research Article Load Balancing for Future Internet: An Approach Based on Game Theory

Research Article Load Balancing for Future Internet: An Approach Based on Game Theory Appled Matheatcs, Artcle ID 959782, 11 pages http://dx.do.org/10.1155/2014/959782 Research Artcle Load Balancng for Future Internet: An Approach Based on Gae Theory Shaoy Song, Tngje Lv, and Xa Chen School

More information

Revenue Maximization Using Adaptive Resource Provisioning in Cloud Computing Environments

Revenue Maximization Using Adaptive Resource Provisioning in Cloud Computing Environments 202 ACM/EEE 3th nternatonal Conference on Grd Coputng evenue Maxzaton sng Adaptve esource Provsonng n Cloud Coputng Envronents Guofu Feng School of nforaton Scence, Nanng Audt nversty, Nanng, Chna nufgf@gal.co

More information

8 Algorithm for Binary Searching in Trees

8 Algorithm for Binary Searching in Trees 8 Algorthm for Bnary Searchng n Trees In ths secton we present our algorthm for bnary searchng n trees. A crucal observaton employed by the algorthm s that ths problem can be effcently solved when the

More information

Secure Cloud Storage Service with An Efficient DOKS Protocol

Secure Cloud Storage Service with An Efficient DOKS Protocol Secure Cloud Storage Servce wth An Effcent DOKS Protocol ZhengTao Jang Councaton Unversty of Chna z.t.ang@163.co Abstract Storage servces based on publc clouds provde custoers wth elastc storage and on-deand

More information

Enabling P2P One-view Multi-party Video Conferencing

Enabling P2P One-view Multi-party Video Conferencing Enablng P2P One-vew Mult-party Vdeo Conferencng Yongxang Zhao, Yong Lu, Changja Chen, and JanYn Zhang Abstract Mult-Party Vdeo Conferencng (MPVC) facltates realtme group nteracton between users. Whle P2P

More information

Web Service-based Business Process Automation Using Matching Algorithms

Web Service-based Business Process Automation Using Matching Algorithms Web Servce-based Busness Process Autoaton Usng Matchng Algorths Yanggon K and Juhnyoung Lee 2 Coputer and Inforaton Scences, Towson Uversty, Towson, MD 2252, USA, yk@towson.edu 2 IBM T. J. Watson Research

More information

Transformation of Commercial Flows into Physical Flows of Electricity

Transformation of Commercial Flows into Physical Flows of Electricity Transforaton of Coercal Flows nto Physcal Flows of Electrcty Marek ADAMEC, Mchaela INDRAKOVA, Pavel PAVLATKA Dept. of Econocs, Manageent and Huantes, Czech Techncal Unversty, Zkova 4, 166 27 Praha, Czech

More information

Nordea G10 Alpha Carry Index

Nordea G10 Alpha Carry Index Nordea G10 Alpha Carry Index Index Rules v1.1 Verson as of 10/10/2013 1 (6) Page 1 Index Descrpton The G10 Alpha Carry Index, the Index, follows the development of a rule based strategy whch nvests and

More information

A Lyapunov Optimization Approach to Repeated Stochastic Games

A Lyapunov Optimization Approach to Repeated Stochastic Games PROC. ALLERTON CONFERENCE ON COMMUNICATION, CONTROL, AND COMPUTING, OCT. 2013 1 A Lyapunov Optmzaton Approach to Repeated Stochastc Games Mchael J. Neely Unversty of Southern Calforna http://www-bcf.usc.edu/

More information

The Development of Web Log Mining Based on Improve-K-Means Clustering Analysis

The Development of Web Log Mining Based on Improve-K-Means Clustering Analysis The Development of Web Log Mnng Based on Improve-K-Means Clusterng Analyss TngZhong Wang * College of Informaton Technology, Luoyang Normal Unversty, Luoyang, 471022, Chna wangtngzhong2@sna.cn Abstract.

More information

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 12

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 12 14 The Ch-squared dstrbuton PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 1 If a normal varable X, havng mean µ and varance σ, s standardsed, the new varable Z has a mean 0 and varance 1. When ths standardsed

More information

Bandwdth Packng E. G. Coman, Jr. and A. L. Stolyar Bell Labs, Lucent Technologes Murray Hll, NJ 07974 fegc,stolyarg@research.bell-labs.com Abstract We model a server that allocates varyng amounts of bandwdth

More information

Extending Probabilistic Dynamic Epistemic Logic

Extending Probabilistic Dynamic Epistemic Logic Extendng Probablstc Dynamc Epstemc Logc Joshua Sack May 29, 2008 Probablty Space Defnton A probablty space s a tuple (S, A, µ), where 1 S s a set called the sample space. 2 A P(S) s a σ-algebra: a set

More information

PERRON FROBENIUS THEOREM

PERRON FROBENIUS THEOREM PERRON FROBENIUS THEOREM R. CLARK ROBINSON Defnton. A n n matrx M wth real entres m, s called a stochastc matrx provded () all the entres m satsfy 0 m, () each of the columns sum to one, m = for all, ()

More information

A hybrid global optimization algorithm based on parallel chaos optimization and outlook algorithm

A hybrid global optimization algorithm based on parallel chaos optimization and outlook algorithm Avalable onlne www.ocpr.com Journal of Chemcal and Pharmaceutcal Research, 2014, 6(7):1884-1889 Research Artcle ISSN : 0975-7384 CODEN(USA) : JCPRC5 A hybrd global optmzaton algorthm based on parallel

More information

Project Networks With Mixed-Time Constraints

Project Networks With Mixed-Time Constraints Project Networs Wth Mxed-Tme Constrants L Caccetta and B Wattananon Western Australan Centre of Excellence n Industral Optmsaton (WACEIO) Curtn Unversty of Technology GPO Box U1987 Perth Western Australa

More information

A Novel Dynamic Role-Based Access Control Scheme in User Hierarchy

A Novel Dynamic Role-Based Access Control Scheme in User Hierarchy Journal of Coputatonal Inforaton Systes 6:7(200) 2423-2430 Avalable at http://www.jofcs.co A Novel Dynac Role-Based Access Control Schee n User Herarchy Xuxa TIAN, Zhongqn BI, Janpng XU, Dang LIU School

More information

Linear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits

Linear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits Lnear Crcuts Analyss. Superposton, Theenn /Norton Equalent crcuts So far we hae explored tmendependent (resste) elements that are also lnear. A tmendependent elements s one for whch we can plot an / cure.

More information

Sngle Snk Buy at Bulk Problem and the Access Network

Sngle Snk Buy at Bulk Problem and the Access Network A Constant Factor Approxmaton for the Sngle Snk Edge Installaton Problem Sudpto Guha Adam Meyerson Kamesh Munagala Abstract We present the frst constant approxmaton to the sngle snk buy-at-bulk network

More information

The Packing Server for Real-Time Scheduling of MapReduce Workflows

The Packing Server for Real-Time Scheduling of MapReduce Workflows The Packng Server for Real-Te Schedulng of MapReduce Workflows Shen L, Shaohan Hu, Tarek Abdelzaher Unversty of Illnos at Urbana-Chapagn {shenl3, shu7, zaher}@llnos.edu Abstract Ths paper develops new

More information

where the coordinates are related to those in the old frame as follows.

where the coordinates are related to those in the old frame as follows. Chapter 2 - Cartesan Vectors and Tensors: Ther Algebra Defnton of a vector Examples of vectors Scalar multplcaton Addton of vectors coplanar vectors Unt vectors A bass of non-coplanar vectors Scalar product

More information

SPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background:

SPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background: SPEE Recommended Evaluaton Practce #6 efnton of eclne Curve Parameters Background: The producton hstores of ol and gas wells can be analyzed to estmate reserves and future ol and gas producton rates and

More information

Ring structure of splines on triangulations

Ring structure of splines on triangulations www.oeaw.ac.at Rng structure of splnes on trangulatons N. Vllamzar RICAM-Report 2014-48 www.rcam.oeaw.ac.at RING STRUCTURE OF SPLINES ON TRIANGULATIONS NELLY VILLAMIZAR Introducton For a trangulated regon

More information

International Journal of Industrial Engineering Computations

International Journal of Industrial Engineering Computations Internatonal Journal of Industral ngneerng Coputatons 3 (2012) 393 402 Contents lsts avalable at GrowngScence Internatonal Journal of Industral ngneerng Coputatons hoepage: www.growngscence.co/jec Suppler

More information

Joe Pimbley, unpublished, 2005. Yield Curve Calculations

Joe Pimbley, unpublished, 2005. Yield Curve Calculations Joe Pmbley, unpublshed, 005. Yeld Curve Calculatons Background: Everythng s dscount factors Yeld curve calculatons nclude valuaton of forward rate agreements (FRAs), swaps, nterest rate optons, and forward

More information

7.5. Present Value of an Annuity. Investigate

7.5. Present Value of an Annuity. Investigate 7.5 Present Value of an Annuty Owen and Anna are approachng retrement and are puttng ther fnances n order. They have worked hard and nvested ther earnngs so that they now have a large amount of money on

More information

Chapter 4 ECONOMIC DISPATCH AND UNIT COMMITMENT

Chapter 4 ECONOMIC DISPATCH AND UNIT COMMITMENT Chapter 4 ECOOMIC DISATCH AD UIT COMMITMET ITRODUCTIO A power system has several power plants. Each power plant has several generatng unts. At any pont of tme, the total load n the system s met by the

More information

Stochastic Bandits with Side Observations on Networks

Stochastic Bandits with Side Observations on Networks Stochastc Bandts wth Sde Observatons on Networks Swapna Buccapatnam, Atlla Erylmaz Department of ECE The Oho State Unversty Columbus, OH - 430 buccapat@eceosuedu, erylmaz@osuedu Ness B Shroff Departments

More information

Joint Scheduling of Processing and Shuffle Phases in MapReduce Systems

Joint Scheduling of Processing and Shuffle Phases in MapReduce Systems Jont Schedulng of Processng and Shuffle Phases n MapReduce Systems Fangfe Chen, Mural Kodalam, T. V. Lakshman Department of Computer Scence and Engneerng, The Penn State Unversty Bell Laboratores, Alcatel-Lucent

More information

A NOTE ON THE PREDICTION AND TESTING OF SYSTEM RELIABILITY UNDER SHOCK MODELS C. Bouza, Departamento de Matemática Aplicada, Universidad de La Habana

A NOTE ON THE PREDICTION AND TESTING OF SYSTEM RELIABILITY UNDER SHOCK MODELS C. Bouza, Departamento de Matemática Aplicada, Universidad de La Habana REVISTA INVESTIGACION OPERACIONAL Vol., No. 3, 000 A NOTE ON THE PREDICTION AND TESTING OF SYSTEM RELIABILITY UNDER SHOCK MODELS C. Bouza, Departaento de Mateátca Aplcada, Unversdad de La Habana ABSTRACT

More information

Research Article Enhanced Two-Step Method via Relaxed Order of α-satisfactory Degrees for Fuzzy Multiobjective Optimization

Research Article Enhanced Two-Step Method via Relaxed Order of α-satisfactory Degrees for Fuzzy Multiobjective Optimization Hndaw Publshng Corporaton Mathematcal Problems n Engneerng Artcle ID 867836 pages http://dxdoorg/055/204/867836 Research Artcle Enhanced Two-Step Method va Relaxed Order of α-satsfactory Degrees for Fuzzy

More information

Portfolio Loss Distribution

Portfolio Loss Distribution Portfolo Loss Dstrbuton Rsky assets n loan ortfolo hghly llqud assets hold-to-maturty n the bank s balance sheet Outstandngs The orton of the bank asset that has already been extended to borrowers. Commtment

More information

On the Optimal Control of a Cascade of Hydro-Electric Power Stations

On the Optimal Control of a Cascade of Hydro-Electric Power Stations On the Optmal Control of a Cascade of Hydro-Electrc Power Statons M.C.M. Guedes a, A.F. Rbero a, G.V. Smrnov b and S. Vlela c a Department of Mathematcs, School of Scences, Unversty of Porto, Portugal;

More information

Optimal outpatient appointment scheduling

Optimal outpatient appointment scheduling Health Care Manage Sc (27) 1:217 229 DOI 1.17/s1729-7-915- Optmal outpatent appontment schedulng Gudo C. Kaandorp Ger Koole Receved: 15 March 26 / Accepted: 28 February 27 / Publshed onlne: 23 May 27 Sprnger

More information

A Novel Methodology of Working Capital Management for Large. Public Constructions by Using Fuzzy S-curve Regression

A Novel Methodology of Working Capital Management for Large. Public Constructions by Using Fuzzy S-curve Regression Novel Methodology of Workng Captal Management for Large Publc Constructons by Usng Fuzzy S-curve Regresson Cheng-Wu Chen, Morrs H. L. Wang and Tng-Ya Hseh Department of Cvl Engneerng, Natonal Central Unversty,

More information

An Analytical Model of Web Server Load Distribution by Applying a Minimum Entropy Strategy

An Analytical Model of Web Server Load Distribution by Applying a Minimum Entropy Strategy Internatonal Journal of Coputer and Councaton Engneerng, Vol. 2, No. 4, July 203 An Analytcal odel of Web Server Load Dstrbuton by Applyng a nu Entropy Strategy Teeranan Nandhakwang, Settapong alsuwan,

More information

INSTITUT FÜR INFORMATIK

INSTITUT FÜR INFORMATIK INSTITUT FÜR INFORMATIK Schedulng jobs on unform processors revsted Klaus Jansen Chrstna Robene Bercht Nr. 1109 November 2011 ISSN 2192-6247 CHRISTIAN-ALBRECHTS-UNIVERSITÄT ZU KIEL Insttut für Informat

More information

In our example i = r/12 =.0825/12 At the end of the first month after your payment is received your amount in the account, the balance, is

In our example i = r/12 =.0825/12 At the end of the first month after your payment is received your amount in the account, the balance, is Payout annutes: Start wth P dollars, e.g., P = 100, 000. Over a 30 year perod you receve equal payments of A dollars at the end of each month. The amount of money left n the account, the balance, earns

More information

Loop Parallelization

Loop Parallelization - - Loop Parallelzaton C-52 Complaton steps: nested loops operatng on arrays, sequentell executon of teraton space DECLARE B[..,..+] FOR I :=.. FOR J :=.. I B[I,J] := B[I-,J]+B[I-,J-] ED FOR ED FOR analyze

More information

Risk-based Fatigue Estimate of Deep Water Risers -- Course Project for EM388F: Fracture Mechanics, Spring 2008

Risk-based Fatigue Estimate of Deep Water Risers -- Course Project for EM388F: Fracture Mechanics, Spring 2008 Rsk-based Fatgue Estmate of Deep Water Rsers -- Course Project for EM388F: Fracture Mechancs, Sprng 2008 Chen Sh Department of Cvl, Archtectural, and Envronmental Engneerng The Unversty of Texas at Austn

More information

Virtual machine resource allocation algorithm in cloud environment

Virtual machine resource allocation algorithm in cloud environment COMPUTE MOELLIN & NEW TECHNOLOIES 2014 1(11) 279-24 Le Zheng Vrtual achne resource allocaton algorth n cloud envronent 1, 2 Le Zheng 1 School of Inforaton Engneerng, Shandong Youth Unversty of Poltcal

More information

THE METHOD OF LEAST SQUARES THE METHOD OF LEAST SQUARES

THE METHOD OF LEAST SQUARES THE METHOD OF LEAST SQUARES The goal: to measure (determne) an unknown quantty x (the value of a RV X) Realsaton: n results: y 1, y 2,..., y j,..., y n, (the measured values of Y 1, Y 2,..., Y j,..., Y n ) every result s encumbered

More information

International Journal of Information Management

International Journal of Information Management Internatonal Journal of Inforaton Manageent 32 (2012) 409 418 Contents lsts avalable at ScVerse ScenceDrect Internatonal Journal of Inforaton Manageent j our nal ho e p age: www.elsever.co/locate/jnfogt

More information