Large-scale packing of ellipsoids

Size: px
Start display at page:

Download "Large-scale packing of ellipsoids"

Transcription

1 Large-scale packng of ellpsods E. G. Brgn R. D. Lobato September 7, 017 Abstract The problem of packng ellpsods n the n-dmensonal space s consdered n the present work. The proposed approach combnes heurstc technques wth the resoluton of recently ntroduced nonlnear programmng models n order to construct solutons wth a large number of ellpsods. Numercal experments llustrate that the ntroduced approach delvers good qualty solutons wth a computatonal cost that scales lnearly wth the number of ellpsods; and a soluton wth more than a mllon ellpsods n the three-dmensonal space s exhbted. Keywords: Packng, ellpsods, nonlnear programmng, models, algorthms. 1 Introducton The problem of packng ellpsods has a number of mportant applcatons, whch nclude the desgn of hgh-densty ceramc materals, the formaton and growth of crystals [8, 5], the structure of lquds, crystals and glasses [3], the flow and compresson of granular materals [14, 15, 16], the thermodynamcs of lqud to crystal transton [1, 7, 4], the chromosome organzaton n human cell nucle [7], and the modelng of vascular network formaton []. See also [9, 10, 11, 1, 13, 1] and the references theren for more applcatons. In the last years, several works [4, 5, 17, 18, 19, 0, 3, 6] addressed the problem of packng ellpsods usng nonlnear programmng models and technques. On the one hand, n [17, 18], global solutons to small-szed nstances (up to three ellpses or ellpsods) were sought. On the other hand, good qualty solutons to medum- and large-szed nstances were obtaned n [4, 5] by seekng local mnmzers of nonlnear programmng models. The models proposed n [4] have a number of varables and constrants that s quadratc n the number of ellpsods beng packed; ths beng the man lmtaton for obtanng good qualty solutons for nstances wth more than a hundred ellpsods. Models wth a number of varables and constrants that s expected to be lnear wth respect to the number of ellpsods beng packed were ntroduced n [5]. Usng those Ths work was supported by FAPESP (grants 01/3916-8, 013/ , 013/ , 013/ , 015/ , 016/ , and 017/ ) and CNPq (grant /014-1). Department of Computer Scence, Insttute of Mathematcs and Statstcs, Unversty of São Paulo, Rua do Matão 1010, Cdade Unverstára, , São Paulo, SP, Brazl. E-mal: egbrgn@me.usp.br Department of Appled Mathematcs, Insttute of Mathematcs, Statstcs, and Scentfc Computng, State Unversty of Campnas, Rua Sérgo Buarque de Holanda 651, , Campnas, SP, Brazl. E-mal: lobato@me.usp.br 1

2 models, solutons wth up to fve hundred ellpsods can be obtaned. Anyway, the nonlnear programmng models that need to be solved are hghly nonconvex and, n general, exstent state-of-the-art methods are not capable of fndng good qualty local mnmzers of nstances wth, say, a thousand ellpsods. In the present work, we consder the problem of packng the maxmum number of ellpsods wthn a gven contaner. We present an heurstc approach based on the nonlnear programmng models ntroduced n [4, 5]. The computatonal cost of the proposed method scales lnearly wth the number of ellpsods and, therefore, huge nstances can be consdered. The aforementoned works consdered the problem of packng a gven collecton of ellpsods wthn a volume-mnmzng contaner. If the number of ellpsods m s very small, global mnmzers (wth a certfcate of optmalty) of the contnuous and dfferentable nonlnear programmng models proposed n [4, 5], as well as the models consdered n [17, 18, 19, 0, 3, 6], can be obtaned consderng state-of-the-art global optmzaton software. For medum- and large-szed nstances (m up to, say, a thousand), state-of-the-art solvers for nonlnear programmng may be able to fnd statonary ponts assocated wth good qualty solutons to the packng problem. For nstances wth larger values of m, the nonconvexty of the models make almost mpractcable to fnd statonary ponts assocated wth reasonable solutons to the packng problem. The rest of ths paper s organzed as follows. In Secton, we state the problem consdered n ths work and ntroduce some notaton. In Secton 3, we present the model ntroduced n [5] to avod the overlappng between ellpsods. In Secton 4.1, we present a smple and general algorthm to solve the problem of packng the largest possble number of ellpsods nsde a gven contaner. In Secton 4., we propose some strateges that can be used to compose the general algorthm. To deal wth the case where the number of ellpsods to be packed s large, we present what we call the solaton constrants n Secton 4.3. These are addtonal constrants to the model to prevent large groups of ellpsods from overlappng and thus reducng the total number of varables and constrants of the model. The complete nonlnear programmng model and algorthm are presented n Secton 5. Some mplementaton detals are dscussed n Secton 6. Fnally, we present numercal experments n Secton 7 and draw some conclusons n Secton 8. The computer mplementaton of the method ntroduced n the present work and the solutons reported n Secton 7 are freely avalable at Problem defnton and notaton We represent an ellpsod n R n by the set E = {x R n (x c) QP 1 Q (x c) 1}, where c R n s the center of the ellpsod, Q R n n s an orthogonal matrx that determne the prncpal axes of the ellpsod, and P R n n s a postve defnte dagonal matrx so that the egenvalues of P 1 are the lengths of the sem-axes of the ellpsod. We denote by nt(e) the nteror of E,.e., nt(e) = {x R n (x c) QP 1 Q (x c) < 1}. Also, we denote by E the fronter of E,.e., E = {x R n (x c) QP 1 Q (x c) = 1}. The k-th standard bass vector (.e., the vector whose k-th components s equal to one and have all the other components equal to zero) s denoted by e k. The largest egenvalue of a matrx M s denoted by λ max (M). In ths paper, we consder the problem of packng the maxmum number of ellpsods wthn a gven contaner. The ellpsods must not overlap each other and they must be entrely nsde the

3 contaner. Formally, gven a set C R n, whch we call the contaner, and a sequence of (n n)- dmensonal postve defnte dagonal matrces {P } =1, the objectve s to fnd the maxmum nonnegatve number m and the ellpsods E = {x R n (x c ) Q P 1 Q (x c ) 1}, for I = {1,..., m }, n such a way that 1. nt(e ) nt(e j ) = for all, j I wth j;. E C for all I. By fndng an ellpsod E we mean determnng a vector c R n and an orthogonal matrx Q R n n. If P = P for all then the problem reduces to the problem of packng as many dentcal ellpsods (wth sem-axs lengths gven by the square roots of the dagonal entres of P ) as possble wthn the contaner C. 3 Non-overlappng and contanment models In [4] and [5], nonlnear programmng models for the non-overlappng of ellpsods were ntroduced. Snce they are the foundaton of the methodology proposed n ths paper, we brefly summarze these models n Secton 3.1. Besdes avodng the overlap between the ellpsods, t s requred the ellpsods to be nsde a gven contaner. In Secton 3., t s presented a model to nclude an ellpsod wthn a half-space, whch was ntroduced n [4]. Ths model wll be used to buld a cubodal contaner and also to construct the so called solaton constrants that wll be presented n Secton Non-overlappng model and Consder the ellpsods E and E j n R n defned as E = {x R n (x c ) Q P 1 Q (x c ) 1} E j = {x R n (x c j ) Q j P 1 j Q j (x c j ) 1}, where c and c j n R n are ther centers and Q and Q j are orthogonal matrces n R n n that determne ther orentaton. For example, for n =, we can represent Q as ( ) cos θ Q = sn θ, sn θ cos θ whereas, for n = 3, we can represent Q as Q = cos θ cos ψ sn φ sn θ cos ψ cos φ sn ψ sn φ sn ψ + cos φ sn θ cos ψ cos θ sn ψ cos φ cos ψ + sn φ sn θ sn ψ cos φ sn θ sn ψ sn φ cos ψ sn θ sn φ cos θ cos φ cos θ The parameters θ (when n = ) and θ, φ, and ψ (when n = 3) are called rotaton angles of the ellpsod. We denote by Ω R q the vector of rotaton angles of the -th ellpsod (q = 1 when. 3

4 n = and q = 3 when n = 3). The dea of the model presented n [4] s to transform one of the ellpsods nto a ball so that the problem of avodng the overlap between two ellpsods becomes the problem of preventng the overlap between a ball and an ellpsod. By lettng T j : R n R n be the lnear transformaton defned by T j (x) = P 1 Q (x c j ) (1) and applyng ths transformaton to the ellpsods E and E j, we obtan { and E j = respectvely, where The result s that E j x R n [ ] [ ] } x P 1 Q (c c j ) x P 1 Q (c c j ) 1 E j j = {x R n x S j x 1}, S j = P 1 Q Q j P 1 j Q j Q P 1. s a unt-radus ball and E j j between E and E j s equvalent to requrng that the ball E j (see Lemma 3.1 n [5]). Snce E j s an ellpsod, so that avodng the overlap and the ellpsod E j j do not overlap s a unt-radus ball, t does not overlap the ellpsod E j f and only f ts center s outsde of the ellpsod and ts dstance to the fronter of the ellpsod s at least one. Let c j denote the center of the ball E j. By Proposton 4.1 n [4], f cj / nt(e j j ), then we can wrte for a unque x j R n n the fronter of E j j the projecton of c j x j E j j onto E j j and some µ j 0, then c j the dstance between c j for E j of ellpsods: and E j j not to overlap wth E j µ j c j = x j + µ j S j x j () and a unque scalar µ j 0. Moreover, x j R n s. By Proposton 4. n [4], f cj j / nt(e j j ) and x j s the projecton of c j can be wrtten as n () for some onto E j j. Hence, s gven by c j x j = µ j S j x j, whch must be at least one. Hence, we obtan the followng model for the non-overlappng x js j x j = 1,, j I such that < j (3) S j x j 1,, j I such that < j (4) P 1 Q (c c j ) = x j + µ j S j x j,, j I such that < j (5) µ j 0,, j I such that < j (6) where I = {1,..., m} s the set of ndces of the ellpsods beng packed. Snce ths model has a quadratc number of varables and constrants on the number of ellpsods to be packed, t becomes rapdly hard to be solved as the number of ellpsods grows. In order to allevate ths complexty, a model wth a lnear number of varables and constrants was ntroduced n [5]. j 4

5 To reduce the number of constrants, the constrants of model (3) (6) are frst replaced by ther respectve squared nfeasblty measures where o(c, c j, Ω, Ω j, x j, µ j ; P, P j ) = 0,, j I such that < j, ( ) o(c, c j, Ω, Ω j, x j, µ j ; P, P j ) = x j( P 1 Q ) (c c j ) x j µj + max{0, ɛ j µ j } + x j + µ j S j x j P 1 Q (c c j ) + { } max 0, 1 P 1 Q (c c j ) x j, and then combned nto m 1 constrants as follows: m j=+1 o(c, c j, Ω, Ω j, x j, µ j ; P, P j ) = 0, I \ {m}. To reduce the number of varables, for each, j I such that < j, the varables x j and µ j are replaced wth X j X (c, c j, Ω, Ω j ; P, P j ) and U j U(c, c j, Ω, Ω j ; P, P j ), respectvely, where X j s a soluton to the problem mnmze x x c j subject to x S j x = 1, and U j s the correspondng Lagrange multpler. Therefore, the non-overlappng constrants can be fnally wrtten as m j=+1 f(c, c j, Ω, Ω j ; P, P j ) = 0, I \ {m}, (7) where { } f(c, c j, Ω, Ω j ; P, P j ) = max 0, 1 P 1 Q (c c j ) X (c, c j, Ω, Ω j ; P, P j ) + (8) max{0, ɛ j U(c, c j, Ω, Ω j ; P, P j )} and ɛ j = ɛ(p, P j ) = λ mn (P 1 )λ mn (P 1 )λ mn (P j )λ mn (P 1 j ) > 0; see [4, Prop. 4.3] for detals. It s worth notcng that, f the ellpsods E and E j are far from each other then f(c, c j, Ω, Ω j ; P, P j ) s null and, thus, the quanttes X (c, c j, Ω, Ω j ; P, P j ) and U(c, c j, Ω, Ω j ; P, P j ) do not need to be computed. 5

6 3. Contanment model The dea to nclude an ellpsod wthn a half-space s smlar to that of avodng the overlap between ellpsods. A transformaton s appled to the ellpsod so that t becomes a ball. The same transformaton s then appled to the half-space, whch transforms t nto another halfspace. The problem of ncludng an ellpsod wthn a half-space then becomes the equvalent problem of ncludng a ball wthn a half-space. Consder the ellpsod E = {x R n (x c ) Q P 1 Q (x c ) 1}, where c R n, Q R n n s orthogonal, and P R n n s postve defnte and dagonal. Let T : R n R n be the lnear transformaton defned by T (x) = P 1 Q x. (9) By applyng transformaton T to E, we obtan the unt-radus ball E = {x R n (x P 1 Q c ) (x P 1 Q c ) 1}. Now, consder the half-space H = {x R n w x s}, where w R n, w 0, and s R, and let H be the set obtaned when transformaton T s appled to the half-space H,.e., H = {x R n w Q P 1 x s}. Requrng E H s equvalent to requrng E H. For E to be contaned n H, the center c of E must belong to H, and the dstance between c and the fronter H = {x R n w Q P 1 x = s} of H must be at least one (the radus of the ball E ). Snce the dstance d(c, H ) from c to the fronter of H s gven by these condtons are therefore d(c, H ) = w Q P 1 c s P 1, Q w (w Q P 1 c s) P 1 Q w Snce c = P 1 Q c, condtons (10) can be equvalently wrtten as ( w c s ) P 1 1 and w c s. Q w 1 and w Q P 1 c s. (10) 6

7 4 Incremental packng of ellpsods 4.1 Model algorthm Brefly, the algorthm to pack ellpsods nsde a gven contaner s as follows. At each teraton, a certan number of ellpsods (that were packed n prevous teratons) are already arranged wthn the contaner. Once these ellpsods are packed, they are fxed n ther postons (ther centers and rotatons are fxed). Then, a new group of ellpsods s packed, so that they do not overlap each other and do not overlap wth the ellpsods already fxed. At the k-th teraton of the algorthm, let F k = {1,..., m k 1 } be the set formed by the ndces of the ellpsods already packed and fxed n ther postons and let N k = {m k 1 + 1,..., m k } be the set of ndces of the new ellpsods. In order to pack the new ellpsods, we must ensure that () they are arranged nsde the contaner, () do not overlap each other, and () do not overlap wth the ellpsods already fxed. So, consderng a contaner C R n and the models presented n Sectons 3.1 and 3., at the k-th teraton of the algorthm, we must fnd a soluton to the feasblty problem gven by E C, N k, (11) f(c, c j, Ω, Ω j ; P, P j ) = 0, N k F k, (1) j N k j> where f s as defned n (8). The varables of ths model are c R n and Q R n n for each N k. Notce that c and Q for each F k are constants, snce the ellpsods n F k have already been fxed. 4. Packng strategy The algorthm descrbed n the last secton requres the new ellpsods to be nsde the contaner, not to overlap each other, and not to overlap wth the ellpsods already packed. However, those constrants descrbe a feasblty problem and they do not specfy how the new ellpsods should be packed. Snce the goal s to pack as many ellpsods as possble, the ellpsods should stay tghtly grouped wthn the contaner. An attempt to acheve ths result s to mnmze, n some sense, the heghts of the ellpsods to be packed. The dea s that the new ellpsods become n contact wth other ellpsods already packed, so that the ellpsods are well packed nsde the contaner. Gven an ellpsod E, we defne two heghts assocated wth t: the lower and the upper heght. The lower heght s defned as mn{x n x E} and the upper heght s defned as max{x n x E}, where x n s the n-th component of x. Snce the goal s to mnmze these heghts, we need a smple way to model them. One way of dong ths s to model the upper and lower heghts of an ellpsod by supportng hyperplanes. The dea s to consder hyperplanes that support the ellpsod precsely at the ponts that realze the lower and upper heghts. Consder the half-space S = {x R n w x s}, where w R n and s R, and the ellpsod E = {x R n (x c ) Q P 1 Q (x c ) 1}, where c R n, Q R n n s orthogonal, and P R n n s dagonal and postve defnte. We saw n Secton 3. that, n order to ensure that the ellpsod be contaned n the half-space S, we can smply requre the center of the ellpsod to 7

8 belong to that half-space and the dstance between the center of the ball E and the fronter of the half-space S, obtaned by transformaton T defned n (9), be at least one. To ensure that S supports the ellpsod E, we can just change the mnmum dstance condton and requre t to be exactly one. Therefore, the condtons ( w c s ) P 1 = 1 and w c s (13) Q w guarantee that the hyperplane S supports the ellpsod E. Moreover, f we take w = e n, the n- th standard bass vector, then S wll support the ellpsod E at the pont arg max{x n x E }, and we wll necessarly have s = max{x n x E }. If we take w = e n, then S wll support the ellpsod E at the pont arg mn{x n x E }, and we wll have s = mn{x n x E }. In order to mnmze the upper heght of the ellpsod, we can then consder the problem of mnmzng s subject to (11,1,13) wth w = e n n (13). In an analogous way, n order to mnmze the lower heght of the ellpsod, t s enough to consder the problem of mnmzng s subject to (11,1,13) wth w = e n n (13). As we wll see n Secton 7, experments n the three-dmensonal space show that the packed ellpsod tends to have ts sem-major axs parallel to the upper plane when ts upper heght s mnmzed (the ellpsod s standng ). On the other hand, when the lower heght s mnmzed, the tendency s that the sem-mnor axs remans parallel to the upper plane (the ellpsod s lyng ). To avod ths knd of behavor, whch can result n poor qualty solutons, we can consder the mnmzaton of a convex combnaton of the lower and upper heghts. Let s nf and s sup denote the lower and upper heghts of ellpsod E, respectvely. For a gven ξ [0, 1], we defne an ntermedate heght as ξs nf + (1 ξ)s sup. Snce [c ] n, the n-th component of the center of the ellpsod, s equal to 1 (s nf + s sup), we can wrte s nf = [c ] n s sup. Then, ξs nf + (1 ξ)s sup = ξ[c ] n + (1 ξ)s sup. Hence, to mnmze the ntermedate heght, we can add the varable s sup and the constrants ( e n c s sup) P 1 Q e n = 1 and e n c s sup (14) to the model. For ξ = 1, we have the mnmzaton of the upper heght of the ellpsod beng packed. For ξ = 0, we have the mnmzaton of the lower heght of the ellpsod. For ξ = 1, we have the mnmzaton of [c ] n, the n-th component of the center of the ellpsod (whch we call the mddle heght). Notce that when ξ = 1, the varable s sup and the constrants (14) are not necessary. When N k > 1,.e., when there are more than one ellpsod beng packed at teraton k, we can mnmze the sum of the heghts of the ellpsods: N k ξ[c ] n + (1 ξ)s sup. 8

9 4.3 The solaton constrants In addton to ensurng that the new ellpsods (to be packed) do not overlap each other, we have to make sure that these ellpsods do not overlap wth the ellpsods prevously packed. Thus, the number of pars of ellpsods whose overlappng should be avoded grows as the number of prevously packed ellpsods ncreases. Ths makes the complexty of the evaluaton of the constrants of each subproblem to ncrease, makng each subproblem more and more dffcult to be solved. On the other hand, assumng that a suffcently large number of ellpsods has been packed, t s expected that there s no possblty for the new ellpsods to be n contact wth most of the fxed ellpsods, snce the latter should be surrounded by several other ellpsods. Let N be the set of the new ellpsods and F be the set formed by the ellpsods already packed and that cannot touch the new ellpsods n a feasble soluton. By addng constrants to ensure that the ellpsods n N are suffcently dstant from the ellpsods n F, we can remove the nonoverlappng constrants between these two groups of ellpsods. For ths change n the model to have the desred effect (makng the subproblems smpler), t s clear that the new constrants should be easer than the orgnal non-overlappng constrants. By easy constrants we mean constrants that are smaller n number, defned by smpler functons, and/or nvolve a small number of varables. We wll call these new constrants the solaton constrants. We say that an ellpsod s solated f t s possble to easly nfer that the solaton constrants ensure that the new ellpsods do not overlap wth the ellpsod n queston. We present Fgure 4.1 to llustrate the solaton of ellpsods. Consder the packng of ellpses nsde a rectangle. In Fgure 4.1(a), t s shown some ellpses already packed nsde the rectangle. Now consder the problem of packng a new ellpse. Due to the non-overlappng constrants, ths new ellpse could touch only the blue ellpses. The set F s formed by the green ellpses n Fgure 4.1(a). Now, consder the solaton constrant that requres the new ellpse to le above the lne llustrated n Fgure 4.1(b). Thus, the green ellpses are solated and the orgnal nonoverlappng constrants assocated wth these ellpses can be removed. Because of the smplcty of the solaton constrants, these constrants may solate ellpsods that could touch the new ellpsods n a feasble soluton (as t s the case for some green ellpses n Fgure 4.1(b)). Anyway, t s mportant to pont out that the solaton constrants ensure that the new ellpsods do not overlap wth the solated ellpsods. Even f the solaton constrants are not able to solate all ellpsods of F, the expectaton s that most of these ellpsods are solated and the subproblems have very low numbers of constrants and varables. 5 Complete model and algorthm Consder the case where the contaner C s the followng hypercube wth sde length l: C = {x R n l x l, {1,..., n}}. Ths hypercube can be modeled by n half-spaces, each one correspondng to a dfferent sde of the hypercube. Each sde of the hypercube can then be modeled accordng to the model presented n Secton 3.. Hence, the ncluson of ellpsod E = {x R n (x c ) Q P 1 Q (x c ) 1} 9

10 (a) (b) Fgure 4.1: Illustraton of the solaton constrants. (a) Ellpses already packed and fxed n ther postons. (b) The solaton constrant requres the new ellpse to be packed to le above the hghlghted lne. Only the red ellpses are consdered n the non-overlappng model. wthn C can be modeled by the followng constrants: ( ξe l c l/ ) P 1 Q e l 1, l {1,..., n}, ξ { 1, 1}, ξe l c l/, l {1,..., n}, ξ { 1, 1}. In our experments, we consdered two types of solaton constrants. The frst one constrans the new ellpsods to reman wthn a certan hyperrectangle R centered at u R n and whose sdes have length s > 0, wth the excepton of the sde along the n-th dmenson, whch has nfnty length: R = {x R n s/ x u s/, {1,..., n 1}}. (15) Smlarly to the hypercube model, the ncluson of ellpsod E wthn R can be modeled as: ( ξe l (c u) s/ ) P 1 Q e l 1, l {1,..., n 1}, ξ { 1, 1}, ξe l (c u) s/, l {1,..., n 1}, ξ { 1, 1}. 10

11 The second type of solaton constrant requres the new ellpsods to le wthn the followng half-space H: H = {x R n x n h}, (16) where h R. Therefore, the ncluson of ellpsod E wthn H can be modeled as: ( e n c h ) P 1 Q e n 1 and e n c h. Fnally, the non-overlappng can be modeled as n (7) and the upper heght of ellpsod E as n (14). Now, consder an teraton k of the algorthm. Let F k be the set of ndces of the ellpsods packed n prevous teratons, N k be the set of ndces of the ellpsods that must be packed at ths teraton, and F k F k be the set of ndces of fxed ellpsods that should be consdered n the non-overlappng constrants. After determnng the solaton constrants (parameters s > 0, u R n, and h R) and, consequently, the set F k, the problem that must be solved at ths teraton s the followng: mnmze ξ[c ] n + (1 ξ)s sup (17) N k subject to f(c, c j, Ω, Ω j ; P, P j ) = 0, N k F k, (18) j N k j> ( ξe l c l/ ) P 1 Q e l 1, N k, l {1,..., n}, ξ { 1, 1}, (19) ξe l c l/, N k, l {1,..., n}, ξ { 1, 1}, (0) ( ξe l (c u) s/ ) P 1 Q e 1, N k, l {1,..., n 1}, ξ { 1, 1}, (1) l ξe l (c u) s/, N k, l {1,..., n 1}, ξ { 1, 1}, () ( e n c h ) P 1 Q e 1, N k, (3) n e n c h, N k, (4) ( e n c s sup) P 1 Q e = 1, N k, (5) n e n c s sup, N k. (6) 11

12 Consderng that the problem (17) (6) may be nfeasble or that a local optmzaton solver may fal n fndng a feasble pont dependng on the ntal guess, we apply a mult-start strategy startng up to τ tmes from dfferent ntal guesses. The algorthm stops when, at a gven teraton k, t s not possble to solve the problem (17) (6) wthn τ trals. Therefore, we can summarze the algorthm as follows: Algorthm 1. Input: The contaner C and the lengths of the sem-axes of the ellpsods gven by the matrces {P } =1. Output: m (the number of ellpsods packed) and Q and c for {1,..., m }. Step 1. Let k 0. Step. Let k k + 1 and t 0. Step 3. Let t t + 1. If t > τ, stop. Step 3.1. Determne the set N k. Step 3.. Determne the solaton constrants. Step 3.3. Determne the set F k. Step 3.4. Determne the ntal soluton. Step 3.5. Try to solve the subproblem (17) (6). Step 3.6. Analyze the soluton found. Step 4. If the subproblem was solved, go to Step. Otherwse, go to Step 3. 6 Implementaton detals 6.1 Determnng the solaton constrants and the set F k The hyperrectangle R s defned by u R n and s > 0. The parameter s > 0 can be fxed snce the begnnng of the algorthm, but u must vary at each teraton of Step 3 of Algorthm 1 so that we can fll up the whole contaner wth ellpsods. We decded to choose each coordnate of u unformly random on the nterval [ l/, l/] at Step 3.. Once u s determned, we compute the set F k 0, whch wll be used to determne the second type of solaton constrants (constrants (3) and (3)). Ths s the set of ndces of ellpsods that were packed n prevous teratons of the algorthm and that could perhaps overlap wth an ellpsod that would be contaned n R. Ideally, F 0 k should be the set { F k E nt(r) }. (7) But snce t may be computatonally costly to fnd the set (7), we check for suffcent condtons that guarantee that E nt(r) =. The set F 0 k wll then be formed by ndces F k for whch t was not possble show that E nt(r) =. Hence, F 0 k wll be a (potentally proper) superset of (7). Let a denote the largest sem-axs length of ellpsod E,.e., a = λ max (P 1 ). Let B be the mnmal boundng sphere of E,.e., B = {x R n (x c ) (x c ) a }. 1

13 Fgure 6.1: Projecton of the three-dmensonal set R and the three-dmensonal ellpsod onto the x-y plane. It s easy to verfy whether B nt(r) =. And f B nt(r) =, then E nt(r) =. It may happen that E nt(r) = but B nt(r). In ths case, we verfy whether there exst ξ { 1, 1} and l {1,..., n 1} such that ( ξe l (c u) s/ ) P 1 Q e l 1 and ξe l (c u) s/. (8) If (8) s verfed for some ξ { 1, 1} and l {1,..., n 1}, then one of the sdes of R separates E from R and, therefore, E nt(r) =. Notce that t may be the case that E nt(r) = but none of those condtons could be verfed (and then such an ndex would unnecessarly belong to F k 0 ). Fgure 6.1 shows the projecton onto the x-y plane of an ellpsod n the threedmensonal space and the set R. Although ths ellpsod does not ntersect the nteror of R, none of the condtons above can be verfed. The dashed crcle represent the projecton of the mnmal boundng sphere of the ellpsod. Once the set F k 0 s computed, we are ready to defne the second type of solaton constrants. If F k 0 =, then the second type of solaton constrants s not necessary. Suppose that F k 0. As we see n (3) and (4), these solaton constrants are determned by the parameter h R. Let h 0 be the hghest mddle heght of an ellpsod n F k 0,.e., h 0 = max[c ] n, (9) F k 0 13

14 s γb (a) (b) (c) Fgure 6.: Selecton of the ellpsods to be consdered n the non-overlappng constrants. (a) Fxed ellpsods from the set F k. (b) Frst type of solaton constrants and determnaton of set F k 0 formed by the blue ellpsods. (c) Consderng also the second type of solaton constrants, the set F k s then formed by the red ellpsods. and b denote the largest sem-axs length among the new ellpsods,.e., b = max j N k λ max (P 1 j ). For a gven γ 0, we defne h = h 0 γb. Fnally, we let F k = { F 0 k E nt(h) = }. An llustratve example of the constructon of the set F k s gven n Fgure 6.. The ellpsods n F k, that were packed n prevous teratons, are shown n Fgure 6.(a). The hyperrectangle wth sde length s s hghlghted n Fgure 6.(b). A new ellpsod that s placed nsde ths hyperrectangle can only possbly overlap wth the blue ellpsods, whch therefore form the set F k 0. Once F k 0 s found, the second type of solaton constrants s defned. The hyperplane that determnes the half-space H (see (16)) s placed at a dstance γb from the center of the hghest (n the sense of maxmum mddle heght) ellpsod n F k 0 ; see Fgure 6.(c). Then, a new ellpsod placed nsde the hyperrectangle and above ths hyperplane can only overlap wth the red ellpsods, whch consttute the set F k. 6. Removng unnecessary constrants Let l {1,..., n 1} and ξ { 1, 1}. Consder the pars of constrants (19,0) and (1,) assocated wth l and ξ. Notce that only one par among these two are necessary n the model (17) (6), as one wll necessarly mples the other. Snce the objectve of the model s to mnmze the heght of the ellpsods, they wll be as low as possble from the top ld of the cube. In ths case, the constrants (19,0) assocated wth l = n and ξ = 1 would play no role n the model. We then remove these constrants and check whether they are satsfed when we obtan a soluton to the problem. Some advantages of removng these constrants from the model are that we can easly construct an ntal feasble soluton when the contaner s almost full and the number of constrants are reduced. 14

15 6.3 Defnng the ntal soluton The ntal soluton s defned by the centers and rotaton angles of the ellpsods n N k. Each rotaton angle of the ellpsods s unformly randomly chosen on the nterval [ π, π]. The center of the ellpsods are randomly chosen so that the ellpsod are assuredly nsde the contaner and satsfy the solaton constrants. For each N k, we defne the frst n 1 components of c to be [c ] l = max{ l/ + a, mn{l/ a, u l + β(s/ a )}}, for each l {1,..., n 1}, where β s a random varable that follows a unform dstrbuton on the nterval [ 1, 1]. If F k =, let h = l/. Otherwse, let h be defned as follows: h = max j F k {[c j ] n + a j }. Let r = F k + 1 and suppose that N k = {r, r + 1,..., r + N k 1}. For each N k, we defne the last component of the center of E to be [c ] n = h 1 + a + a j. Ths constructon guarantees that the ntal soluton s feasble: every ellpsod s nsde the contaner, satsfy the solaton constrants, and do not overlap wth any other ellpsod. 6.4 Solvng the subproblems and analyzng the soluton found We solve problem (17) (6) wth the nonlnear programmng solver Algencan [, 6] verson As we saw n Secton 6., after a soluton s returned by the solver, we must check whether t satsfes the constrants (19,0) assocated wth l = n and ξ = 1, snce we removed these constrants from the model. If they are not satsfed, then we declare that the soluton s not feasble. Even f the soluton s feasble, we must check whether ths soluton s reasonable. We say that a soluton s reasonable f t s feasble (t satsfes all constrants of the model (17) (6), ncludng (19,0) assocated wth l = n and ξ = 1), and each of the new packed ellpsods s optmally packed. An ellpsod wth ndex N k s optmally packed f at least one of the followng statements s true: 1. t touches the bottom sde of the contaner (.e., the constrant (19) assocated wth, l = n and ξ = 1 holds wth equalty); j=r. t touches an ellpsod packed n prevous teratons; 3. t touches another optmally packed ellpsod. If the soluton found s reasonable, we declare that the subproblem was solved. Otherwse, we declare that the subproblem was not solved. 15

16 6.5 Reducng the sze of N k Consder the stuaton where, at an teraton k of Algorthm 1, we want to pack N k > 1 ellpsods. Suppose that t s not possble to pack N k ellpsods after the τ trals of Step 3 of Algorthm 1. Ths stuaton naturally occurs when the contaner s almost full of ellpsods. However, t could be the case that t s possble to pack less than N k ellpsods. For example, consderng the contaner s almost full, t may not be possble to pack fve more ellpsods, but two new ellpsods could ft n the contaner. In order to consder ths stuaton and mprove Algorthm 1, we modfy Step 3 n the followng way. When t > τ, we stop Algorthm 1 f and only f N k = 1. If t > τ but N k > 1, we reduce the sze of N k by one unt, let t 0, and contnue agan from Step Objectve Gven ξ [0, 1], the objectve of problem (17) (6) s to mnmze the sum of the heghts of the ellpsods: N k ξ[c ] n + (1 ξ)s sup. When ξ = 1, the above expresson becomes smply [c ] n. N k In ths case, the varables s sup, for N k, and the constrants (5) (6) can be removed from the problem. 7 Numercal experments In our numercal experments, we consdered the problem of packng the maxmum number of three-dmensonal ellpsods wthn a cube. We consdered the non-overlappng model presented n Secton 3.1. We mplemented, n Fortran 90, the model (17) (6) and the optmzaton procedure descrbed n Secton 5. To solve the nonlnear programmng problems, we used Algencan [, 6] verson The models, the optmzaton procedure, and Algencan were compled wth the GNU Fortran compler (GCC) wth the -O3 opton enabled. The tests were run on a machne wth Intel R Xeon R Processor X5650, 8GB of RAM memory, and Ubuntu operatng system. Our computer mplementaton of the method and the solutons reported n ths secton are freely avalable at In our experments, we consdered the two types of solaton constrants descrbed n Secton 5. The frst one constrans the new ellpsods to reman wthn a hyperrectangle wth nfnte heght. The second type of solaton constrant requres the new ellpsods to le above a certan plane parallel to the x-y plane. The solaton constrants depend on some parameters. The frst type of solaton constrant depends on the choce of the lengths of the sdes of the hyperrectangle (parameter s R n (15)). As for the second type, we need to decde at whch pont the plane must pass through (parameter h R n (16)). Ideally, the presence of solaton constrants 16

17 should not affect the qualty of the soluton. Thus, we need to determne what would be good parameters for those constrants. Let b be the largest length of a sem-axs among the new ellpsods to be packed. We shall let s = ηb and h = h 0 γb (where h 0 s gven by (9)) for the factors η and γ varyng n the set {4, 5,..., 10}. Notce that the values of these parameters wll not change durng the executon of Algorthm 1. Another parameter that must be chosen s the sze of the set N k,.e., the number of ellpsods that must be packed at each teraton. We decded to let the sze of ths set be the same for all teratons (unless ths sze s reduced as explaned n Secton 6.5). We consdered sets of szes from 1 to 5. To assess the nfluence of these parameters on the qualty of the soluton, we consdered the packng of ellpsods wth sem-axs lengths 1, 0.75, and 0.5 wthn a cube wth sde length 30. The objectve s to mnmze the mddle heght of the ellpsods (.e., takng ξ = 1/ n (17) and thus mnmzng the sum of the n-th coordnate of the centers of the ellpsods), accordng to Algorthm 1 presented n Secton 5. At each teraton k of Algorthm 1, we use τ = 100,.e., we try to solve the subproblem at most 100 tmes. As explaned n Secton 6.5, f t was not possble to solve the subproblem after τ attempts, we reduce the sze of N k by one unt, and try to solve the subproblem agan wthn τ new attempts. Once the number of ellpsods to be packed s reduced, t s never ncreased agan. Tables 7.1 and 7. show the results we have obtaned when packng the ellpsods one by one, consderng N k = 1 for each teraton k. Each entry n these tables has two numbers and s assocated wth a partcular choce of η and γ. For Table 7.1, each entry shows the number of ellpsods that were packed (left) and the CPU tme n seconds (rght). As expected, the qualty of the soluton mproves as the length of the sde of the hyperrectangle ncreases. On the other hand, the behavor s not clear wth respect to the γ parameter, whch determne the heght of the hyperplane. Ths suggests that even for γ = 4, the hyperplane s low enough not to affect the qualty of the soluton. We can also gauge the mpact of η and γ by checkng whether the solaton constrants were actve at the soluton found at each teraton. Table 7. shows the number of teratons where the frst solaton constrant was actve (left) and the number of teratons where the second solaton constrant was actve (rght). When η = γ = 4, the second type of solaton constrant s actve only n two teratons out of 107, whch s a neglgble amount. For any other combnaton of values for η and γ, the second type of solaton constrant s never actve. Ths suggests that 4 can be a reasonable choce for the value of γ. Nevertheless, the frst type of solaton constrant s actve n a consderable number of teratons. For η = 4, ths constrant s actve around 48% of the teratons. For η = 10, ths fgure drops to 11%. Tables 7.3 and 7.4 show the results when the ellpsods are packed two by two; Tables 7.5 and 7.6 present the results when the ellpsods are packed three at a tme; Tables 7.7 and 7.8 show the results when the ellpsods are packed four at a tme; Tables 7.9 and 7.10 present the results when the ellpsods are packed fve by fve. Let N be the number of ellpsods that are packed at each teraton of the algorthm. We can observe that the CPU tme ncreases when N ncreases. Ths s because the subproblems become harder to solve when there are more ellpsods to pack at the same tme. However, the qualty of the soluton s not consderably mproved when N ncreases; t s almost the same for all N {1,, 3, 4, 5}. 17

18 Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.1: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng one ellpsod at a tme. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.: Number of subproblems n whch the frst type of solaton constrant was actve (left) and number of subproblems n whch the second type of solaton constrant was actve (rght), consderng the strategy of packng one ellpsod at a tme. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.3: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng two ellpsods at a tme. Table 7.1 shows the results when we pack one ellpsod at a tme and mnmze ts mddle heght (ξ = 1/). Now, we also consder the strategy of packng one ellpsod at a tme but mnmzng a dfferent heght. We consder the mnmzaton of the lower (ξ = 1), upper (ξ = 0), and a random heght of the ellpsod at each teraton. For the mnmzaton of the random heght, the value of ξ s determned rght before Step 3.5 of Algorthm 1 and s chosen unformly randomly on the nterval [0, 1]. Table 7.11 shows the results for the mnmzaton of the lower heght. Table 7.1 shows the results for the mnmzaton of the upper heght. Table 7.13 shows 18

19 Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.4: Number of subproblems n whch the frst type of solaton constrant was actve (left) and number of subproblems n whch the second type of solaton constrant was actve (rght), consderng the strategy of packng two ellpsods at a tme. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.5: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng three ellpsods at a tme. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.6: Number of subproblems n whch the frst type of solaton constrant was actve (left) and number of subproblems n whch the second type of solaton constrant was actve (rght), consderng the strategy of packng three ellpsods at a tme. the results for the mnmzaton of a random heght. We can observe that the qualty of the solutons s much lower than those found n prevous experments n whch the mddle heght was mnmzed. In Fgure 7.1, we show the graphcal representaton of the best soluton found for the mn- 19

20 Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.7: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng four ellpsods at a tme. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.8: Number of subproblems n whch the frst type of solaton constrant was actve (left) and number of subproblems n whch the second type of solaton constrant was actve (rght), consderng the strategy of packng four ellpsods at a tme. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.9: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng fve ellpsods at a tme. mzaton of each knd of heght of the ellpsod. Fgure 7.1(a) represents the soluton obtaned by mnmzng the mddle heght of the ellpsod to be packed. In ths case, 1073 ellpsods were packed. Fgure 7.1(b) represents the soluton found by mnmzng the lower heght of the ellpsod to be packed. In ths case, 1073 ellpsods were packed. We can notce that the sem-mnor axs of the ellpsods tends to be almost perpendcular to the base of the cube (the ellpsods are almost lyng ). In Fgure 7.1(c), we have the soluton wth 1081 ellpsods obtaned by mnmzng the upper heght of the ellpsod. We observe n ths case another trend: the ellp- 0

21 Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.10: Number of subproblems n whch the frst type of solaton constrant was actve (left) and number of subproblems n whch the second type of solaton constrant was actve (rght), consderng the strategy of packng fve ellpsods at a tme. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.11: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng one ellpsod at a tme and mnmzng the lower heght of the ellpsod. Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.1: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng one ellpsod at a tme and mnmzng the upper heght of the ellpsod. sods have ther sem-major axes nearly perpendcular to base of the cube (the ellpsods are almost standng ). Fgure 7.1(d) shows the soluton wth ellpsods found by mnmzng a random heght of the ellpsod. Contrary to what occurred n the mnmzaton of the lower and upper heghts, we cannot notce any postonng trend of the ellpsods when we mnmze the mddle or a random heght. They are postoned n a more vared way (they are messer ), whch should have contrbuted n gettng a hgher qualty soluton. We also consder the problem of packng non-dentcal ellpsods wthn a cube. In ths 1

22 Hyperrectangle sde length factor η Hyperplane heght factor γ Table 7.13: Number of ellpsods packed (left) and CPU tme n seconds (rght) consderng the strategy of packng one ellpsod at a tme and mnmzng a random heght of the ellpsod. experment, we chose the length of each sem-axs of each ellpsod to be unformly random on the nterval [0.1, 1]. The ellpsods were packed one at a tme wth ther mddle heghts beng mnmzed. Consderng a cube wth sde length 30 and usng the parameters η = 10, γ = 6, and τ = 100, we were able to pack 3860 ellpsods n h45m. Fgure 7. llustrates ths soluton. Fnally, n order to show that the computatonal cost of the ntroduced strategy scales lnearly wth the number of ellpsods beng packed, we consder the packng of ellpsods wth sem-axs lengths (1, 0.75, 0.5) wthn a cube wth sde length 140. We have chosen to pack one ellpsod at a tme and to mnmze the mddle heght of the ellpsod. We have also chosen η = 10, γ = 4, and τ = Fgure 7.3 shows the packng of 1,16,474 ellpsods. Ths soluton was found n 4d14h3m. 8 Concludng remarks The problem of packng ellpsods n the n-dmensonal space has been tackled through the applcaton of global and local nonlnear optmzaton technques n recent years. In all cases, only small- and medum-szed problems could be solved due to the nonconvexty of the hghly complex consdered models. In the present work, we ntroduced a methodology that uses nonlnear programmng models and methods for solvng small subproblems. In a constructve way, we were able to fnd solutons to packng problems wth a huge number of ellpsods. Assessng the qualty of the obtaned solutons, n the sense measurng n some way how far they are from a global soluton s an open queston that may be addressed n future research. On the other hand, the presented strategy s the frst one based on nonlnear programmng able to delver solutons to that knd of huge ellpsods packng problems.

23 (a) (b) (c) (d) Fgure 7.1: Packng of ellpsods wth sem-axs lengths (1, 0.75, 0.5) wthn a cube wth sde length 30. (a) 1073 ellpsods obtaned by mnmzng the mddle heght of the ellpsod. (b) 1073 ellpsods obtaned by mnmzng the lower heght. (c) 1081 ellpsods obtaned by mnmzng the upper heght. (c) ellpsods obtaned by mnmzng a random heght. 3

24 Fgure 7.: Packng of 3860 ellpsods wth unformly random sem-axs lengths n the nterval [0.1, 1] wthn a cube wth sde length 30. Ths soluton was found by packng ellpsods one by one, mnmzng the mddle heght, and usng η = 10, γ = 6, and τ =

25 Fgure 7.3: Packng of 1,16,474 ellpsods wth sem-axs lengths (1, 0.75, 0.5) wthn a cube wth sde length 140. Ths soluton was found by packng ellpsods one by one, mnmzng the mddle heght, and usng η = 10, γ = 4, and τ =

A nonlinear programming model with implicit variables for packing ellipsoids

A nonlinear programming model with implicit variables for packing ellipsoids A nonlnear programmng model wth mplct varables for packng ellpsods E. G. Brgn R. D. Lobato J. M. Martínez March 23, 2016 Abstract The problem of packng ellpsods s consdered n the present work. Usually,

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

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

Solutions to exam in SF1811 Optimization, Jan 14, 2015

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

More information

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

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

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

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

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

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

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

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

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

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

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

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

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso Supplement: Proofs and Techncal Detals for The Soluton Path of the Generalzed Lasso Ryan J. Tbshran Jonathan Taylor In ths document we gve supplementary detals to the paper The Soluton Path of the Generalzed

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

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

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

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

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS)

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS) Some Comments on Acceleratng Convergence of Iteratve Sequences Usng Drect Inverson of the Iteratve Subspace (DIIS) C. Davd Sherrll School of Chemstry and Bochemstry Georga Insttute of Technology May 1998

More information

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

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

More information

Lecture 20: November 7

Lecture 20: November 7 0-725/36-725: Convex Optmzaton Fall 205 Lecturer: Ryan Tbshran Lecture 20: November 7 Scrbes: Varsha Chnnaobreddy, Joon Sk Km, Lngyao Zhang Note: LaTeX template courtesy of UC Berkeley EECS dept. Dsclamer:

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

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

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

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve

More information

Lecture Note 3. Eshelby s Inclusion II

Lecture Note 3. Eshelby s Inclusion II ME340B Elastcty of Mcroscopc Structures Stanford Unversty Wnter 004 Lecture Note 3. Eshelby s Incluson II Chrs Wenberger and We Ca c All rghts reserved January 6, 004 Contents 1 Incluson energy n an nfnte

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpenCourseWare http://ocw.mt.edu 6.854J / 18.415J Advanced Algorthms Fall 2008 For nformaton about ctng these materals or our Terms of Use, vst: http://ocw.mt.edu/terms. 18.415/6.854 Advanced Algorthms

More information

Lecture 3. Ax x i a i. i i

Lecture 3. Ax x i a i. i i 18.409 The Behavor of Algorthms n Practce 2/14/2 Lecturer: Dan Spelman Lecture 3 Scrbe: Arvnd Sankar 1 Largest sngular value In order to bound the condton number, we need an upper bound on the largest

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

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

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

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

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

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results. Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson

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 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

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

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

1 Matrix representations of canonical matrices

1 Matrix representations of canonical matrices 1 Matrx representatons of canoncal matrces 2-d rotaton around the orgn: ( ) cos θ sn θ R 0 = sn θ cos θ 3-d rotaton around the x-axs: R x = 1 0 0 0 cos θ sn θ 0 sn θ cos θ 3-d rotaton around the y-axs:

More information

Composite Hypotheses testing

Composite Hypotheses testing Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter

More information

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

More information

Annexes. EC.1. Cycle-base move illustration. EC.2. Problem Instances

Annexes. EC.1. Cycle-base move illustration. EC.2. Problem Instances ec Annexes Ths Annex frst llustrates a cycle-based move n the dynamc-block generaton tabu search. It then dsplays the characterstcs of the nstance sets, followed by detaled results of the parametercalbraton

More information

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

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

More information

Affine transformations and convexity

Affine transformations and convexity Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/

More information

ON A DETERMINATION OF THE INITIAL FUNCTIONS FROM THE OBSERVED VALUES OF THE BOUNDARY FUNCTIONS FOR THE SECOND-ORDER HYPERBOLIC EQUATION

ON A DETERMINATION OF THE INITIAL FUNCTIONS FROM THE OBSERVED VALUES OF THE BOUNDARY FUNCTIONS FOR THE SECOND-ORDER HYPERBOLIC EQUATION Advanced Mathematcal Models & Applcatons Vol.3, No.3, 2018, pp.215-222 ON A DETERMINATION OF THE INITIAL FUNCTIONS FROM THE OBSERVED VALUES OF THE BOUNDARY FUNCTIONS FOR THE SECOND-ORDER HYPERBOLIC EUATION

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

Lecture 12: Discrete Laplacian

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

More information

Appendix B. The Finite Difference Scheme

Appendix B. The Finite Difference Scheme 140 APPENDIXES Appendx B. The Fnte Dfference Scheme In ths appendx we present numercal technques whch are used to approxmate solutons of system 3.1 3.3. A comprehensve treatment of theoretcal and mplementaton

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

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

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

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

Physics 5153 Classical Mechanics. Principle of Virtual Work-1 P. Guterrez 1 Introducton Physcs 5153 Classcal Mechancs Prncple of Vrtual Work The frst varatonal prncple we encounter n mechancs s the prncple of vrtual work. It establshes the equlbrum condton of a mechancal

More information

Formulas for the Determinant

Formulas for the Determinant page 224 224 CHAPTER 3 Determnants e t te t e 2t 38 A = e t 2te t e 2t e t te t 2e 2t 39 If 123 A = 345, 456 compute the matrx product A adj(a) What can you conclude about det(a)? For Problems 40 43, use

More information

Time-Varying Systems and Computations Lecture 6

Time-Varying Systems and Computations Lecture 6 Tme-Varyng Systems and Computatons Lecture 6 Klaus Depold 14. Januar 2014 The Kalman Flter The Kalman estmaton flter attempts to estmate the actual state of an unknown dscrete dynamcal system, gven nosy

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

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

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

Complete subgraphs in multipartite graphs

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

More information

1 GSW Iterative Techniques for y = Ax

1 GSW Iterative Techniques for y = Ax 1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn

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

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

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

Inexact Newton Methods for Inverse Eigenvalue Problems

Inexact Newton Methods for Inverse Eigenvalue Problems Inexact Newton Methods for Inverse Egenvalue Problems Zheng-jan Ba Abstract In ths paper, we survey some of the latest development n usng nexact Newton-lke methods for solvng nverse egenvalue problems.

More information

Hongyi Miao, College of Science, Nanjing Forestry University, Nanjing ,China. (Received 20 June 2013, accepted 11 March 2014) I)ϕ (k)

Hongyi Miao, College of Science, Nanjing Forestry University, Nanjing ,China. (Received 20 June 2013, accepted 11 March 2014) I)ϕ (k) ISSN 1749-3889 (prnt), 1749-3897 (onlne) Internatonal Journal of Nonlnear Scence Vol.17(2014) No.2,pp.188-192 Modfed Block Jacob-Davdson Method for Solvng Large Sparse Egenproblems Hongy Mao, College of

More information

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

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

More information

Maximal Margin Classifier

Maximal Margin Classifier CS81B/Stat41B: Advanced Topcs n Learnng & Decson Makng Mamal Margn Classfer Lecturer: Mchael Jordan Scrbes: Jana van Greunen Corrected verson - /1/004 1 References/Recommended Readng 1.1 Webstes www.kernel-machnes.org

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

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

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

Solutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution.

Solutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution. Solutons HW #2 Dual of general LP. Fnd the dual functon of the LP mnmze subject to c T x Gx h Ax = b. Gve the dual problem, and make the mplct equalty constrants explct. Soluton. 1. The Lagrangan s L(x,

More information

The Second Anti-Mathima on Game Theory

The Second Anti-Mathima on Game Theory The Second Ant-Mathma on Game Theory Ath. Kehagas December 1 2006 1 Introducton In ths note we wll examne the noton of game equlbrum for three types of games 1. 2-player 2-acton zero-sum games 2. 2-player

More information

DECOUPLING THEORY HW2

DECOUPLING THEORY HW2 8.8 DECOUPLIG THEORY HW2 DOGHAO WAG DATE:OCT. 3 207 Problem We shall start by reformulatng the problem. Denote by δ S n the delta functon that s evenly dstrbuted at the n ) dmensonal unt sphere. As a temporal

More information

Linear Feature Engineering 11

Linear Feature Engineering 11 Lnear Feature Engneerng 11 2 Least-Squares 2.1 Smple least-squares Consder the followng dataset. We have a bunch of nputs x and correspondng outputs y. The partcular values n ths dataset are x y 0.23 0.19

More information

10-701/ Machine Learning, Fall 2005 Homework 3

10-701/ Machine Learning, Fall 2005 Homework 3 10-701/15-781 Machne Learnng, Fall 2005 Homework 3 Out: 10/20/05 Due: begnnng of the class 11/01/05 Instructons Contact questons-10701@autonlaborg for queston Problem 1 Regresson and Cross-valdaton [40

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

Convexity preserving interpolation by splines of arbitrary degree

Convexity preserving interpolation by splines of arbitrary degree Computer Scence Journal of Moldova, vol.18, no.1(52), 2010 Convexty preservng nterpolaton by splnes of arbtrary degree Igor Verlan Abstract In the present paper an algorthm of C 2 nterpolaton of dscrete

More information

A New Refinement of Jacobi Method for Solution of Linear System Equations AX=b

A New Refinement of Jacobi Method for Solution of Linear System Equations AX=b Int J Contemp Math Scences, Vol 3, 28, no 17, 819-827 A New Refnement of Jacob Method for Soluton of Lnear System Equatons AX=b F Naem Dafchah Department of Mathematcs, Faculty of Scences Unversty of Gulan,

More information

Spectral Graph Theory and its Applications September 16, Lecture 5

Spectral Graph Theory and its Applications September 16, Lecture 5 Spectral Graph Theory and ts Applcatons September 16, 2004 Lecturer: Danel A. Spelman Lecture 5 5.1 Introducton In ths lecture, we wll prove the followng theorem: Theorem 5.1.1. Let G be a planar graph

More information

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt 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

= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system.

= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system. Chapter Matlab Exercses Chapter Matlab Exercses. Consder the lnear system of Example n Secton.. x x x y z y y z (a) Use the MATLAB command rref to solve the system. (b) Let A be the coeffcent matrx and

More information

PHYS 705: Classical Mechanics. Calculus of Variations II

PHYS 705: Classical Mechanics. Calculus of Variations II 1 PHYS 705: Classcal Mechancs Calculus of Varatons II 2 Calculus of Varatons: Generalzaton (no constrant yet) Suppose now that F depends on several dependent varables : We need to fnd such that has a statonary

More information

An Admission Control Algorithm in Cloud Computing Systems

An Admission Control Algorithm in Cloud Computing Systems An Admsson Control Algorthm n Cloud Computng Systems Authors: Frank Yeong-Sung Ln Department of Informaton Management Natonal Tawan Unversty Tape, Tawan, R.O.C. ysln@m.ntu.edu.tw Yngje Lan Management Scence

More information

Lagrange Multipliers Kernel Trick

Lagrange Multipliers Kernel Trick Lagrange Multplers Kernel Trck Ncholas Ruozz Unversty of Texas at Dallas Based roughly on the sldes of Davd Sontag General Optmzaton A mathematcal detour, we ll come back to SVMs soon! subject to: f x

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

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

Winter 2008 CS567 Stochastic Linear/Integer Programming Guest Lecturer: Xu, Huan

Winter 2008 CS567 Stochastic Linear/Integer Programming Guest Lecturer: Xu, Huan Wnter 2008 CS567 Stochastc Lnear/Integer Programmng Guest Lecturer: Xu, Huan Class 2: More Modelng Examples 1 Capacty Expanson Capacty expanson models optmal choces of the tmng and levels of nvestments

More information

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

COMPLEX NUMBERS AND QUADRATIC EQUATIONS COMPLEX NUMBERS AND QUADRATIC EQUATIONS INTRODUCTION We know that x 0 for all x R e the square of a real number (whether postve, negatve or ero) s non-negatve Hence the equatons x, x, x + 7 0 etc are not

More information

A particle in a state of uniform motion remain in that state of motion unless acted upon by external force.

A particle in a state of uniform motion remain in that state of motion unless acted upon by external force. The fundamental prncples of classcal mechancs were lad down by Galleo and Newton n the 16th and 17th centures. In 1686, Newton wrote the Prncpa where he gave us three laws of moton, one law of gravty,

More information

Report on Image warping

Report on Image warping Report on Image warpng Xuan Ne, Dec. 20, 2004 Ths document summarzed the algorthms of our mage warpng soluton for further study, and there s a detaled descrpton about the mplementaton of these algorthms.

More information

CSE 252C: Computer Vision III

CSE 252C: Computer Vision III CSE 252C: Computer Vson III Lecturer: Serge Belonge Scrbe: Catherne Wah LECTURE 15 Kernel Machnes 15.1. Kernels We wll study two methods based on a specal knd of functon k(x, y) called a kernel: Kernel

More information

Lecture 17: Lee-Sidford Barrier

Lecture 17: Lee-Sidford Barrier CSE 599: Interplay between Convex Optmzaton and Geometry Wnter 2018 Lecturer: Yn Tat Lee Lecture 17: Lee-Sdford Barrer Dsclamer: Please tell me any mstake you notced. In ths lecture, we talk about the

More information

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

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

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013 ISSN: 2277-375 Constructon of Trend Free Run Orders for Orthogonal rrays Usng Codes bstract: Sometmes when the expermental runs are carred out n a tme order sequence, the response can depend on the run

More information

CHAPTER 14 GENERAL PERTURBATION THEORY

CHAPTER 14 GENERAL PERTURBATION THEORY CHAPTER 4 GENERAL PERTURBATION THEORY 4 Introducton A partcle n orbt around a pont mass or a sphercally symmetrc mass dstrbuton s movng n a gravtatonal potental of the form GM / r In ths potental t moves

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