The Multi-Inter-Distance Constraint

Size: px
Start display at page:

Download "The Multi-Inter-Distance Constraint"

Transcription

1 The Mult-Inter-Dstance Constrant Perre Ouellet Unversté Laval Département d nformatque et de géne logcel perre.ouellet.4@ulaval.ca Claude-Guy Qumper Unversté Laval Département d nformatque et de géne logcel claude-guy.qumper@ft.ulaval.ca Abstract We ntroduce the MULTI-INTER-DISTANCE constrant that ensures no more than m varables are assgned to values lyng n a wndow of p consecutve values. Ths constrant s useful for modelng schedulng problems where tasks of processng tme p compete for m dentcal resources. We present a propagator that acheves bounds consstency n cubc tme. Experments show that ths new constrant offers a much stronger flterng than an edge-fnder and that t allows to solve larger nstances of the runway schedulng problem. Introducton Constrant solvers offer many ways to model schedulng problems. The constrant ALL-DIFFERENT (Régn 1994) ensures that at most one task starts at a gven tme. When there are m resources, the GCC (Régn 1996) lmts the number of tasks startng at a gven tme to m. These two constrants are useful when tasks have a unt processng tme. When processng tmes are greater than one unt, the INTER-DISTANCE (Artouchne & Baptste 2005; Qumper, López-Ortz, & Pesant 2006) constrant makes sure that the startng tmes are at least p unts of tme apart. When processng tmes dffer for each task, the CUMULATIVE (Mercer & Hentenryck 2008; Vlím 2009) constrant allows to model ths stuaton. All constrants, except the CUMULATIVE constrant, offer a complete flterng of the release tmes and deadlnes of the task n polynomal tme. Ths flterng s NP-Hard for the CUMULATIVE constrant. However, there exsts no flterng algorthm that prunes the release tmes and deadlnes when the processng tme of each task s p and when there are m > 1 resources. We ntroduce the MULTI-INTER-DISTANCE constrant and ts frst flterng algorthm achevng bounds consstency. Ths constrant complements the offerng of constrant solvers. We show that ths constrant s very effcent to solve problems such as the runway schedulng problem. The MULTI-INTER-DISTANCE Constrant The MULTI-INTER-DISTANCE constrant lmts the number of varables assgned n a wndow of p consecutve values to m. Defnton 1 formally presents the constrant. Copyrght c 2011, Amercan Assocaton for Artfcal Intellgence ( All rghts reserved. Defnton 1 MULTI-INTER-DISTANCE([X 1,..., X n ], m, p) s satsfed f and only f at most m varables X are assgned to a value n any wndow of p consecutve values. More formally, we have the followng logcal dentty. MULTI-INTER-DISTANCE([X 1,..., X n ], m, p) v { X [v, v + p)} m The MULTI-INTER-DISTANCE s a generalzaton of well known constrants. When p = 1 and m = 1, the MULTI-INTER-DISTANCE constrant specalzes nto an ALL-DIFFERENT constrant. When p = 1 and m > 1, the MULTI-INTER-DISTANCE encodes a GCC where each value can be assgned to at most m varables. Fnally, wth m = 1 and p > 1, the MULTI-INTER-DISTANCE becomes an INTER-DISTANCE constrant. On the other hand, the MULTI-INTER-DISTANCE constrant s a specalzaton of the CUMULATIVE constrant. Each varable can be seen as the startng tme of a task that consumes one unt of resource durng a perod of tme p where the cumulatve capacty of the resources s m. Two results emerge from these relatons among the constrants. Snce t s NP-Hard to enforce doman consstency on the INTER-DISTANCE constrant (Artouchne, Baptste, & Dürr 2004), t s necessarly NP-Hard to enforce doman consstency on the MULTI-INTER-DISTANCE. Because the edge-fnder (Mercer & Hentenryck 2008; Vlím 2009) does not enforce bounds consstency on the INTER-DISTANCE (Artouchne & Baptste 2005), t does not enforce bounds consstency on the MULTI-INTER-DISTANCE ether. We show how to detect feasblty of the MULTI-INTER-DISTANCE constrant n quadratc tme. We then show how bounds consstency can be enforced n cubc tme. General Background We consder constrant satsfacton problems where varables are assgned to nteger values. The doman of a varable X s denoted dom(x ). We assume that the doman of a varable dom(x ) = [l, u ) s a sem-open nterval where l and u are called the lower bound and upper bound of the doman. The value of the varable X must be greater than or equal to l and must be strctly smaller than u.

2 An nterval support for a value v dom(x ) wth respect to a constrant C(X 1,..., X n ) s a tuple t satsfyng three condtons for j 1..n: 1) l j t[j] < u j, 2) t[] = v and 3) the tuple (t[1],..., t[n]) satsfes the constrant C. A constrant s bounds consstent f l and u 1 have an nterval support for all = 1..n. Enforcng bounds consstency on a constrant conssts of ncreasng the lower bounds and decreasng the upper bounds of the domans untl all bounds have an nterval support. Example 1 shows the result of enforcng bounds consstency on the MULTI-INTER-DISTANCE constrant. Example 1 We consder the constrant MULTI-INTER-DISTANCE([X 1, X 2, X 3, X 4, X 5 ], m, p) wth m = 2, p = 3, and the followng domans. dom(x 1 ) = [7, 9) dom(x 2 ) = [2, 4) dom(x 3 ) = [4, 7) dom(x 4 ) = [2, 7) dom(x 5 ) = [3, 5) The domans are sem-open ntervals whch mples that the value 1 belongs to the doman of X 1 but the value 9 does not belong to the doman of X 1. Enforcng bounds consstency on the MULTI-INTER-DISTANCE shrnks the domans as follows. dom(x 1 ) = [8, 9) dom(x 2 ) = [2, 3) dom(x 3 ) = [5, 7) dom(x 4 ) = [5, 7) dom(x 5 ) = [3, 4) Testng for Satsfacton n Polynomal Tme The MULTI-INTER-DISTANCE has a strong connecton to schedulng problems. Consder the constrant MULTI-INTER-DISTANCE([X 1,..., X n ], m, p) where the doman of the varable X s the sem-open nterval [l, u ). The varable X can be consdered as the startng tme of a task whose processng tme s p, whose release tme s l, and whose deadlne s u + p 1. A total of m dentcal resources execute the tasks concurrently wthout preempton. The MULTI-INTER-DISTANCE constrant s satsfable f and only f there exsts a schedule. Ths schedulng problem can be solved n polynomal tme. The best algorthm (López-Ortz & Qumper 2011) so far has a worst-case tme complexty of O(n 2 mn(1, p m )). The algorthm fnds a vald schedule by computng a shortest path n a schedulng graph (Dürr & Hurand 2009). Ths secton provdes a descrpton of ths graph and ts propertes. The schedulng graph s the key concept on whch the flterng algorthm s based. Let l mn = mn l and u max = max u be the smallest lower bound and the greatest upper bound of a varable doman. The schedulng graph G has a node v for every nteger l mn v u max. There s a forward edge of weght m from node v to node v + p for all l mn v u max p. For every par of lower bound and upper bound l < u j, there s a backward edge (u j, l ) of weght {k l l k u k u j }. The absolute value of the weght of the backward edge (u j, l ) s the number of varables whose doman s contaned n the nterval [l, u j ). A backward edge can have a null weght. There s a null edge from any node v + 1 to node v of weght 0 for all v [l mn, u max ). Fnally, there s α\β Table 1: The weght matrx of the schedulng graph of Example 1. Empty entres ndcate the lack of an edge between nodes α and β.. an edge (l mn, u max ) of weght n where n s the arty of the MULTI-INTER-DISTANCE constrant. Table 1 shows the weght matrx of the schedulng graph of the problem depcted n Example 1. The schedulng graph has mportant propertes that we state here. Theorem 1 provdes the suffcent and necessary condton to test whether the schedulng problem has a soluton. Theorem 1 ((López-Ortz & Qumper 2011)) The schedulng problem has a soluton f and only f the schedulng graph has no negatve cycles. Theorem 2 ((López-Ortz & Qumper 2011)) Testng whether there s a negatve cycle n the schedulng graph can be done n O(n 2 mn(1, p m )) tme. Theorems 1 and 2 allow to test the satsfablty of the constrant n quadratc tme. In the next sectons, we reuse ths result to desgn an effcent flterng algorthm. Condtons to Mantan Bounds Consstency Our flterng algorthm detects forbdden sets of values that cannot be assgned to a set of varables. For the ALL- DIFFERENT constrant, these sets are called Hall ntervals (Leconte 1996). For the MULTI-INTER-DISTANCE, we call them forbdden regons. We present lemmas that detect these forbdden regons. To test whether an nterval [a, b) s a forbdden regon to whch a varable X s subject, one can modfy the doman of X to be [a, b) and test the satsfablty of the problem. If the schedulng graph of the transformed problem has a negatve cycle, then [a, b) s a forbdden regon for X. We defne the altered schedulng graph G v lke the schedulng graph wth one excepton, we alter the upper bound of the doman of X such that the new doman becomes [l, v). If G v has a negatve cycle, the constrant has no soluton and we conclude that X v. Table 1 gves the weght matrx of the graph G. Decrementng bold entres by one results n the altered schedulng graph G 5 3. In the graph G 5 3, the edges (5, 2) and(2, 5) form a cycle of weght -1 whch proves that X 3 5. The followng theorem shows how a forbdden regon for one varable can also be a forbdden regon for another varable.

3 Theorem 3 Let X and X j be two varables whose domans satsfy u u j. If the values n [l, v) have no nterval support n dom(x ), then they do not have an nterval support n dom(x j ) ether. Proof: We prove the contraposton: f there exsts a value a [l, v) that has an nterval support n the doman of X j then there exsts a value b [l, v) that has an nterval support n the doman of X. Suppose there exsts an nterval support t such that t[j] [l, v), we want to prove that there exsts an nterval support t such that t [] [l, v). Two cases can occur. If t[] t[j] then the nequaltes l t[] t[j] < v hold and t[] [l, v). The theorem holds wth t = t. However, f t[] > t[j] the nequaltes l j t[j] < t[] u u j hold. We can permute the values t[] and t[j] to obtan the support t. We have t [] = t[j] [l, v) and t [j] = t[] [l j, u j ) hence t s a vald support. In Example 1, the graph G 5 3 has a negatve cycle whch proves that [4, 5) s a forbdden regon for X 3. Theorem 3 also makes [4, 5) a forbdden regon for the varable X 4. The dstance matrx D G of a graph G s a square matrx such that D G [a, b] s the shortest dstance between node a and node b n graph G. Ths matrx exsts only f there are no negatve cycles n the graph G. When comparng the schedulng graph G of Example 1 and the altered schedulng graph G 5 3, one sees that the weghts of a subset of the edges are decremented by one. Ths can only lead to shorter paths n G 5 3 than n G. Lemma 1 captures ths property. Lemma 1 Let G be the schedulng graph of a problem where the domans are gven by the ntervals [l, u ) for 1 n. Let G be the schedulng graph of the same problem except that the doman of X s changed to [l, u ) where l l < u u holds. Thus D G [a, b] D G [a, b] holds for all pars of nodes (a, b). Proof: The weght of a backward edge (u j, l k ) s mnus the number of varable domans contaned n the nterval [l k, u j ). If the doman of a varable s shrunk, the weght of the backward edges can be decremented by one or reman unchanged. These changes to the schedulng graph can only favor shorter paths. However, the backward edges outgong from u or ncomng to l may not exst n G as u and l may not be doman bounds after shrnkng the doman of X. Let (u f, l e ) be a backward edge n G such that f = e =. We prove that the edge (u f, l e ) n G can be replaced by an equvalent path n G. Let u f = max({u k u k u f k } {u }) and let l e = mn({l k l e k } {l }). The weght of the backward edge (u f, l e) n G s the same as the weght of the backward edge (u f, l e ) n G. Moreover, we have l e l e and u f u f. Any path n G passng by the edge (u f, l e ) can be replaced by a sequence of null edges from u f to u f, then passng by the edge (u f, l e), and completng wth a sequence of null edges from l e to l e. Ths path n G has the same weght as the edge (u f, l e ) n G. Let U = {u 1..n} be the set of the doman upper bounds and let u = mn{u U u > l } be the smallest upper bound that does not make the nterval [l, u ) empty. The altered schedulng graph G u gves nformaton about how the lower bound of X can be fltered. If G u has a negatve cycle, then X u and the lower bound l can be safely ncreased to u. If G u has no negatve cycle, then Theorem 4 and Theorem 5 ndcates how to prune the lower bound of varable X. Theorem 4 Let X be a varable subject to a MULTI-INTER-DISTANCE constrant. Let u be the smallest upper bound that s greater than l, and let G u be ts assocated altered schedulng graph. Suppose ths graph has no negatve cycle. Let t be the largest value such that the dstance D G u [l, t] s null. Values smaller than t n the doman of X have no nterval support. Proof: Snce G u has no negatve cycles, there exsts at least one soluton wth X [l, u ) where u = mn{u k u k > l }. Let t be the largest value for whch the shortest dstance n G u from l to t s null. We prove by contradcton that t < u. Suppose t u. The weght of the edge (u, l ) s at most -1 snce t fully contans the altered doman of X. Contradctorly, there s a negatve cycle n G u startng from l, gong to t through a path of weght zero (by defnton of t), passng by the null edges (t, t 1), (t 1, t 2),..., (u + 1, u ) wth weght zero, and then gong back to l usng the edge (u, l ) wth weght at most -1. Therefore, t < u. Knowng that t < u, we construct the altered schedulng graph G t usng the orgnal varable domans except for X for whch we use the doman dom(x ) = [l, t). The edge (t, l ) has a negatve weght snce the nterval [l, t) contans the doman of X. The dstance from l to t s null n G u and, by Lemma 1, no greater than 0 n G t. Therefore, there s a negatve cycle n G t passng by the edge (t, l ) whch mples that no values n [l, t) have an nterval support n dom(x ). To llustrate Theorem 4, consder the varable X 1 n Example 1. The smallest upper bound that s greater than the lower bound 7 s u = 9. The altered schedulng graph G 9 1 s dentcal to the schedulng graph G. The path (7, 2), (2, 5), (5, 8) has a null weght n G 9 1. By Theorem 4, there s no vald assgnment wth X 1 < 8. Theorem 4 shows there s no nterval support X [l, t). Theorem 5 shows that there s an nterval support for X = t. Theorem 5 Let X be a varable subject to a MULTI-INTER-DISTANCE constrant. Let u be the smallest upper bound that s greater than l, and let G u be ts assocated altered schedulng graph. Suppose ths graph has no negatve cycle. Let t be the largest value such that the dstance D G u [l, t] s null. The value t has an nterval support n the doman of X. Proof: We construct the schedulng graph G t+1 usng the orgnal varable domans except for X for whch we use the doman [l, t + 1). If one proves that G t+1 has

4 no negatve cycle, then one proves there s a soluton wth X [l, t + 1). Theorem 4 ensures that X t leavng X = t as the unque vald assgnment for the varable X. The graph G t+1 has no negatve cycles when t + 1 = u. Indeed, n that specfc case, the graphs G t+1 and G u are by constructon dentcal. From the proof of Theorem 4, we know that t u. We therefore need to prove that G t+1 has no negatve cycles when t + 1 < u. Let u q be the greatest upper bound that s strctly smaller than u. By constructon, there s no upper bounds greater than l and smaller than u, thus u q < l. The null edges form a path from l to u q whch mples D G t+1[l, u q ] 0. Consder any lower bound l p that s smaller than or equal to l. The doman dom(x ) = [l, t + 1) s the only one that s not contaned n the nterval [l p, u q ) but s contaned n the nterval [l p, t + 1), thus w(u q, l p ) = w(t + 1, l p ) 1. The graphs G u and G t+1 are very smlar. They only dffer by the addtons of backward edges (t + 1, l q ) for all lower bound l q l. It s therefore suffcent to prove that any cycle passng by these edges has a non-negatve weght. Snce the addton of the edges leavng t + 1 does not affect the paths leadng to t + 1, we have D G t+1[l, t + 1] = D G u [l, t + 1]. By the defnton of t, we obtan 0 < D G u [l, t + 1] = D G t+1[l, t + 1]. The consequence of ths nequalty s that any path gong from l to t + 1 has a postve weght and n partcular, a path gong from l to t + 1 passng by the edge (u q, l p ) has postve weght. 0 < D G t+1 [l, u q ] + w(u q, l p ) + D G t+1[l p, t + 1] (1) By substtutng w(u q, l p ) = w(t + 1, l p ) 1 and D G t+1[l, u q ] 0 n (1) we prove that all cycles passng by the edge (t + 1, l p ) are non-negatve. 0 < 0 + w(t + 1, l p ) D G t+1[l p, t + 1] (2) 0 w(t + 1, l p ) + D G t+1[l p, t + 1] (3) In Example 1, the path (7, 2), (2, 5), (5, 8) n G 9 1 has a null weght whch certfes that there exsts an nterval support for 8 n the doman of X 1. Ths nterval support s t = [8, 2, 5, 6, 3]. A Flterng Algorthm Achevng Bounds Consstency The flterng algorthm for the MULTI-INTER-DISTANCE s a drect applcaton of Theorem 3, Theorem 4, and Theorem 5. The algorthm on Fgure 1 processes the varables n non-decreasng order of doman upper bounds. When processng X, the algorthm updates the lower bound l accordng to prevously dscovered fobdden regons. Then t computes the value u that s the smallest doman upper bound greater than l. Based on ths value, the algorthm tests whether the schedulng graph G u has a negatve cycle. If so, the algorthm stores n the data structure F the newly detected forbdden regon [l, u ). Because the algorthm processes varables n non-decreasng order of upper bounds, Theorem 3 ensures that the nterval [l, u ) s a forbdden regon for all unprocessed varables. On ts next teraton, the lower bound l s ncreased to avod all forbdden regons, ncludng the newly dscovered one. Ths process contnues untl the schedulng graph G u contans no negatve cycles. When the schedulng graph G u contans no negatve cycles, Theorem 4 and Theorem 5 apply. The algorthm computes the shortest path from node l to all the other nodes and fnds the node t whch s the largest one whose dstance from node l s null. From Theorem 4, we know that values smaller than t have no nterval support n the doman of the current varable. The algorthm removes them from the doman by ncreasng the value of l. Fnally, Theorem 5 guarantees that the lower bound of each varable doman has an nterval support upon completon of the algorthm. Algorthm 1: PruneLowerBounds([X 1,..., X n ]) Sort the varables such that u u +1 U {u 1,..., u n } F for 1..n do repeat l mn([l, u ) \ F ) u mn((l, u ] U) Let G u be the altered schedulng graph wth dom(x ) = [l, u ) Compute the shortest dstances D G u [l, t] from node l to all the other nodes t f there s a negatve cycle n G u then F F [l, u ) untl there s no negatve cycles n G u l max({t D G u [l, t] = 0}) Computng the sngle-source shortest path n the schedulng graph should be done wth care. Indeed, the schedulng graph has as many nodes as the number of values n the domans. These domans can be very large especally n schedulng problems where domans represent tme ntervals. (López-Ortz & Qumper 2011) showed how to compute the shortest path from the rght-most node to all the other nodes n O(n 2 mn(1, p m )) steps whch s strongly polynomal and nvarant n the cardnalty of the varable domans. The algorthm s an adaptaton of the Bellman- Ford algorthm (Cormen et al. 2001) whch ntalzes a dstance vector that keeps track of the dstances from the node l to all the other nodes. Snce the rght-most node can reach all the other nodes va the null edges, the dstance vector s ntalzed to zero and as new paths are explored, the dstance vector s updated wth smaller values. To compute the shortest path from l to all the other nodes, the dstance vector should be ntalzed to zero for all the nodes smaller than or equal to l and n for all the nodes that are greater than l. Indeed, any node t can be reached by gong to l mn through the null edges, then gong to u max usng the edge (l mn, u max ), and fnally usng the null edges to go to t. Ths

5 smple adaptaton to the shortest path algorthm s suffcent to compute the shortest path from the source node l to all the other nodes or to detect a negatve cycle. The runnng tme complexty remans O(n 2 mn(1, p m )). The computaton of shortest paths domnates the algorthms s complexty. Lemma 2 The algorthm PruneLowerBounds performs at least n and at most 3n 1 shortest path computatons where n s the number of varables. Proof: Computng the shortest path of an altered schedulng graph leads to two possble outcomes: the graph has negatve cycles or t does not. If the graph has no negatve cycles, the repeat loop termnates. Ths occurs exactly n tmes, once for each varable. If the graph has negatve cycles, the algorthm loops and create the forbdden regon [l, u ). The value u s a doman upper bound. Each tme a new forbdden regon s created, one of two events can occur: 1) a doman upper bound becomes for the frst tme the open upper bound of a forbdden regon 2) a doman upper bound gets ncluded n forbdden regon. These two events can occur only once for each upper bound at the excepton of the largest upper bound u max for whch only the frst event can occur. Therefore, the algorthm creates at most 2n 1 forbdden regons and performs at most 3n 1 shortest path computatons. The shortest path problem s solved n O(n 2 mn(1, p m )) steps when usng the algorthm of (López-Ortz & Qumper 2011) and modfyng the ntal state of the dstance vector as descrbed above. The total runnng tme complexty of the flterng algorthm s therefore O(n 3 mn(1, p m )) whch s never more than O(n 3 ). Prunng the upper bounds can be done by prunng the lower bounds n a symmetrc problem where dom(x ) = [ u, l ). When prunng the lower bounds, the value u s ncreased whch s equvalent to decrease the upper bound u n the orgnal problem. Experments We experment the MULTI-INTER-DISTANCE on the runway schedulng problem as presented n (Artouchne & Baptste 2005). Ths problem conssts of determnng the order n whch n arplanes should land on a runway. We consder an arport wth m runways allowng smultaneous landngs. Each arplane labeled from 1 to n has multple dsjont tme wndows [a 1, b 1],..., [a k, b k ] n whch t s n poston to land. The goal s to make each arplane land wthn one of ts tme wndows whle maxmzng the tme gap p between each landng on a same runway. We model the problem wth two varables per arplane. The varable S defnes at what tme the arplane lands. The varable W [1, k ] defnes n whch tme wndow the arplane lands. The two varables are connected wth the constrants W w S b w and W w S a w. Fnally, there s a MULTI-INTER-DISTANCE posted on the vector of varables S wth fxed parameter p and m. We solve the problem for p = 1, 2, 4, 8,... untl the problem becomes nfeasble. We then perform a bnary search between the largest p for whch there exsts a soluton and the smallest p for whch we detect nfeasblty. We branch on the varables W followed by the varables S. For m = 1, we use the benchmark descrbed as the second set n (Artouchne & Baptste 2005). There are 64 nstances for each n {15, 30, 45, 60, 75, 90}. The number of tme wndows per arplane randomly vares from 1 to 5. We generate nstances for m = 2 and m = 3 by mergng nstances from the orgnal benchmark. As a rule, we merge nstances havng the same sze of tme wndows or the same gap between the tme wndows. Merged nstances also have a smlar number of arplanes. As m ncreases, we obtan nstances wth more arplanes. We mplement our soluton (denoted MID) usng the Choco Solver and compare t aganst two mplementatons of the cumulatve constrant that the solver provdes. The frst mplementaton performs an overload checkng (denoted OC) n O(n log n) usng a Θ- tree as desgned by (Vlím, Barták, & Cepek 2004). The second mplementaton (denoted MVH) s an mplementaton of the edge-fnder (Mercer & Hentenryck 2008) n O(n 2 ). Experments are run arbtrarly on an Opteron GHz and an Opteron GHz. Runnng tmes may vary dependng on whch processor executes the program. Fgure 1 shows that MID solves more problems n a gven tme for m {1, 2, 3} than MVH and OC. The dfference n performance becomes more promnent as m ncreases. For m = 3, MID solves 134 nstances n 20 mnutes, MVH solves 3 nstances, and OC solves none. Table 2 shows that MID solves the problem wth sgnfcantly fewer backtracks. MVH performs fewer backtracks as n ncreases ndcatng that the flterng gets slower and fewer nodes are vsted wthn 20 mnutes. m = 1 m {2, 3} Fgure 1: Number of solved problems vs tme.

6 m = 1 m = 2 m = 3 n OC MVH MID MVH MID MVH MID 15 94% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % 775 Table 2: Percentage of problems that generated backtracks and average number of backtracks for a perod of 20 mnutes for each of these problems. Concluson We ntroduced the MULTI-INTER-DISTANCE constrant. We made the connecton between ths constrant and the propertes of the shortest paths n the schedulng graph. We appled these propertes n the desgn of the frst flterng algorthm achevng bounds consstency. Ths new constrant s very successful at solvng large nstances of the runway schedulng problem. The theorems we proved about the MULTI-INTER-DISTANCE constrant may lead n the future to the desgn of better flterng algorthms for related constrants such as the INTER-DISTANCE and the CUMULATIVE constrants. Acknowledgments We would lke to thank Arnaud Malapert for hs support wth the Choco solver and the revewers for helpng us smplfyng the proof of Theorem 3. Ths research s supported by a NSERC Dscovery Grant. References Artouchne, K., and Baptste, P Inter-dstance constrant: An extenson of the all-dfferent constrant for schedulng equal length jobs. In Proc. of the 11th Int. Conf. on Prncples and Practce of Constrant Programmng, Artouchne, K.; Baptste, P.; and Dürr, C Runway schedulng wth holdng loop. In Proc. of 2nd Int. Workshop on Dscrete Optmzaton Methods n Producton and Logstcs, Cormen, T. H.; Sten, C.; Rvest, R. L.; and Leserson, C. E Introducton to Algorthms. McGraw-Hll Hgher Educaton, 2nd edton. Dürr, C., and Hurand, M Fndng total unmodularty n optmzaton problems solved by lnear programs. Algorthmca. DOI /s Leconte, M A bounds-based reducton scheme for constrants of dfference. In Proc. of the Constrant Int. Workshop on Constrant-Based Reasonng, López-Ortz, A., and Qumper, C.-G A fast algorthm for mult-machne schedulng problems wth jobs of equal processng tmes. In In 28th Int. Symp. on Theoretcal Aspects of Computer Scence (to appear n STACS 11). Mercer, L., and Hentenryck, P. V Edge fndng for cumulatve schedulng. INFORMS Journal on Computng 20(1): Qumper, C.-G.; López-Ortz, A.; and Pesant, G A quadratc propagator for the nter-dstance constrant. In Proc. of the 21st Nat. Conf. on Artfcal Intellgence (AAAI 06), Régn, J.-C A flterng algorthm for constrants of dfference n CSPs. In Proc. of the 11th Natonal Conference on Artfcel Intellgence (AAAI-94), Régn, J.-C Generalzed arc consstency for global cardnalty constrant. In Proc. of the 8th Annual Conference on Innovatve Applcatons of Artfcal Intellgence, Vlím, P.; Barták, R.; and Cepek, O Unary resource constrant wth optonal actvtes. In Proc. of the 10th Int. Conference on Prncples and Practce of Constrant Programmng, Vlím, P Edge fndng flterng algorthm for dscrete cumulatve resources n o(kn log n). In Proc. of the 15th Int. Conference on Prncples and Practce of Constrant Programmng,

The Minimum Universal Cost Flow in an Infeasible Flow Network

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

More information

Kernel Methods and SVMs Extension

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

More information

NP-Completeness : Proofs

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

More information

Problem Set 9 Solutions

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

More information

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

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

More information

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

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

More information

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

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

More information

Combining Constraint Programming and Integer Programming

Combining Constraint Programming and Integer Programming Combnng Constrant Programmng and Integer Programmng GLOBAL CONSTRAINT OPTIMIZATION COMPONENT Specal Purpose Algorthm mn c T x +(x- 0 ) x( + ()) =1 x( - ()) =1 FILTERING ALGORITHM COST-BASED FILTERING ALGORITHM

More information

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

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

More information

Calculation of time complexity (3%)

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

More information

Computing Correlated Equilibria in Multi-Player Games

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

More information

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

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

More information

MMA and GCMMA two methods for nonlinear optimization

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

More information

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

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

More information

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

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

More information

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

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

More information

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

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

More information

Feature Selection: Part 1

Feature Selection: Part 1 CSE 546: Machne Learnng Lecture 5 Feature Selecton: Part 1 Instructor: Sham Kakade 1 Regresson n the hgh dmensonal settng How do we learn when the number of features d s greater than the sample sze n?

More information

More metrics on cartesian products

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

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

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

More information

An Interactive Optimisation Tool for Allocation Problems

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

More information

A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS

A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS HCMC Unversty of Pedagogy Thong Nguyen Huu et al. A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS Thong Nguyen Huu and Hao Tran Van Department of mathematcs-nformaton,

More information

TRANSPOSE ON VERTEX SYMMETRIC DIGRAPHS

TRANSPOSE ON VERTEX SYMMETRIC DIGRAPHS TRANSPOSE ON VERTEX SYMMETRIC DIGRAPHS Vance Faber Center for Computng Scences, Insttute for Defense Analyses Abstract. In [] (and earler n [3]), we defned several global communcaton tasks (unversal exchange,

More information

Numerical Heat and Mass Transfer

Numerical Heat and Mass Transfer Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and

More information

On the Multicriteria Integer Network Flow Problem

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

More information

Min Cut, Fast Cut, Polynomial Identities

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

More information

Embedded Systems. 4. Aperiodic and Periodic Tasks

Embedded Systems. 4. Aperiodic and Periodic Tasks Embedded Systems 4. Aperodc and Perodc Tasks Lothar Thele 4-1 Contents of Course 1. Embedded Systems Introducton 2. Software Introducton 7. System Components 10. Models 3. Real-Tme Models 4. Perodc/Aperodc

More information

Module 9. Lecture 6. Duality in Assignment Problems

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

More information

Errors for Linear Systems

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

More information

Lecture 10 Support Vector Machines II

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

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 )

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 ) Kangweon-Kyungk Math. Jour. 4 1996), No. 1, pp. 7 16 AN ITERATIVE ROW-ACTION METHOD FOR MULTICOMMODITY TRANSPORTATION PROBLEMS Yong Joon Ryang Abstract. The optmzaton problems wth quadratc constrants often

More information

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

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

More information

Foundations of Arithmetic

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

More information

Assortment Optimization under MNL

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

More information

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

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

More information

Lecture Notes on Linear Regression

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

More information

Lecture 5 Decoding Binary BCH Codes

Lecture 5 Decoding Binary BCH Codes Lecture 5 Decodng Bnary BCH Codes In ths class, we wll ntroduce dfferent methods for decodng BCH codes 51 Decodng the [15, 7, 5] 2 -BCH Code Consder the [15, 7, 5] 2 -code C we ntroduced n the last lecture

More information

Outline. Communication. Bellman Ford Algorithm. Bellman Ford Example. Bellman Ford Shortest Path [1]

Outline. Communication. Bellman Ford Algorithm. Bellman Ford Example. Bellman Ford Shortest Path [1] DYNAMIC SHORTEST PATH SEARCH AND SYNCHRONIZED TASK SWITCHING Jay Wagenpfel, Adran Trachte 2 Outlne Shortest Communcaton Path Searchng Bellmann Ford algorthm Algorthm for dynamc case Modfcatons to our algorthm

More information

5 The Rational Canonical Form

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

More information

EEE 241: Linear Systems

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

More information

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

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

More information

SOLVING CAPACITATED VEHICLE ROUTING PROBLEMS WITH TIME WINDOWS BY GOAL PROGRAMMING APPROACH

SOLVING CAPACITATED VEHICLE ROUTING PROBLEMS WITH TIME WINDOWS BY GOAL PROGRAMMING APPROACH Proceedngs of IICMA 2013 Research Topc, pp. xx-xx. SOLVIG CAPACITATED VEHICLE ROUTIG PROBLEMS WITH TIME WIDOWS BY GOAL PROGRAMMIG APPROACH ATMII DHORURI 1, EMIUGROHO RATA SARI 2, AD DWI LESTARI 3 1Department

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

Lecture 11. minimize. c j x j. j=1. 1 x j 0 j. +, b R m + and c R n +

Lecture 11. minimize. c j x j. j=1. 1 x j 0 j. +, b R m + and c R n + Topcs n Theoretcal Computer Scence May 4, 2015 Lecturer: Ola Svensson Lecture 11 Scrbes: Vncent Eggerlng, Smon Rodrguez 1 Introducton In the last lecture we covered the ellpsod method and ts applcaton

More information

Global Optimization of Truss. Structure Design INFORMS J. N. Hooker. Tallys Yunes. Slide 1

Global Optimization of Truss. Structure Design INFORMS J. N. Hooker. Tallys Yunes. Slide 1 Slde 1 Global Optmzaton of Truss Structure Desgn J. N. Hooker Tallys Yunes INFORMS 2010 Truss Structure Desgn Select sze of each bar (possbly zero) to support the load whle mnmzng weght. Bar szes are dscrete.

More information

HMMT February 2016 February 20, 2016

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

More information

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

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

More information

Finding Primitive Roots Pseudo-Deterministically

Finding Primitive Roots Pseudo-Deterministically Electronc Colloquum on Computatonal Complexty, Report No 207 (205) Fndng Prmtve Roots Pseudo-Determnstcally Ofer Grossman December 22, 205 Abstract Pseudo-determnstc algorthms are randomzed search algorthms

More information

The Study of Teaching-learning-based Optimization Algorithm

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

More information

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

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

More information

CHAPTER 17 Amortized Analysis

CHAPTER 17 Amortized Analysis CHAPTER 7 Amortzed Analyss In an amortzed analyss, the tme requred to perform a sequence of data structure operatons s averaged over all the operatons performed. It can be used to show that the average

More information

Copyright 2017 by Taylor Enterprises, Inc., All Rights Reserved. Adjusted Control Limits for P Charts. Dr. Wayne A. Taylor

Copyright 2017 by Taylor Enterprises, Inc., All Rights Reserved. Adjusted Control Limits for P Charts. Dr. Wayne A. Taylor Taylor Enterprses, Inc. Control Lmts for P Charts Copyrght 2017 by Taylor Enterprses, Inc., All Rghts Reserved. Control Lmts for P Charts Dr. Wayne A. Taylor Abstract: P charts are used for count data

More information

On the correction of the h-index for career length

On the correction of the h-index for career length 1 On the correcton of the h-ndex for career length by L. Egghe Unverstet Hasselt (UHasselt), Campus Depenbeek, Agoralaan, B-3590 Depenbeek, Belgum 1 and Unverstet Antwerpen (UA), IBW, Stadscampus, Venusstraat

More information

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chnese for ther wonderful remander theorem. Glenn Stevens 1. Introducton The Chnese remander theorem says we can unquely solve any par of

More information

BOUNDEDNESS OF THE RIESZ TRANSFORM WITH MATRIX A 2 WEIGHTS

BOUNDEDNESS OF THE RIESZ TRANSFORM WITH MATRIX A 2 WEIGHTS BOUNDEDNESS OF THE IESZ TANSFOM WITH MATIX A WEIGHTS Introducton Let L = L ( n, be the functon space wth norm (ˆ f L = f(x C dx d < For a d d matrx valued functon W : wth W (x postve sem-defnte for all

More information

Maximizing the number of nonnegative subsets

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

More information

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

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

More information

Module 2. Random Processes. Version 2 ECE IIT, Kharagpur

Module 2. Random Processes. Version 2 ECE IIT, Kharagpur Module Random Processes Lesson 6 Functons of Random Varables After readng ths lesson, ou wll learn about cdf of functon of a random varable. Formula for determnng the pdf of a random varable. Let, X be

More information

Lecture 4. Instructor: Haipeng Luo

Lecture 4. Instructor: Haipeng Luo Lecture 4 Instructor: Hapeng Luo In the followng lectures, we focus on the expert problem and study more adaptve algorthms. Although Hedge s proven to be worst-case optmal, one may wonder how well t would

More information

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

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

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the

More information

On a direct solver for linear least squares problems

On a direct solver for linear least squares problems ISSN 2066-6594 Ann. Acad. Rom. Sc. Ser. Math. Appl. Vol. 8, No. 2/2016 On a drect solver for lnear least squares problems Constantn Popa Abstract The Null Space (NS) algorthm s a drect solver for lnear

More information

ECE559VV Project Report

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

More information

LECTURE 9 CANONICAL CORRELATION ANALYSIS

LECTURE 9 CANONICAL CORRELATION ANALYSIS LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of

More information

Complement of Type-2 Fuzzy Shortest Path Using Possibility Measure

Complement of Type-2 Fuzzy Shortest Path Using Possibility Measure Intern. J. Fuzzy Mathematcal rchve Vol. 5, No., 04, 9-7 ISSN: 30 34 (P, 30 350 (onlne Publshed on 5 November 04 www.researchmathsc.org Internatonal Journal of Complement of Type- Fuzzy Shortest Path Usng

More information

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

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

More information

Introductory Cardinality Theory Alan Kaylor Cline

Introductory Cardinality Theory Alan Kaylor Cline Introductory Cardnalty Theory lan Kaylor Clne lthough by name the theory of set cardnalty may seem to be an offshoot of combnatorcs, the central nterest s actually nfnte sets. Combnatorcs deals wth fnte

More information

Edge Isoperimetric Inequalities

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

More information

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

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

More information

First day August 1, Problems and Solutions

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

More information

Random Walks on Digraphs

Random Walks on Digraphs Random Walks on Dgraphs J. J. P. Veerman October 23, 27 Introducton Let V = {, n} be a vertex set and S a non-negatve row-stochastc matrx (.e. rows sum to ). V and S defne a dgraph G = G(V, S) and a drected

More information

An efficient algorithm for multivariate Maclaurin Newton transformation

An efficient algorithm for multivariate Maclaurin Newton transformation Annales UMCS Informatca AI VIII, 2 2008) 5 14 DOI: 10.2478/v10065-008-0020-6 An effcent algorthm for multvarate Maclaurn Newton transformaton Joanna Kapusta Insttute of Mathematcs and Computer Scence,

More information

DUE: WEDS FEB 21ST 2018

DUE: WEDS FEB 21ST 2018 HOMEWORK # 1: FINITE DIFFERENCES IN ONE DIMENSION DUE: WEDS FEB 21ST 2018 1. Theory Beam bendng s a classcal engneerng analyss. The tradtonal soluton technque makes smplfyng assumptons such as a constant

More information

Entropy Coding. A complete entropy codec, which is an encoder/decoder. pair, consists of the process of encoding or

Entropy Coding. A complete entropy codec, which is an encoder/decoder. pair, consists of the process of encoding or Sgnal Compresson Sgnal Compresson Entropy Codng Entropy codng s also known as zero-error codng, data compresson or lossless compresson. Entropy codng s wdely used n vrtually all popular nternatonal multmeda

More information

On the Interval Zoro Symmetric Single-step Procedure for Simultaneous Finding of Polynomial Zeros

On the Interval Zoro Symmetric Single-step Procedure for Simultaneous Finding of Polynomial Zeros Appled Mathematcal Scences, Vol. 5, 2011, no. 75, 3693-3706 On the Interval Zoro Symmetrc Sngle-step Procedure for Smultaneous Fndng of Polynomal Zeros S. F. M. Rusl, M. Mons, M. A. Hassan and W. J. Leong

More information

Perron Vectors of an Irreducible Nonnegative Interval Matrix

Perron Vectors of an Irreducible Nonnegative Interval Matrix Perron Vectors of an Irreducble Nonnegatve Interval Matrx Jr Rohn August 4 2005 Abstract As s well known an rreducble nonnegatve matrx possesses a unquely determned Perron vector. As the man result of

More information

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique Outlne and Readng Dynamc Programmng The General Technque ( 5.3.2) -1 Knapsac Problem ( 5.3.3) Matrx Chan-Product ( 5.3.1) Dynamc Programmng verson 1.4 1 Dynamc Programmng verson 1.4 2 Dynamc Programmng

More information

a b a In case b 0, a being divisible by b is the same as to say that

a b a In case b 0, a being divisible by b is the same as to say that Secton 6.2 Dvsblty among the ntegers An nteger a ε s dvsble by b ε f there s an nteger c ε such that a = bc. Note that s dvsble by any nteger b, snce = b. On the other hand, a s dvsble by only f a = :

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Amusing Properties of Odd Numbers Derived From Valuated Binary Tree

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

More information

APPENDIX A Some Linear Algebra

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

More information

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 493 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces you have studed thus far n the text are real vector spaces because the scalars

More information

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan 2/21/2008. Notes for Lecture 8

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan 2/21/2008. Notes for Lecture 8 U.C. Berkeley CS278: Computatonal Complexty Handout N8 Professor Luca Trevsan 2/21/2008 Notes for Lecture 8 1 Undrected Connectvty In the undrected s t connectvty problem (abbrevated ST-UCONN) we are gven

More information

On the set of natural numbers

On the set of natural numbers On the set of natural numbers by Jalton C. Ferrera Copyrght 2001 Jalton da Costa Ferrera Introducton The natural numbers have been understood as fnte numbers, ths wor tres to show that the natural numbers

More information

Exercises. 18 Algorithms

Exercises. 18 Algorithms 18 Algorthms Exercses 0.1. In each of the followng stuatons, ndcate whether f = O(g), or f = Ω(g), or both (n whch case f = Θ(g)). f(n) g(n) (a) n 100 n 200 (b) n 1/2 n 2/3 (c) 100n + log n n + (log n)

More information

COS 521: Advanced Algorithms Game Theory and Linear Programming

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

More information

Generalized Linear Methods

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

More information

The equation of motion of a dynamical system is given by a set of differential equations. That is (1)

The equation of motion of a dynamical system is given by a set of differential equations. That is (1) Dynamcal Systems Many engneerng and natural systems are dynamcal systems. For example a pendulum s a dynamcal system. State l The state of the dynamcal system specfes t condtons. For a pendulum n the absence

More information

Estimation: Part 2. Chapter GREG estimation

Estimation: Part 2. Chapter GREG estimation Chapter 9 Estmaton: Part 2 9. GREG estmaton In Chapter 8, we have seen that the regresson estmator s an effcent estmator when there s a lnear relatonshp between y and x. In ths chapter, we generalzed the

More information

Some modelling aspects for the Matlab implementation of MMA

Some modelling aspects for the Matlab implementation of MMA Some modellng aspects for the Matlab mplementaton of MMA Krster Svanberg krlle@math.kth.se Optmzaton and Systems Theory Department of Mathematcs KTH, SE 10044 Stockholm September 2004 1. Consdered optmzaton

More information

LOW BIAS INTEGRATED PATH ESTIMATORS. James M. Calvin

LOW BIAS INTEGRATED PATH ESTIMATORS. James M. Calvin Proceedngs of the 007 Wnter Smulaton Conference S G Henderson, B Bller, M-H Hseh, J Shortle, J D Tew, and R R Barton, eds LOW BIAS INTEGRATED PATH ESTIMATORS James M Calvn Department of Computer Scence

More information

This is the Pre-Published Version.

This is the Pre-Published Version. Ths s the Pre-Publshed Verson. Abstract In ths paper we consder the problem of schedulng obs wth equal processng tmes on a sngle batch processng machne so as to mnmze a prmary and a secondary crtera. We

More information

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm Desgn and Optmzaton of Fuzzy Controller for Inverse Pendulum System Usng Genetc Algorthm H. Mehraban A. Ashoor Unversty of Tehran Unversty of Tehran h.mehraban@ece.ut.ac.r a.ashoor@ece.ut.ac.r Abstract:

More information

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE Analytcal soluton s usually not possble when exctaton vares arbtrarly wth tme or f the system s nonlnear. Such problems can be solved by numercal tmesteppng

More information

4DVAR, according to the name, is a four-dimensional variational method.

4DVAR, according to the name, is a four-dimensional variational method. 4D-Varatonal Data Assmlaton (4D-Var) 4DVAR, accordng to the name, s a four-dmensonal varatonal method. 4D-Var s actually a drect generalzaton of 3D-Var to handle observatons that are dstrbuted n tme. The

More information

CHAPTER III Neural Networks as Associative Memory

CHAPTER III Neural Networks as Associative Memory CHAPTER III Neural Networs as Assocatve Memory Introducton One of the prmary functons of the bran s assocatve memory. We assocate the faces wth names, letters wth sounds, or we can recognze the people

More information

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION 1 2 MULTIPLIERLESS FILTER DESIGN Realzaton of flters wthout full-fledged multplers Some sldes based on support materal by W. Wolf for hs book Modern VLSI Desgn, 3 rd edton. Partly based on followng papers:

More information

Supporting Information

Supporting Information Supportng Informaton The neural network f n Eq. 1 s gven by: f x l = ReLU W atom x l + b atom, 2 where ReLU s the element-wse rectfed lnear unt, 21.e., ReLUx = max0, x, W atom R d d s the weght matrx to

More information

Optimization Methods for Engineering Design. Logic-Based. John Hooker. Turkish Operational Research Society. Carnegie Mellon University

Optimization Methods for Engineering Design. Logic-Based. John Hooker. Turkish Operational Research Society. Carnegie Mellon University Logc-Based Optmzaton Methods for Engneerng Desgn John Hooker Carnege Mellon Unerst Turksh Operatonal Research Socet Ankara June 1999 Jont work wth: Srnas Bollapragada General Electrc R&D Omar Ghattas Cl

More information