Relative Improvement by Alternative Solutions for Classes of Simple Shortest Path Problems with Uncertain Data

Size: px
Start display at page:

Download "Relative Improvement by Alternative Solutions for Classes of Simple Shortest Path Problems with Uncertain Data"

Transcription

1 Relative Improvement by Alternative Solutions for Classes of Simple Shortest Path Problems with Uncertain Data Part II: Strings of Pearls G n,r with Biased Perturbations Jörg Sameith Graduiertenkolleg Approximation und algorithmische Verfahren Fakultät für Mathematik und Informatik Friedrich-Schiller-Universität Jena 0770 Jena Germany August 5, 005 Abstract For classes of simple shortest path problems we analyze the following situation: We are given a graph G = {V, E, w} and are allowed to provide two solutions A and B which are paths from a given starting node to a given target node. Then we learn about randomly perturbed edge lengths ŵ and are allowed to choose the solution from our pair {A, B} that has the better value with respect to these new lengths ŵ. We analyze how to choose two solutions A and B such that E[min e A ŵe, e B ŵe] is minimal. sameith@mathematik.uni-jena.de

2 Contents Introduction. The Models The Optimal Alternative 3. The k - Model The p - Model Optimal Pairs vs. Optimal Alternatives 8 Failed Assumption 38 5 Conclusions 39 References 0

3 Introduction Introduction For classes of simple shortest path problems we analyze the following situation: We are given a graph G = {V, E, w} and are allowed to provide two solutions S 0 and S which are paths from a given starting node to a given target node. Then we learn about randomly perturbed edge lengths ŵ and are allowed to choose the solution from our pair {S 0, S } that has the better value with respect to these new lengths ŵ. We analyze how to choose two solutions S 0 and S such that E[min e S 0 ŵe, e S ŵe] is minimal. The report is organized as follows. In the remaining part of this section we introduce the considered models in detail: the graph model string of pearls G n,r and two different biased perturbation models k-model, p-model. Let S 0 be the optimal solution with respect to the original weights w. In Section we analyze only the optimal choice of an additional alternative solution S for the case that S 0 is fixed. In Section 3 we relax this condition and allow two arbitrary solutions. In Section we briefly comment on an assumption which turns out to be wrong that initially motivated us to study these models. We finish with conclusions in Section 5.. The Models Definition. string of pearls G n,r Consider a weighted directed graph G n,r = {V, E, w} with a set of nodes V and a set of edges E with V = {v 0, v,..., v n }, E = {e 0,i = v i, v i, e,i = v i, v i : i =,,..., n} and a weight function w : E R + that assigns a weight to each edge see Figure. The weights are we 0,i = and we,i = + r for i =,..., n. We interpret the edge-weights as lengths. We call this type of graph a string of pearls G n,r. Furthermore we call n the problem size and the edges {e,i : i =,,..., n} we call detours. A feasible solution S is a path from starting node v 0 to the final node v n. In every node v i 0 i < n it is to decide whether to use the short edge e 0,i+ around the top or the detour e,i+ down below. The length ws of a solution S is the sum of the lengths of its edges e S: ws = e S we.

4 . The Models v 0 v v v 3 v n v n + r + r + r + r Figure : String of Pearls G n,r We consider two different perturbation models: Definition. k-model Consider a string of pearls G n,r. Exactly k 0 k n randomly chosen edges get lengthperturbed. Let π be a random permutation of,,..., n, then ŵ : E R is: { + δ wei,j : if πi n + j k ŵ k e i,j := we i,j : otherwise Definition.3 p-model Consider a string of pearls G n,r. Every edge independently gets length-perturbed with the probability p 0 p. Then ŵ : E R is: { + δ wei,j : with probability p, ŵ p e i,j := we i,j : otherwise The parameter δ R we call the perturbation intensity. Remarks For the following cases the choice of solutions is obvious. The initial optimal solution the solution that uses no detour remains optimal with respect to ŵ.. p = 0 or k = 0: No edge-weight gets perturbed.. p = or k = n: All edge-weights get perturbed. 3. δ r: It is not advantageous to use a detour since a non-detour edge is never longer than a detour edge.

5 The Optimal Alternative The Optimal Alternative Let S 0 be the solution that uses no detour the optimal solution with respect to the original weights w. Which additional solution S we have to select such that the expected minimal value E[minŵS 0, ŵs ] is minimal? Since all detours of the graph G have the same length it does not matter which detours a solution uses. Only the number of detours is important. Let S be the set of available solutions: The length of path s i is: S = {s i : 0 i n} with: s i = e,, e,,..., e,i, e 0,i+, e 0,i+,..., e 0,n. i ws i = we,t + t= n t=i+ we 0,t.. The k - Model How many detours d opt = dn, r, δ, k the alternative solution S has to use if exactly k randomly chosen edges get length perturbed? We are able to calculate for any given n, r, δ and k the optimal number of detours that the additional solution S should use exactly. We generate all n k possible cases for ŵk with exactly k perturbations. For each case we calculate the minimal values of all possible solution pairs {{S 0, S } : S 0 = s 0 and S = s i with i {,,..., n}}. Finally we calculate the average values for all pairs and observe the optimal number of detours d opt. First we give some results that show d opt for different numbers of perturbations k and perturbation intensities δ see Tables -3. All results we show are for r = 0.. We tested other values too, but in view of the dependence on k and δ the results are quite similar. δ k Table : The optimal number of detours d opt of the alternative solution S [ k-model with fixed n =, r = 0. ] 3

6 . The k - Model δ k Table : The optimal number of detours d opt of the alternative solution S [ k-model with fixed n = 5, r = 0. ] δ k Table 3: The optimal number of detours d opt of the alternative solution S [ k-model with fixed n =, r = 0. ] We observe that the optimal number of detours d opt is increasing in δ. On the other hand d opt behaves unexpectedly irregular in k. For small values of δ the optimal number of detours is small and identical for all k. But with increasing δ some peaks occur. The optimal number of detours jumps up and down. At first sight this seems to be an odd-even effect. For odd values of k the optimal number of detours is unimodal in k. It first increases then decreases. For even values of k the alternative should use the full number of detours, whereas for k and k + the optimal number is significantly smaller. Definition. We say that d opt = dn, r, δ, k has a peak in k k N and 0 < k < n if for a given combination of the model parameters n N, r R and δ R it holds that: dn, r, δ, k < dn, r, δ, k > dn, r, δ, k +. The minimal difference of the optimal number of detours in k to k + and k : mindn, r, δ, k dn, r, δ, k, dn, r, δ, k dn, r, δ, k + we call the height of the peak.

7 . The k - Model We originally expected that the optimal number of detours is unimodal in k as it seems to hold if we focus on odd values for k only. The existence of a single peak does not prove that the assumption of unimodality is wrong. Thus it is much more interesting if there are multiple peaks with a gap in between. Definition. We say that d opt = dn, r, δ, k has a gap in k k N and 0 < k < n if for a given combination of the model parameters n N, r R and δ R it holds that: dn, r, δ, k > dn, r, δ, k < dn, r, δ, k +. The minimal difference of the optimal number of detours in k to k + and k : mindn, r, δ, k dn, r, δ, k, dn, r, δ, k dn, r, δ, k + we call the height of the gap. Next we show that in most cases the shown solutions are really the only optimal solutions. There do not exist other sets of optimal solutions for the different values of k such that dn, r, δ, k can be made smooth in k by the right choice of solutions. Table shows the three best results for each value of k. Let d denote the second best number of detours and d 3 the third best number of detours. Furthermore let E k i denote the expected minimal value E[minŵ k s 0, ŵ k s i ]. d opt E k d opt d E k d E k d opt d 3 E k d 3 E k d opt k Table : The three best results for the number of detours to use [ k-model with n = 5, r = 0. and δ = 0.5 ] So far peaks occurred only in even values of k. Astonishingly this doesn t hold in general. For n = we noticed the first peaks in odd values of k see columns δ = 0.8, 0.9,.0 in Table 5. The most peaks still occur in even values of k, but not only. This is no isolated case. For larger problem sizes n we also found peaks in odd values of k. If we look for values of the perturbation intensity δ for different problem sizes n that produce really high peaks, values in the range of δ nr are conspicuous. Table shows the 5

8 . The k - Model δ k Table 5: The optimal number of detours d opt of the alternative solution S [ k-model with fixed n =, r = 0. ] optimal numbers of detours for this special case δ = nr for different problem sizes n. Since the number of possible perturbations n k grows heavily in n we are not able to calculate the optimal detours for all possible values of k within acceptable time. We limited our calculations to k. n k Table : The optimal number of detours d opt of the alternative solution S [ k-model with fixed r = 0. and δ = nr ] Table shows that with δ = nr the alternative should always use the full number of detours if k is even. For odd values of k the optimal number of detours seems to be a constant part of n. Table 7 shows the quotients d opt n. For k = the optimal number of detours d opt seems to be about n, for k = 3 about 3 5 n and for k = 5 about 3.

9 . The k - Model n k Table 7: Quotients d opt n [ k-model with fixed r = 0. and δ = nr ].. Theoretical Analysis of the Special Case δ = nr k = First we are interested in the expected minimal value E k= i = E[minŵ k= s 0, ŵ k= s i ] if exactly one edge gets perturbed. Let the set of edges E of the graph G = {V, E, w} be divided into these four parts: A = {e 0,, e 0,,..., e 0,i } C = {e 0,i, e 0,i+,..., e 0,n } B = {e,, e,,..., e,i } D = {e,i, e,i+,..., e,n } The solution s 0 uses all edges of A and C and solution s i uses all edges of B and C. Let e be the edge that gets perturbed. Four cases are possible: ŵ k= s 0 ŵ k= s i frequency e A : min n + nr, n + ir = n + ir i n e B : min n, n + ir + + rnr = n e C : min n + nr, n + ir + nr = n + nr n i n e D : min n, n + ir = n Now we are able to give the formula for the expected minimal value E k= i : E k= i = E[minŵ k= s 0, ŵ k= s i ] = i i n + ir + n n n + n i n = i n i n + ir + n + nr n n = i r inr + n r + n n + nr + n i n n 7

10 . The k - Model and check the assumption dn, r, δ = nr, k = n. If the assumption is true the following condition must hold for all 0 < i n with i n. Obviously the number of detours i the alternative solution s i uses has to be a discrete number. Nevertheless we consider i R for the analysis, but have to interpret the results with care. 0 < E k= i E k= n = i r inr + n r + n = i n r + n inr n = i + n inr n = i n r 8n n r n nr + n r + n We immediately see that the right side of the inequality never gets negative. Lemma.3 For the k-model with δ = nr and arbitrary r > 0 the alternative should always use about n detours if exactly k = edge gets perturbed. If n is even the alternative has to use exactly n detours. If n is odd the alternative has to use n or n+ detours which are equally good. k = The case k = we check in a similar way. Here already ten cases can occur. The first column gives the sets where the perturbations occur. ŵ k= s 0 ŵ k= s i frequency A, A : min n + nr, n + ir = n + ir i n B, B : min n, n + ir + + rnr = n C, C : min n + nr, n + ir + nr = n + nr n i n D, D : min n, n + ir = n A, B : min n + nr, n + ir + + rnr = n + nr i n in i A, C : min n + nr, n + ir + nr = n + ir + nr n A, D : min n + nr, n + ir = n + ir B, C : min n + nr, n + ir + + rnr + nr = n + nr B, D : min n, n + ir + + rnr = n C, D : min n + nr, n + ir + nr = n + nr n i n 8

11 . The k - Model So the expected minimal value for k = is: E k= i = E[minŵ k= s 0, ŵ k= s i ] = i n n + ir + n i n n + nr + i n n + nr + in i n n + nr + ir + n i n n + nr = ii n + ir nn + + ii n + nr + ir nn n in i n + nr nn + n i n + nr nn + i n + nr nn =... = 3ri3 + nr ri + n r + nri + n 3 r + n 3 n n r nn We assume that solution s n is optimal. So we check whether the difference of E k= i E k= n is greater than zero for all 0 < i < n. and 0 < E k= i E k= n = 3ri3 + nr ri + n r + nri + n 3 r + n 3 n n r nn n3 + 3n 3 r n r n nn = r 3i3 i + ni n i + ni + n 3 n nn = rn i3i + i 3ni n + n nn 0 < 3i + i 3ni n + n =: fi, n At first sight we can not examine wether fi, n is strictly positive. So we check for roots: 0 = 3i + i 3ni n + n i = n ± 3n + n + }{{} C for n 3, n N Since there are no real roots for n 3 we set i = and n = 3 and see that E k= i E k= n is greater than zero. So the above inequality has to be true for n 3. = r 30 Lemma. For the k-model with δ = nr, n 3 and arbitrary r > 0 the alternative should always use n detours if exactly k = edges get perturbed. 9

12 . The k - Model k = 3 Again we enumerate all possible cases for exactly k = 3 perturbations. ŵ k=3 s 0 ŵ k=3 s i frequency A, A, A : min n + 3nr, n + ir = n + ir 3 i n 3 B, B, B : min n, n + ir rnr = n C, C, C : min n + 3nr, n + ir + 3nr = n + 3nr n i 3 n 3 D, D, D : min n, n + ir = n A, A, B : min n + nr, n + ir + + rnr = n + nr + m i i n 3 B, B, A : min n + nr, n + + rnr + ir = n + nr A, A, C : min n + 3nr, n + ir + nr = n + ir + nr n i i n 3 A, A, D : min n + nr, n + ir = n + ir B, B, C : min n + nr, n + + rnr + ir + nr = n + nr B, B, D : min n, n + + rnr + ir = n C, C, A : min n + 3nr, n + ir + nr = n + ir + nr i n 3 C, C, B : min n + nr, n + ir + + rnr + nr = n + nr D, D, A : min n + nr, n + ir = n + ir D, D, B : min n, n + ir + + rnr = n C, C, D : min n + nr, n + ir + nr = n + nr n i n i n 3 D, D, C : min n + nr, n + ir + nr = n + nr i A, B, C : min n + nr, n + ir + + rnr + nr = n + nr n i n 3 A, B, D : min n + nr, n + ir + + rnr = n + nr in i A, C, D : min n + nr, n + ir + nr = n + ir + nr n 3 B, C, D : min n + nr, n + ir + + rnr + nr = n + nr For the case that two perturbations are in A and one is in B it happens the first time that we are not able to decide whether to take s 0 or s. The remaining minimum term is m = minnr, ir + nr. Then the expected minimal value E k=3 i is: 0

13 . The k - Model E k=3 i = E[minŵ k=3 s 0, ŵ k=3 s i ] with i n i i n + ir + n + 3nr + i m + n + nr 3 3 }{{}}{{}}{{} =: g =: g =: g 3 i n i + n i n + nr + ir + i n + nr + ir }{{}}{{} =: g =: g 5 n i + n i n + 3nr + i n i n + 3nr }{{}}{{} =: g =: g 7 = n 3 = + in i n + nr + ir }{{} =: g 8 g nn n + g + g 3 + g + g 5 + g + g 7 + g 8 ii i g = n + ir = i ni + ri 3 ni ri = ni3 + ri ni ri 3 ni ri 3 + ni + ri = ri + n 3ri 3 + n + ri + ni n in i n i g = n + 3nr n i n i = n + 3n r ni 3nri n i = n 3 + 3n 3 r n i 3n ri n i 3n ri + ni + 3nri n 3n r + ni + 3nri = n i n 3 + 3n 3 r n i n ri + ni + 3nri n 3n r + ni + 3nri

14 . The k - Model = n + 3n r n 3 i n 3 ri + n i + 3n ri n 3 3n 3 r + n i + 3n ri + n 3 i 3n 3 ri + n i + n ri ni 3 3nri 3 + n i + 3n ri ni 3nri + n 3 n 3 r + 8n i + n ri ni nri + n + n r ni nri = n 3nri 3 + n + 9n r n 9nri + n 3 9n 3 r + n + 8n r n nri + n + 3n r n 3 9n 3 r + n + n r g 3 = i i m + n + nr = m i 3 + ni 3 + nri 3 m i ni nri g = = = n iii n + nr + ir n i + n ri + ni 3 r n i n ri nri ni 3 nri 3 ri + ni + nri + ri 3 = n ini + nri + i 3 r ni nri i r ri + r ni 3 + n + n r + ni + n n ri g 5 = in in i n + nr + ir = n i n i + n ri + nri ni nri ri 3 = n 3 i + n 3 ri + n ri n i n ri nri 3 n i n ri nri 3 + ni 3 + nri 3 + ri = n i n ri nri + ni + nri + ri 3 ri + n + ri 3 + n r 8n + nr + ni + n 3 + n 3 r n n ri

15 . The k - Model g = = = n in i n in + 3nr n ni + i n + 3n r ni 3nri n 3nr = n ni + i n i n + 3nr n 3 + 3n 3 r n i 3n ri n 3n r n 3 i n 3 ri + n i + n ri + n i + n ri + n i + 3n ri ni 3 3nri 3 ni 3nri = n 3nri 3 + n + 9n r n 3nri + n + 3n r n 3 n 3 ri + n 3 + 3n 3 r n 3n r g 7 = i n in + 3nr = n i + 3n ri ni 3 3nri 3 = n 3nri 3 + n + 3n ri g 8 = in i n + nr + ir = n ni + i ni + nri + ri = n 3 i + n 3 ri + rn i n i n ri nri 3 + ni 3 + nri 3 + ri = ri + ni 3 + rn n n ri + n 3 + n 3 ri E k=3 i = = g nn n + g + g 3 + g + g 5 + g + g 7 + g 8 =... nn n 7ri + 3m + 9r nri 3 + n r + r 8nr 3m i + 8n r n 3 r nri + n r 8n 3 r + n r + n n 3 + 8n and m = minnr, ir + nr Now we have the exact formula and can calculate for arbitrary model parameters i, n N, r R the expected minimal value without much effort. So we first check whether the observation that the optimal number of detours d opt 3 5 for r = 0. is true for arbitrary values 3

16 . The k - Model of r and n. We must not forget that the alternative can use only a discrete number of detours. But for a better understanding of the behavior of the function we still consider i R. For each combination of r and n we want to check we insert values i = 0.00, 0.00,..., n and look for the minimum in i. Table 8 shows the quotients i opt n. r n Table 8: i opt n [ k-model with fixed k = 3 and δ = nr ] Unfortunately we have to find out that i opt n depends on n and r. It varies between i opt iopt n = 0.35 for small n and large r and n = 0.8 for large n and small r. So we don t know the value for i such that E k=3 i gets minimal and have to calculate it first. We could not eliminate all minimum terms and have to distinguish two cases: m = minnr, ir + nr = { nr : n r i n case ir + nr : 0 < i < n r case

17 . The k - Model We define two functions f and f : f i, n, r : = E k=3 i for i n r = 7ri + nr + 9ri 3 + n r nr + ri nn n + n 3 r + 8n r nri + n r + 8n 8n 3 r n 3 + n r + n f i, n, r : = E k=3 i for i < n r = 0ri + 3nr nr + ri 3 + n r 3nr 8nr + ri nn n + n 3 r + 8n r nri + n r + 8n 8n 3 r n 3 + n r + n We want to show that i opt 7 7 0n. For the case that n r 0n we need to look at f only. The first partial derivative i f is: i f = r8i3 + 3n + 7i + 8n n + i + n 3 + 8n n nn n The increase rate of f for i = 7 0n and i = n is strictly positive, since i f > 0 di := 8i 3 + 3n + 7i + 8n n + i + n 3 + 8n n > 0 and d 7 90n3 n = n3 + 33n + 33n3 9n + 8n n3 + 8n n = n n 5 n > 0 for n dn = 8n 3 3n 3 + 7n + 8n 3 n + n n 3 + 8n n = n 3 + 3n n > 0 for n. The second partial derivative of f in i is: i f = 8ri r3n 7i r + n 8n nn n 5

18 . The k - Model The solutions of i f i, n, r = 0 are: i = n ± C for n {}}{ n 3n Thus f has no turning point. Thus we know that f is monotonically increasing at least for n, r > 0 and i 7 0 n. If 7 0 n < n r what is exactly if r < 3 0 we still have to look at f. Again we need two steps: a The increase of f for i = 7 0n and i = n is larger than zero: 8 i f = r0i3 + 9nr 7n + 8i + 8n nr 3n + i + n 3 + 8n n nn n i 0 < i f i = 7 0 n = rn + n 30 + n r 0nr 00n n 0 < n + n 30 + n r 0nr r > n + n 30 n + 0n n ii 0 < i f i = n = rn + 9n r nr n n n b f has no turning point: i f = r0i + 9nr 7n + 8i 8n 3nr + n + nn n 0 = r0i + 9nr 7n + 8i 8n 3nr + n + nn n i = 3 0 nr n 3 8n 0 ± r 9n r 57n + 0nr + 78n 5 0

19 . The k - Model Since it holds for r 3 0 that 8n r 9n r 57n + 0nr + 78n 5 7.9n 388.8n 57n + 33.n + 78n 5 = 957.5n + 0.n 5 < 0 n 3 both roots get complex. Thus f is monotonically increasing for n, 0 < r < 3 0 and i 7 0n, too. For δ = nr, n and r > 0 the optimal number of detours of the alternative solution is at most 7 0 n. This holds for n = 3 as well. We simply insert n = 3 into E k=3 i. Then the expected minimal values are: Since E k=3 = r E k=3 = r + 0 min3r, 3r + r E k=3 3 = r E k=3 E k=3 = 0 min3r, 3r + r 0 r and E k=3 3 E k=3 = 3 0 r > 0 = r min3, 3r + > 0 0 the optimal number of detours is d opt = for all r > 0. Lemma.5 For the k-model with δ = nr, n 3 and r > 0 the optimal number of detours of the alternative solution is at most 7 0 n. From Lemma it directly follows Proposition.. Proposition. The k-model with δ = nr, n 3 and r > 0 has a peak in k =. The height of the peak is at least 3 0 n. For k = the optimal number of detours is n n± for even values of n and for odd values of n. For k = the optimal number of detours is n. And for k = 3 the optimal number of detours is at most 7 0 n. 7

20 . The k - Model k = To prove the existence of a gap we need to look at k =. As the experiments showed it is to assume that the optimal number of detours is equal to n. The number of possible cases gets quite large now: ŵ k= s 0 ŵ k= s i frequency A, A, A, A : min n + nr, n + ir = n + ir i n B, B, B, B : min n, n + ir + + rnr = n C, C, C, C : min n + nr, n + ir + nr = n + nr n i n D, D, D, D : min n, n + ir = n A, A, A, B : min n + 3nr, n + ir + + rnr = n + nr + m i 3i n B, B, B, A : min n + nr, n + ir rnr = n + nr A, A, A, C : min n + nr, n + ir + nr = n + ir + nr 3n i i n A, A, A, D : min n + 3nr, n + ir = n + ir B, B, B, C : min n + nr, n + ir + nr rnr = n + nr B, B, B, D : min n, n + ir rnr = n C, C, C, A : min n + nr, n + ir + 3nr = n + ir + 3nr 3 i n C, C, C, B : min n + 3nr, n + ir + 3nr + + rnr = n + 3nr D, D, D, A : min n + nr, n + ir = n + ir D, D, D, B : min n, n + ir + + rnr = n C, C, C, D : min n + 3nr, n + ir + 3nr = n + 3nr n i 3 n i n D, D, D, C : min n + nr, n + ir + nr = n + nr A, A, B, B : min n + nr, n + ir + + rnr = n + nr i i n A, A, C, C : min n + nr, n + ir + nr = n + ir + nr i n i n A, A, D, D : min n + nr, n + ir = n + ir B, B, C, C : min n + nr, n + ir + nr + + rnr = n + nr B, B, D, D : min n, n + ir + + rnr = n C, C, D, D : min n + nr, n + ir + nr = n + nr n i n i n 8

21 . The k - Model ŵ k= s 0 ŵ k= s i frequency A, A, C, D : min n + 3nr, n + ir + nr = n + ir + nr n i i n B, B, C, D : min n + nr, n + ir + nr + + rnr = n + nr C, C, A, B : min n + 3nr, n + ir + nr + + rnr = n + 3nr n i i n D, D, A, B : min n + nr, n + ir + + rnr = n + nr A, A, B, C : min n + 3nr, n + ir + nr + + rnr = n + nr + m i in i n A, A, B, D : min n + nr, n + ir + + rnr = n + nr + m B, B, A, C : min n + nr, n + ir + nr + + rnr = n + nr B, B, A, D : min n + nr, n + ir + + rnr = n + nr C, C, A, D : min n + 3nr, n + ir + nr = n + ir + nr in i n C, C, B, D : min n + nr, n + ir + nr + + rnr = n + nr D, D, A, C : min n + nr, n + ir + nr = n + ir + nr D, D, B, C : min n + nr, n + ir + nr + + rnr = n + nr A, B, C, D : min n + nr, n + ir + nr + + rnr = n + nr i n i n It remain the two minimum terms: m = minnr, ir + nr and m = minnr, ir + nr The expected minimal value E k= i is: E k= i = E[minŵ k= s 0, ŵ k= s i ] = i n n + ir + n i n n + nr + i 3 i n + nr + m n + + i 3 n i n n + nr + ir + n i 3 n n i n + nr + n n i 3 n i n + nr + ir i i i n i n + nr + n + nr + ir n 9

22 + n i n i n n + nr + i n i n n + nr + ir + n i n. The k - Model i n + nr + i in i n n + nr + m + n i in i n n + nr + ir + i n i n n + nr =... = 5ri 5 + r m + m + 7nri nn n n 3 + m m + nm 33r 0n r + 3nri 3 + nm r n r + 80n 3 r + 7nr + 8m i + 88n r + 9n 3 r 3n r + nri + n 3 8n + n 5 n n r 9n r + 3n 5 r + 88n 3 r As for the case of k = 3 perturbations we first check the assumption d opt = n experimentally. For each combination of r and n to check we insert values i = 0.00, 0.00,..., n and look for the minimum in i. Table 9 shows the quotients i opt n. We have to recognize that the assumption d opt = n is not true for all values of r. There seems to be a r n such that the assumption is only true for r < r n. Figure shows this r n numerically calculated for a large number of problem sizes n. At this point we decided to give up. To prove the observations for the case k = in the way we proved the observations for the case k = 3 would fill a lot of pages. The expenditure is out of all proportion to the result. Unfortunately this way we are not able to give a proposition that ensures the existence of a gap. But with the given formula for E k= i we feel save enough to state our observation as an assertion. Conjecture.7 For a given problem size n it exists a r n > 0 such that the k-model with δ = nr, n 3 and 0 < r < r n has a gap in k = 3. 0

23 . The k - Model r n Table 9: i opt n [ k-model with fixed k = and δ = nr ] 0,5 0, 0,3 0, 0, n Figure : r n [ k-model with fixed k = and δ = nr ]

24 . The k - Model.. Special Case n = 3 and δ = 3r Since we did not prove the existence of a gap for arbitrary n 3 we quickly want to show it at least for n = 3. If exactly k = edges get perturbed the expected minimal values are: E k= = r E k= = r + 5 min3r, 3r + r E k= 3 = r minr, 3r + 3r To prove that d opt = 3 it must hold: E k= > E k= 3 and E k= > E k= 3 : E k= E k= 3 = r 0 3 min, 3r + 3 > 0 5 For r this is obviously wrong. So we assume r. With r < 9 E k= E k= 3 = r 0 33r + 3 > 0 5 r < 9 we get for Ek= > E k= 3 : E k= E k= 3 = r + min3, 3r + 3 min, 3r = r r + 3r + 33r + 3 = + 3r > For r < 9 the optimal number of detours is d opt = 3. Proposition.8 The k-model with δ = 3r, n = 3 and 0 < r < 9 has a gap in k = 3. For k = and k = the optimal number of detours is 3. For k = 3 the optimal number of detours is.

25 . The p - Model. The p - Model How many detours d opt = dn, r, δ, p the alternative solution S has to use if every edge of the string of pearls gets independently length perturbed with probability p? In contrast to the k-model we are not able to calculate the expected minimal value numerically. For a given combination of the model parameters we have to simulate using a pseudo random number generator a large number of runs T and calculate the average value to get an approximation for the expected minimal value. We have to do this for all possible numbers of detours and then check which number is best. Dependence of d opt on the perturbation intensity δ First we have a look at the dependence on δ. Tables 0 and show simulation results for the optimal numbers of detours d opt for a fixed length of the detours r = 0. and problem size n = 5 and n = 0 respectively. δ p Table 0: The optimal number of detours d opt of the alternative solution S [ p-model with fixed n = 5, r = 0.; T = 0 runs ] δ p Table : The optimal number of detours d opt of the alternative solution S [ p-model with fixed n = 0, r = 0.; T = 0 runs ] As to be expected d opt increases in δ. For small values of δ the optimal number of detours is small and equal for all tested probabilities p. For intermediate values of p p 0.3 the optimal number of detours increases fastest in δ such that it becomes unimodal in p. Thus the optimal number of detours for these intermediate values of p reach the maximal value 3

26 . The p - Model d opt = n first. Then for larger values of δ the optimal number of detours d opt gets equal to n for the small values of p, too. Astonishingly the entries of both tables are nearly identical for values of δ 0.7. Dependence of d opt on the detour length r For the sake of completeness we have a look at some results for the dependence on r. Tables and 3 show simulation results for the optimal numbers of detours d opt for a fixed perturbation intensity δ = 3.0. Obviously d opt decreases in r. Again it is conspicuous that the entries of both tables are nearly identical for values of r 0.3. r p Table : The optimal number of detours d opt of the alternative solution S [ p-model with fixed n = 5, δ = 3.0; T = 0 runs ] r p Table 3: The optimal number of detours d opt of the alternative solution S [ p-model with fixed n = 0, δ = 3.0; T = 0 runs ] Dependence of d opt on the problem size n Finally we have a look at the dependence on n. Table shows what happens for the different values of p if we increase n and let r and δ fixed. Then Table 5 shows what happens for the different values of r if we increase n and let p and δ fixed. Finally Table shows what happens for the different values of δ if we increase n and let r = 0. and p = 0. fixed.

27 . The p - Model n p Table : The optimal number of detours d opt of the alternative solution S [ p-model with fixed r = 0., δ =.0; T = 0 runs ] n r Table 5: The optimal number of detours d opt of the alternative solution S [ p-model with fixed p = 0., δ =.0; T = 0 runs ] n δ Table : The optimal number of detours d opt of the alternative solution S [ p-model with fixed p = 0., r = 0.; T = 0 runs ] 5

28 . The p - Model The results are quite smooth. There are no large peaks or gaps. But there are some exceptions, too. For example the row p = 0. in Table contains an anomaly. With increasing n the optimal number increases up to then for n = jumps up to, jumps back to at n =, jumps up to 3 at n =, jumps back.... Also some other entries differ from the pattern, but usually only by. These are maybe imprecisions caused by the simulation. We observe that with some exceptions for increasing problem size n the optimal number of detours d opt = dn, r, δ, p nearly always increases up to a number d = dr, δ, p and then remains constant for larger values of n. Such that: { n : n < d d opt n, r, δ, p = r, δ, p, d r, δ, p : otherwise We observe the following dependencies of d r, δ, p: d is unimodal in p see Table d is decreasing in r see Table 5 d is increasing in δ see Table theoretical analysis of the special case n = 3 In contrast to the k-model, we assume that the optimal number of detours is unimodal in p. For fixed n 3, r > 0 and δ > r and probabilities 0 < p < p < p 3 it should hold one of the cases: d opt p < d opt p < d opt p 3 d opt p < d opt p > d opt p 3 d opt p > d opt p > d opt p 3. So there exist no parameters n, r, δ, p, p, p 3 such that d opt p > d opt p < d opt p 3. Since there is no way to build up a formula for arbitrary n, r, δ we try the special case n = 3. Let E p i denote the expected minimal value E[minŵ ps 0, ŵ p s i ] of the solution pair. The probability that exactly k perturbations occur is: p k p n k. By enumeration of all possible cases of perturbations each time checking the minimal value of ŵ p s 0 and ŵ p s i for i =,, 3 we observed the following formulas for the expected minimal values E p, Ep and E p 3 : E p = p 3 + p p δ + r + p p 5 + δ + r + p 3 p δ + r + p p 5 + δ + r + p 5 p 8 + δ + r + p 3 + 3δ

29 . The p - Model E p = p 3 + p p δ + minδ, r + p p 5 + 9δ + r + minδ, r + p 3 p δ + r + minδ, r + minδ, r + δ + rδ + p p 5 + 0δ + r + minδ, r + δ + rδ + p 5 p 8 + δ + minδ, r + δ + rδ + p 3 + 3δ E p 3 = p 3 + p p minδ, 3r + p p 5 + 9δ + 3 minδ, 3r + p 3 p δ + 3r + 9 minδ, 3r + δ + rδ + p p 5 + δ + 3 min3δ, 3r + δ + rδ + p 5 p 8 + δ + 3 min3δ, 3r + δ + rδ + p 3 + 3δ If we want to eliminate all minimum terms we have to distinguish cases and the resulting polynomials are still of degree. We found no way to prove our assumption. case n = 3 and δ = nr If we additionally fix the perturbation intensity to δ = nr, where we found the highest peaks and gaps for the k-model, the polynomials get much more handy. There are only two remaining minimum terms. The expected minimal values are E p = 3 + 7pr + p r E p = 3 + 7pr + p r + p 3 rm p rm E p 3 = 3 + r + 9rm p + 3r 8rm p 5 + 5r + 9rm p + 30p 3 r 9p r + 9pr with m = min, 3r and m = min, r. We immediately see that E p < Ep for all 0 < p < and r > 0, since: E p Ep = p3 rm p rm = p 3 pm > 0 If it holds that E p < Ep 3 for all 0 < p < and r > 0 the existence of gaps is out of question. 7

30 3 Optimal Pairs vs. Optimal Alternatives 0 < E p 3 Ep = r + 3rm p + 3r rm p 5 + 5r + 3rm p + 30p 3 r p r + pr = pprp 3p m p 3 + 3p 3 m + p 9p + 0 < p 3p m p 3 + 3p 3 m + p 9p + = 3p 3 pm + p p 3 + p 9p + 0 < p p 3 + p 9p + =: gp Since g p = 8p 3 7p + p 9 g p = 0 p = { and g p = p p + g = ± I C gp is minimal for p = and since g = it holds that gp E p < Ep 3 for all 0 < p < and r > 0 d opt p = for all 0 < p < and r > 0 for 0 < p <. Proposition.9 The p-model with r > 0 and 0 < p < has neither a peak nor a gap for the special case n = 3, δ = 3r. 3 Optimal Pairs vs. Optimal Alternatives The original question was how to choose two solutions S 0 and S such that the expected minimal value E[minŵS 0, ŵs ] gets minimal. Is it generally optimal to fix one of the solutions of the pair to the initial best solution that uses no detour? Since it makes no sense that both solutions use the same detour we redefine the set S of solutions we look at: S = {s i,j : i, j 0; i + j n} with s i,j = e 0,,..., e 0,i, e,i+,..., e,i+j, e 0,i+j+,..., e 0,n 8

31 3 Optimal Pairs vs. Optimal Alternatives The length of the path s i,j is: i ws i,j = we 0,t + t= i+j t=i+ we,t + n t=i+j+ we 0,t The first i edges of a solution are non-detour edges, the next j edges are detours and the remaining n i j edges are non-detour edges again. Since E[minŵs 0,i, ŵs i,j ] = E[minŵs 0,j, ŵs j,i ] we assume that the second solution uses at least as much detours as the first solution from the pair. So the set of solution pairs P to analyze is: P = {p i,j = {s 0,i, s i,j } : 0 i n, i j n i} with wp i,j = minws 0,i, ws i,j Now we are able to put the question in concrete terms: How to choose i and j such that the expected minimal value E[ŵp i,j ] gets minimal? For the k - model we are able to calculate the expected minimal value of a solution pair exactly as described in subsection.. For the p - model we have to do simulations again as described in subsection.. We tested both problems with similar parameter sets: k - model with exact calculation k =,,..., n n = 3,,..., 0 r = 0.05, 0.0,..., δ = r + 0., r + 0.,..., n + rn p - model with T = 0 simulation runs p = 0., 0.,..., 0.9 n = 3,,..., 0 r = 0.05, 0.0,..., δ = r + 0., r + 0.,..., n + rn We made one main observation: For all settings the optimal solution with respect to w the solution that uses no detour at all was part of the optimal pairs. Thus it seems to hold for both models: min E[ŵp 0,l] 0 l n min E[ŵp i,j ] i,j n i+j n In detail the results are identical to those of subsection where we analyzed only the choice of an optimal alternative solution. So there is no need to show them again explicitly. To give a theoretical prove for the correctness of this observation for arbitrary problem parameters would be a quite hard task. But we give a prove at least for n = and n = 3. 9

32 3 Optimal Pairs vs. Optimal Alternatives We start with n =. The first column of Table 7 shows all possible cases for perturbations. We symbolize the graph by a matrix. The entries of the matrix show which edges get perturbed denoted by X and which edges not denoted by O. There are only three solution pairs to analyze. If the first solution uses no detour the second solution can use either one or two detours. And if the first solution uses already one detour the second has also to use one detour. ŵp 0, ŵp 0, ŵp, OO OO + r XO OO + δ + minδ, r + r OX OO + r + minδ, r + r OO XO + r OO OX + r XO XO + δ + δ + r + δ XO OX + δ + δ + r XX OO + r + δ + r + r + δ OO XX + r + δ + rδ OX OX + δ + δ + r + δ OX XO + r + δ + r XX XO + r + δ + δ + minδ, r + rδ + r + δ XX OX + δ + δ + minδ, r + rδ + r + δ OX XX + δ + δ + r + δ + rδ XO XX + δ + δ + r + δ + rδ XX XX + δ + δ + r + δ + rδ Table 7: Enumeration of all possible cases of perturbations for n = 30

33 3 Optimal Pairs vs. Optimal Alternatives Then the expected minimal values for the solution pairs of the k-model are: E k= 0, = 8 + r + δ E k= 0, = + r + δ E k=3 0, = 8 + r + 5δ E k= 0, = 8 + minδ, r E k= 0, = + r + δ E k=3 0, = 8 + δ + minδ, r + rδ E k=, = 8 + r E k=, = + r + δ + rδ E k=3, = 8 + r + δ + rδ We immediately see that E k 0, Ek, for k =,, 3. Lemma 3. k-model For a string of pearls G n=,r with detours r > 0, perturbation intensity δ > r and 0 < k < perturbations there is always an optimal solution pair that contains the solution s 0,0. For some parameter combinations it exist other optimal solution pairs that do not contain the solution s 0,0. It holds: min E[ŵ kp 0,l ] 0 l min E[ŵ k p i,j ] i,j i+j The expected minimal values for the solution pairs of the p-model are: E p 0, = p + p p r + δ + p p + r + δ + p 3 p8 + r + 5δ + p + δ E p 0, = p + p p minδ, r + p p + r + δ + p 3 p8 + δ + minδ, r + rδ + p + δ E p, = p + r + p p r + p p + r + δ + rδ + p 3 p8 + r + δ + rδ + p + r + δ + rδ 3

34 3 Optimal Pairs vs. Optimal Alternatives Again every summand of E p 0, is at most equal to the corresponding summand of Ep, and some summands are strictly smaller. Thus the question is immediately answered for the p-model, too. Lemma 3. p-model For a string of pearls G n=,r with detours r > 0, perturbation intensity δ > r and a perturbation probability 0 < p < the optimal solution pair always contains the solution s 0,0. It holds: min E[ŵ pp 0,l ] < 0 l min E[ŵ p p i,j ] i,j i+j We do the same procedure for n = 3. We have to look at five solution pairs: p 0,, p 0,, p 0,3 and p,, p, and possible cases of perturbations. We don t show every single case, but give the formulas for k = 0,,..., n. For each k we have to show that the expected value of one of p 0,, p 0,, p 0,3 is at least as good as the expected value of the pair p,. The same for the pair p,. k = 0: E k=0 0, = E k=0 0, = E k=0 0,3 = 3 < 3 + r = E k=0, = E k=0, k = : a E k= 0, = 8 + r + δ E k= 0, = 8 + δ + minδ, r E k= 0,3 = minδ, 3r vs. E k= 0,3 E k=, minδ, 3r 8 + r + δ E k=, = 8 + r + δ E k=, = 8 + 9r 3 minδ, 3r r + δ for δ 3r : 3δ r + δ δ 3r for δ 3r : 9r r + δ δ 3r b E k= 0,3 E k=, minδ, 3r 8 + 9r 9r 9r 3

35 3 Optimal Pairs vs. Optimal Alternatives k = : E k= 0, = 5 + r + δ 5 E k= 0, = 5 + r + 9δ + minδ, r 5 E k= 0,3 = 5 + 9δ + 3 minδ, 3r 5 vs. E k=, = 5 + 5r + 9δ + rδ 5 E k=, = 5 + 8r + 9δ + r min, δ + rδ 5 a E k= 0,3 E k=, 5 + 9δ + 3 minδ, 3r 5 + 5r + 9δ + rδ 5 5 9r 5r + rδ b E k= 0,3 E k=, 5 + 9δ + 3 minδ, 3r 5 + 8r + 9δ + r min, d + rδ 5 5 9r 8r + r min, δ + rδ k = 3: E k=3 0, = 0 + r + δ 0 E k=3 0, = 0 + r + δ + minδ, r + minδ, r + rδ 0 E k=3 0,3 = 0 + 3r + 8δ + 9 minδ, 3r + rδ 0 vs. E k=3, = 0 + 0r + δ + rδ 0 E k=3, = 0 + 8r + 8δ + minδ, r + rδ + 7rδ 0 a E k=3 0, E k=3, r + δ + minδ, r + minδ, r + rδ 0 + 0r + δ + rδ 0 minδ, r + minδ, r + rδ r + rδ 8r + rδ r + rδ 33

36 3 Optimal Pairs vs. Optimal Alternatives b E k=3 0,3 E k=3, 0 + 3r + 8δ + 9 minδ, 3r + rδ 0 + 8r + 8δ + minδ, r + rδ + 7rδ minδ, 3r + rδ 5r + minδ, r + rδ + 7rδ for δ r + rδ : 9δ 5r + 7rδ + δ 7δ 7r + 7rδ 5r + 7rδ for δ r + rδ : 7r + 9rδ 7r + 9rδ k = : E k= 0, = 5 + r + δ 5 E k= 0, = 5 + r + δ + minδ, r + rδ 5 E k= 0,3 = 5 + δ + 3 minδ, 3r + rδ 5 vs. E k=, = 5 + 5r + δ + rδ 5 E k=, = 5 + 8r + δ + 9rδ 5 a b E k= 0, E k=, r + δ + minδ, r + rδ 5 + 5r + δ + rδ 5 minδ, r + rδ 3r + rδ 8r + rδ 3r + rδ E k= 0, E k=, r + δ + minδ, r + rδ 5 + 8r + δ + 9rδ 5 minδ, r + rδ r + 9rδ 8r + rδ r + 9rδ 3

37 3 Optimal Pairs vs. Optimal Alternatives k = 5: E k=5 0, = 8 + r + δ E k=5 0, = 8 + 3δ + minδ, r + rδ E k=5 0,3 = 8 + δ + 3 minδ, 3r + rδ vs. E k=5, = 8 + r + 3δ + rδ E k=5, = 0 + 8r + δ + minδ, r + rδ + 5rδ a E k=5 0,3 E k=5, 8 + δ + 3 minδ, 3r + rδ 8 + r + 3δ + rδ 3 minδ, 3r + rδ r + δ + rδ for δ 3r + rδ : 3δ r + rδ + δ δ 3r + rδ for δ 3r + rδ : 9r + rδ r + rδ + δ 3r + rδ δ b E k=5 0,3 E k=5, 8 + δ + 3 minδ, 3r + rδ 0 + 8r + δ + minδ, r + rδ + 5rδ 3 minδ, 3r + rδ 8r + minδ, r + rδ + 5rδ for δ r + rδ : 3δ 8r + δ + 5rδ δ 8r + 5rδ for δ r + rδ : 9r + rδ 8r + δ + 5rδ r + rδ δ k = : E k= 0, = E k= 0, = E k= 0,3 = 3 + 3δ < 3 + r + 3δ + rδ = E k=, = E k=, 35

38 3 Optimal Pairs vs. Optimal Alternatives Lemma 3.3 k-model For a string of pearls G n=3,r with detours r > 0, perturbation intensity δ > r and 0 < k < perturbations there is always an optimal solution pair that contains the solution s 0,0. For some parameter combinations there exist other optimal solution pairs that do not contain the solution s 0,0. It holds: min E[ŵ kp 0,l ] 0 l 3 min E[ŵ k p i,j ] i,j 3 i+j 3 With the formulas for the k-model we are ready to give the formulas for the p-model: E p 0, = p 3 + p p r + δ + p p 5 + δ + r + p 3 p δ + r + p p 5 + δ + r + p 5 p8 + δ + r + p 3 + 3δ E p 0, = p 3 + p p δ + minδ, r + p p 5 + 9δ + r + minδ, r + p 3 p δ + r + minδ, r + minδ, r + rδ + p p 5 + δ + r + minδ, r + rδ + p 5 p8 + 3δ + minδ, r + rδ + p 3 + 3δ E p 0,3 = p 3 + p p minδ, 3r + p p 5 + 9δ + 3 minδ, 3r + p 3 p δ + 3r + 9 minδ, 3r + rδ + p p 5 + δ + 3 minδ, 3r + rδ + p 5 p8 + δ + 3 minδ, 3r + rδ + p 3 + 3δ E p, = p 3 + r + p p r + δ + p p 5 + 5r + 9δ + rδ + p 3 p r + δ + rδ + p p 5 + 5r + δ + rδ + p 5 p8 + r + 3δ + rδ + p 3 + r + 3δ + rδ E p, = p 3 + r + p p r + p p 5 + 9δ + 8r + r min, δ + rδ + p 3 p r + 8δ + minδ, r + rδ + 7rδ + p p 5 + δ + 8r + 9rδ + p 5 p8 + 8r + δ + 5rδ + minδ, r + rδ + p 3 + r + 3δ + rδ 3

39 3 Optimal Pairs vs. Optimal Alternatives We show that d := E p, Ep 0,3 > 0 for arbitrary r > 0, δ > r and 0 < p < : d = p r {> 0 + p p 5 r + δ 3 minδ, 3r { 0 + p p 5r + rδ 3 minδ, 3r { p p r + rδ + p 3 p 3 7r + δ + rδ 9 minδ, 3r + rδ { p 3 p 3 r rδ + p p 5r + rδ 3 minδ, 3r + rδ { p p r + 3rδ + p 5 pr + δ + rδ 3 minδ, 3r + rδ { 0 + p r + rδ {> 0 > p p r + rδ + p 3 p 3 r rδ + p p r + 3rδ for p < p: d > p 3 p 3 r + rδ + r rδ > 0 for p p: d > p 3 p 3 r + 3rδ + r rδ > 0 We do the same for d := E p, Ep 0,3 > 0: d = p r {> 0 + p p 5 9r 3 minδ, 3r { 0 + p p 8r + r min, δ + rδ 3 minδ, 3r {> 0 + p 3 p 3 5r + minδ, r + rδ + 7rδ 9 minδ, 3r + rδ { 0 + p p 8r + 9rδ 3 minδ, 3r + rδ {> 0 + p 5 p8r + 5rδ + minδ, r + rδ 3 minδ, 3r + rδ { 0 + p r + rδ {> 0 Lemma 3. p-model For a string of pearls G n=3,r with detours r > 0, perturbation intensity δ > r and a perturbation probability 0 < p < the optimal solution pair always contains the solution s 0,0. It holds: min E[ŵ pp 0,l ] < 0 l 3 min E[ŵ p p i,j ] i,j 3 i+j 3 37

40 Failed Assumption Failed Assumption One of our initial interests for this abstract string of pearls model was to prove theoretically one of the experimentally observed results that are presented in [Sam 005a]. There a similar but more complex scenario is analyzed where the chance to give a prove is quite small. Translated to the string of pearls model we assumed to be able to prove the following assumption: Consider a string of pearls G n,r = {V, E, w}. Let s i denote the solution that uses i detours and let E i denote the expected minimal value E[minŵs 0, ŵs i ] with respect to ŵ. Furthermore let n 3, r > 0, δ > r and either 0 < p < p-model or 0 < k < n k-model. Then there do not exist parameters a, b, c N with 0 a < b < c n such that E a < E b > E c. We had to find out that this assumption does not generally hold for the p-model and the k-model. For n = 3 we found counter examples with the help of the theoretical formulas for the expected minimal values shown in Subsections. and.. For larger problem sizes n we found counter examples experimentally. We could give a list of parameter combinations where the assumption fails. We are content with showing one counter-example for the p- model and a set of counter-examples for the k-model: p-model: n = 3, r = 0., δ = 0. and p = 0. E p < Ep > Ep 3 : E p 0 = E p = E p = 3.88 E p 3 = 3.30 k-model: n = 3, 0 < r < 5 9, δ = 3r and k = Ek < Ek > Ek 3 : E k 0 = r 5 E k = 3 + 8r 5 E k = 3 + 8r min0, 3r r E k 3 = r min0, 3r 3r If we change the string of pearls graph such that the detours are iteratively increasing see Figure 3 the assumption seems to hold. At least we found no counter examples. But with this modification the problems get more complicated again. 38

41 5 Conclusions v 0 v v v 3 v n v n + r + r + 3r + nr Figure 3: Extended String of Pearls with Iteratively Increasing Detours 5 Conclusions We analyzed strings of pearls G n,r see Definition. with biased perturbations see Definition.: k-model and Definition.3: p-model. In Section we analyzed the optimal choice of an alternative solution S additionally to the solution S 0 that uses no detour, such that E[minŵS 0, ŵs ] is minimal. Since all detours of the graph have the same length it does not matter which detours S uses. Only the number d of detours is important. The models turned out to be awkward to manage theoretically. Thus the results mainly are observations by computer calculations or computer simulations. For certain parameter subsets we were able to prove the results. For the k-model we observed that the optimal number of detours d opt decreases in the detour length r, increases in the perturbation intensity δ, behaves unexpectedly irregular in the number of perturbations k. For certain combinations of n, r, δ it jumps up and down if k increases see Pages.., Proposition. and Conjecture.7. For the p-model we observed that for increasing problem size n the optimal number of detours d opt = dn, r, δ, p increases up to a number d = dr, δ, p and then remains constant, such that: { n : n < d d opt n, r, δ, p = r, δ, p, d r, δ, p : otherwise. We observe the following dependencies of d r, δ, p: d first increases and then decreases in the perturbation probability p, d decreases in the detour length r, d increases in perturbation intensity δ. 39

42 REFERENCES Furthermore we conjecture that for both models it is optimal to fix one of the solutions to the solution that uses no detour. If the alternative is correctly chosen there exist no other pairs of solutions that are better proved for n 3. References [Sam 005a] J. Sameith. 005 Penalty Methods Generating Alternative Solutions for Discrete Optimization Problems with Uncertain Data. submitted as doctoral dissertation, Faculty of Mathematics and Computer Science, Friedrich-Schiller- University Jena. [Sam 005b] J. Sameith. 005 Relative Improvement by Alternative Solutions for Classes of Simple Shortest Path Problems with Uncertain Data Part I: Strings of Pearls G n with Unbiased Perturbations. Technical report. Available at 0

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

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

More information

fsat We next show that if sat P, then fsat has a polynomial-time algorithm. c 2010 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 425

fsat We next show that if sat P, then fsat has a polynomial-time algorithm. c 2010 Prof. Yuh-Dauh Lyuu, National Taiwan University Page 425 fsat fsat is this function problem: Let φ(x 1, x 2,..., x n ) be a boolean expression. If φ is satisfiable, then return a satisfying truth assignment. Otherwise, return no. We next show that if sat P,

More information

arxiv:math/ v1 [math.co] 13 Jul 2005

arxiv:math/ v1 [math.co] 13 Jul 2005 A NEW PROOF OF THE REFINED ALTERNATING SIGN MATRIX THEOREM arxiv:math/0507270v1 [math.co] 13 Jul 2005 Ilse Fischer Fakultät für Mathematik, Universität Wien Nordbergstrasse 15, A-1090 Wien, Austria E-mail:

More information

On NP-Completeness for Linear Machines

On NP-Completeness for Linear Machines JOURNAL OF COMPLEXITY 13, 259 271 (1997) ARTICLE NO. CM970444 On NP-Completeness for Linear Machines Christine Gaßner* Institut für Mathematik und Informatik, Ernst-Moritz-Arndt-Universität, F.-L.-Jahn-Strasse

More information

The min cost flow problem Course notes for Optimization Spring 2007

The min cost flow problem Course notes for Optimization Spring 2007 The min cost flow problem Course notes for Optimization Spring 2007 Peter Bro Miltersen February 7, 2007 Version 3.0 1 Definition of the min cost flow problem We shall consider a generalization of the

More information

Convex Optimization Notes

Convex Optimization Notes Convex Optimization Notes Jonathan Siegel January 2017 1 Convex Analysis This section is devoted to the study of convex functions f : B R {+ } and convex sets U B, for B a Banach space. The case of B =

More information

Connectedness of Efficient Solutions in Multiple. Objective Combinatorial Optimization

Connectedness of Efficient Solutions in Multiple. Objective Combinatorial Optimization Connectedness of Efficient Solutions in Multiple Objective Combinatorial Optimization Jochen Gorski Kathrin Klamroth Stefan Ruzika Communicated by H. Benson Abstract Connectedness of efficient solutions

More information

Mathematical Induction

Mathematical Induction Mathematical Induction Let s motivate our discussion by considering an example first. What happens when we add the first n positive odd integers? The table below shows what results for the first few values

More information

Lecture 4: Applications of Orthogonality: QR Decompositions

Lecture 4: Applications of Orthogonality: QR Decompositions Math 08B Professor: Padraic Bartlett Lecture 4: Applications of Orthogonality: QR Decompositions Week 4 UCSB 204 In our last class, we described the following method for creating orthonormal bases, known

More information

Math 350: An exploration of HMMs through doodles.

Math 350: An exploration of HMMs through doodles. Math 350: An exploration of HMMs through doodles. Joshua Little (407673) 19 December 2012 1 Background 1.1 Hidden Markov models. Markov chains (MCs) work well for modelling discrete-time processes, or

More information

Algorithms Exam TIN093 /DIT602

Algorithms Exam TIN093 /DIT602 Algorithms Exam TIN093 /DIT602 Course: Algorithms Course code: TIN 093, TIN 092 (CTH), DIT 602 (GU) Date, time: 21st October 2017, 14:00 18:00 Building: SBM Responsible teacher: Peter Damaschke, Tel. 5405

More information

Combinatorial Optimization

Combinatorial Optimization Combinatorial Optimization Problem set 8: solutions 1. Fix constants a R and b > 1. For n N, let f(n) = n a and g(n) = b n. Prove that f(n) = o ( g(n) ). Solution. First we observe that g(n) 0 for all

More information

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs LP-Duality ( Approximation Algorithms by V. Vazirani, Chapter 12) - Well-characterized problems, min-max relations, approximate certificates - LP problems in the standard form, primal and dual linear programs

More information

Solution of the 8 th Homework

Solution of the 8 th Homework Solution of the 8 th Homework Sangchul Lee December 8, 2014 1 Preinary 1.1 A simple remark on continuity The following is a very simple and trivial observation. But still this saves a lot of words in actual

More information

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory Part V 7 Introduction: What are measures and why measurable sets Lebesgue Integration Theory Definition 7. (Preliminary). A measure on a set is a function :2 [ ] such that. () = 2. If { } = is a finite

More information

CS261: A Second Course in Algorithms Lecture #8: Linear Programming Duality (Part 1)

CS261: A Second Course in Algorithms Lecture #8: Linear Programming Duality (Part 1) CS261: A Second Course in Algorithms Lecture #8: Linear Programming Duality (Part 1) Tim Roughgarden January 28, 2016 1 Warm-Up This lecture begins our discussion of linear programming duality, which is

More information

University of California Berkeley CS170: Efficient Algorithms and Intractable Problems November 19, 2001 Professor Luca Trevisan. Midterm 2 Solutions

University of California Berkeley CS170: Efficient Algorithms and Intractable Problems November 19, 2001 Professor Luca Trevisan. Midterm 2 Solutions University of California Berkeley Handout MS2 CS170: Efficient Algorithms and Intractable Problems November 19, 2001 Professor Luca Trevisan Midterm 2 Solutions Problem 1. Provide the following information:

More information

6.842 Randomness and Computation Lecture 5

6.842 Randomness and Computation Lecture 5 6.842 Randomness and Computation 2012-02-22 Lecture 5 Lecturer: Ronitt Rubinfeld Scribe: Michael Forbes 1 Overview Today we will define the notion of a pairwise independent hash function, and discuss its

More information

ON THE DISTRIBUTION OF CLASS GROUPS OF NUMBER FIELDS

ON THE DISTRIBUTION OF CLASS GROUPS OF NUMBER FIELDS ON THE DISTRIBUTION OF CLASS GROUPS OF NUMBER FIELDS GUNTER MALLE Abstract. We propose a modification of the predictions of the Cohen Lenstra heuristic for class groups of number fields in the case where

More information

x 1 + x 2 2 x 1 x 2 1 x 2 2 min 3x 1 + 2x 2

x 1 + x 2 2 x 1 x 2 1 x 2 2 min 3x 1 + 2x 2 Lecture 1 LPs: Algebraic View 1.1 Introduction to Linear Programming Linear programs began to get a lot of attention in 1940 s, when people were interested in minimizing costs of various systems while

More information

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs Computational Integer Programming Lecture 2: Modeling and Formulation Dr. Ted Ralphs Computational MILP Lecture 2 1 Reading for This Lecture N&W Sections I.1.1-I.1.6 Wolsey Chapter 1 CCZ Chapter 2 Computational

More information

The small ball property in Banach spaces (quantitative results)

The small ball property in Banach spaces (quantitative results) The small ball property in Banach spaces (quantitative results) Ehrhard Behrends Abstract A metric space (M, d) is said to have the small ball property (sbp) if for every ε 0 > 0 there exists a sequence

More information

A Parametric Simplex Algorithm for Linear Vector Optimization Problems

A Parametric Simplex Algorithm for Linear Vector Optimization Problems A Parametric Simplex Algorithm for Linear Vector Optimization Problems Birgit Rudloff Firdevs Ulus Robert Vanderbei July 9, 2015 Abstract In this paper, a parametric simplex algorithm for solving linear

More information

The min cost flow problem Course notes for Search and Optimization Spring 2004

The min cost flow problem Course notes for Search and Optimization Spring 2004 The min cost flow problem Course notes for Search and Optimization Spring 2004 Peter Bro Miltersen February 20, 2004 Version 1.3 1 Definition of the min cost flow problem We shall consider a generalization

More information

0. Introduction 1 0. INTRODUCTION

0. Introduction 1 0. INTRODUCTION 0. Introduction 1 0. INTRODUCTION In a very rough sketch we explain what algebraic geometry is about and what it can be used for. We stress the many correlations with other fields of research, such as

More information

MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets

MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets 1 Rational and Real Numbers Recall that a number is rational if it can be written in the form a/b where a, b Z and b 0, and a number

More information

Lecture 2: Divide and conquer and Dynamic programming

Lecture 2: Divide and conquer and Dynamic programming Chapter 2 Lecture 2: Divide and conquer and Dynamic programming 2.1 Divide and Conquer Idea: - divide the problem into subproblems in linear time - solve subproblems recursively - combine the results in

More information

Lower Bounds for q-ary Codes with Large Covering Radius

Lower Bounds for q-ary Codes with Large Covering Radius Lower Bounds for q-ary Codes with Large Covering Radius Wolfgang Haas Immanuel Halupczok Jan-Christoph Schlage-Puchta Albert-Ludwigs-Universität Mathematisches Institut Eckerstr. 1 79104 Freiburg, Germany

More information

MINIMAL GENERATING SETS OF GROUPS, RINGS, AND FIELDS

MINIMAL GENERATING SETS OF GROUPS, RINGS, AND FIELDS MINIMAL GENERATING SETS OF GROUPS, RINGS, AND FIELDS LORENZ HALBEISEN, MARTIN HAMILTON, AND PAVEL RŮŽIČKA Abstract. A subset X of a group (or a ring, or a field) is called generating, if the smallest subgroup

More information

Bipartite Subgraphs of Integer Weighted Graphs

Bipartite Subgraphs of Integer Weighted Graphs Bipartite Subgraphs of Integer Weighted Graphs Noga Alon Eran Halperin February, 00 Abstract For every integer p > 0 let f(p be the minimum possible value of the maximum weight of a cut in an integer weighted

More information

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

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

More information

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

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

More information

4 Sequencing problem with heads and tails

4 Sequencing problem with heads and tails 4 Sequencing problem with heads and tails In what follows, we take a step towards multiple stage problems Therefore, we consider a single stage where a scheduling sequence has to be determined but each

More information

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502) Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik Combinatorial Optimization (MA 4502) Dr. Michael Ritter Problem Sheet 1 Homework Problems Exercise

More information

R u t c o r Research R e p o r t. The Optimization of the Move of Robot Arm by Benders Decomposition. Zsolt Robotka a RRR , DECEMBER 2005

R u t c o r Research R e p o r t. The Optimization of the Move of Robot Arm by Benders Decomposition. Zsolt Robotka a RRR , DECEMBER 2005 R u t c o r Research R e p o r t The Optimization of the Move of Robot Arm by Benders Decomposition Zsolt Robotka a Béla Vizvári b RRR 43-2005, DECEMBER 2005 RUTCOR Rutgers Center for Operations Research

More information

Scheduling with Common Due Date, Earliness and Tardiness Penalties for Multi-Machine Problems: A Survey

Scheduling with Common Due Date, Earliness and Tardiness Penalties for Multi-Machine Problems: A Survey Scheduling with Common Due Date, Earliness and Tardiness Penalties for Multi-Machine Problems: A Survey Volker Lauff and Frank Werner 1 Otto-von-Guericke-Universität, Fakultät für Mathematik, PSF 4120,

More information

Chapter 3 Deterministic planning

Chapter 3 Deterministic planning Chapter 3 Deterministic planning In this chapter we describe a number of algorithms for solving the historically most important and most basic type of planning problem. Two rather strong simplifying assumptions

More information

Part 2 Continuous functions and their properties

Part 2 Continuous functions and their properties Part 2 Continuous functions and their properties 2.1 Definition Definition A function f is continuous at a R if, and only if, that is lim f (x) = f (a), x a ε > 0, δ > 0, x, x a < δ f (x) f (a) < ε. Notice

More information

1 Difference between grad and undergrad algorithms

1 Difference between grad and undergrad algorithms princeton univ. F 4 cos 52: Advanced Algorithm Design Lecture : Course Intro and Hashing Lecturer: Sanjeev Arora Scribe:Sanjeev Algorithms are integral to computer science and every computer scientist

More information

2. Prime and Maximal Ideals

2. Prime and Maximal Ideals 18 Andreas Gathmann 2. Prime and Maximal Ideals There are two special kinds of ideals that are of particular importance, both algebraically and geometrically: the so-called prime and maximal ideals. Let

More information

Polynomial Space. The classes PS and NPS Relationship to Other Classes Equivalence PS = NPS A PS-Complete Problem

Polynomial Space. The classes PS and NPS Relationship to Other Classes Equivalence PS = NPS A PS-Complete Problem Polynomial Space The classes PS and NPS Relationship to Other Classes Equivalence PS = NPS A PS-Complete Problem 1 Polynomial-Space-Bounded TM s A TM M is said to be polyspacebounded if there is a polynomial

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

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

More information

The Knapsack Problem

The Knapsack Problem The Knapsack Problem René Beier rbeier@mpi-sb.mpg.de Max-Planck-Institut für Informatik Saarbrücken, Germany René Beier Max-Planck-Institut, Germany The Knapsack Problem p. 1 The Knapsack Problem Given

More information

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

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

More information

Lecture 5. 1 Review (Pairwise Independence and Derandomization)

Lecture 5. 1 Review (Pairwise Independence and Derandomization) 6.842 Randomness and Computation September 20, 2017 Lecture 5 Lecturer: Ronitt Rubinfeld Scribe: Tom Kolokotrones 1 Review (Pairwise Independence and Derandomization) As we discussed last time, we can

More information

Welsh s problem on the number of bases of matroids

Welsh s problem on the number of bases of matroids Welsh s problem on the number of bases of matroids Edward S. T. Fan 1 and Tony W. H. Wong 2 1 Department of Mathematics, California Institute of Technology 2 Department of Mathematics, Kutztown University

More information

Solutions to February 2008 Problems

Solutions to February 2008 Problems Solutions to February 008 Problems Problem. An Egyptian-style pyramid has a square b b base and height h. What is the volume of the smallest sphere that contains the pyramid? (This may be a little trickier

More information

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 = Chapter 5 Sequences and series 5. Sequences Definition 5. (Sequence). A sequence is a function which is defined on the set N of natural numbers. Since such a function is uniquely determined by its values

More information

Sprague-Grundy Values of the R-Wythoff Game

Sprague-Grundy Values of the R-Wythoff Game Sprague-Grundy Values of the R-Wythoff Game Albert Gu Department of Mathematics Carnegie Mellon University Pittsburgh, PA 15213, U.S.A agu@andrew.cmu.edu Submitted: Aug 6, 2014; Accepted: Apr 10, 2015;

More information

Edge Isoperimetric Theorems for Integer Point Arrays

Edge Isoperimetric Theorems for Integer Point Arrays Edge Isoperimetric Theorems for Integer Point Arrays R. Ahlswede, S.L. Bezrukov Universität Bielefeld, Fakultät für Mathematik Postfach 100131, 33501 Bielefeld, Germany Abstract We consider subsets of

More information

An improved approximation algorithm for the stable marriage problem with one-sided ties

An improved approximation algorithm for the stable marriage problem with one-sided ties Noname manuscript No. (will be inserted by the editor) An improved approximation algorithm for the stable marriage problem with one-sided ties Chien-Chung Huang Telikepalli Kavitha Received: date / Accepted:

More information

Technische Universität Dresden Institute of Numerical Mathematics

Technische Universität Dresden Institute of Numerical Mathematics Technische Universität Dresden Institute of Numerical Mathematics An Improved Flow-based Formulation and Reduction Principles for the Minimum Connectivity Inference Problem Muhammad Abid Dar Andreas Fischer

More information

Single Machine Scheduling with Generalized Total Tardiness Objective Function

Single Machine Scheduling with Generalized Total Tardiness Objective Function Single Machine Scheduling with Generalized Total Tardiness Objective Function Evgeny R. Gafarov a, Alexander A. Lazarev b Institute of Control Sciences of the Russian Academy of Sciences, Profsoyuznaya

More information

M17 MAT25-21 HOMEWORK 6

M17 MAT25-21 HOMEWORK 6 M17 MAT25-21 HOMEWORK 6 DUE 10:00AM WEDNESDAY SEPTEMBER 13TH 1. To Hand In Double Series. The exercises in this section will guide you to complete the proof of the following theorem: Theorem 1: Absolute

More information

Small Forbidden Configurations III

Small Forbidden Configurations III Small Forbidden Configurations III R. P. Anstee and N. Kamoosi Mathematics Department The University of British Columbia Vancouver, B.C. Canada V6T Z anstee@math.ubc.ca Submitted: Nov, 005; Accepted: Nov

More information

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products Chapter 3 Cartesian Products and Relations The material in this chapter is the first real encounter with abstraction. Relations are very general thing they are a special type of subset. After introducing

More information

DIMACS Technical Report March Game Seki 1

DIMACS Technical Report March Game Seki 1 DIMACS Technical Report 2007-05 March 2007 Game Seki 1 by Diogo V. Andrade RUTCOR, Rutgers University 640 Bartholomew Road Piscataway, NJ 08854-8003 dandrade@rutcor.rutgers.edu Vladimir A. Gurvich RUTCOR,

More information

Lecture 7: Schwartz-Zippel Lemma, Perfect Matching. 1.1 Polynomial Identity Testing and Schwartz-Zippel Lemma

Lecture 7: Schwartz-Zippel Lemma, Perfect Matching. 1.1 Polynomial Identity Testing and Schwartz-Zippel Lemma CSE 521: Design and Analysis of Algorithms I Winter 2017 Lecture 7: Schwartz-Zippel Lemma, Perfect Matching Lecturer: Shayan Oveis Gharan 01/30/2017 Scribe: Philip Cho Disclaimer: These notes have not

More information

arxiv: v1 [cs.sc] 17 Apr 2013

arxiv: v1 [cs.sc] 17 Apr 2013 EFFICIENT CALCULATION OF DETERMINANTS OF SYMBOLIC MATRICES WITH MANY VARIABLES TANYA KHOVANOVA 1 AND ZIV SCULLY 2 arxiv:1304.4691v1 [cs.sc] 17 Apr 2013 Abstract. Efficient matrix determinant calculations

More information

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions Math 308 Midterm Answers and Comments July 18, 2011 Part A. Short answer questions (1) Compute the determinant of the matrix a 3 3 1 1 2. 1 a 3 The determinant is 2a 2 12. Comments: Everyone seemed to

More information

CS261: A Second Course in Algorithms Lecture #12: Applications of Multiplicative Weights to Games and Linear Programs

CS261: A Second Course in Algorithms Lecture #12: Applications of Multiplicative Weights to Games and Linear Programs CS26: A Second Course in Algorithms Lecture #2: Applications of Multiplicative Weights to Games and Linear Programs Tim Roughgarden February, 206 Extensions of the Multiplicative Weights Guarantee Last

More information

Bicriterial Delay Management

Bicriterial Delay Management Universität Konstanz Bicriterial Delay Management Csaba Megyeri Konstanzer Schriften in Mathematik und Informatik Nr. 198, März 2004 ISSN 1430 3558 c Fachbereich Mathematik und Statistik c Fachbereich

More information

Recoverable Robustness in Scheduling Problems

Recoverable Robustness in Scheduling Problems Master Thesis Computing Science Recoverable Robustness in Scheduling Problems Author: J.M.J. Stoef (3470997) J.M.J.Stoef@uu.nl Supervisors: dr. J.A. Hoogeveen J.A.Hoogeveen@uu.nl dr. ir. J.M. van den Akker

More information

CS 124 Math Review Section January 29, 2018

CS 124 Math Review Section January 29, 2018 CS 124 Math Review Section CS 124 is more math intensive than most of the introductory courses in the department. You re going to need to be able to do two things: 1. Perform some clever calculations to

More information

6.867 Machine Learning

6.867 Machine Learning 6.867 Machine Learning Problem set 1 Solutions Thursday, September 19 What and how to turn in? Turn in short written answers to the questions explicitly stated, and when requested to explain or prove.

More information

Linear Programming Duality

Linear Programming Duality Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve

More information

MA103 Introduction to Abstract Mathematics Second part, Analysis and Algebra

MA103 Introduction to Abstract Mathematics Second part, Analysis and Algebra 206/7 MA03 Introduction to Abstract Mathematics Second part, Analysis and Algebra Amol Sasane Revised by Jozef Skokan, Konrad Swanepoel, and Graham Brightwell Copyright c London School of Economics 206

More information

Single Machine Scheduling with a Non-renewable Financial Resource

Single Machine Scheduling with a Non-renewable Financial Resource Single Machine Scheduling with a Non-renewable Financial Resource Evgeny R. Gafarov a, Alexander A. Lazarev b Institute of Control Sciences of the Russian Academy of Sciences, Profsoyuznaya st. 65, 117997

More information

Week 8. 1 LP is easy: the Ellipsoid Method

Week 8. 1 LP is easy: the Ellipsoid Method Week 8 1 LP is easy: the Ellipsoid Method In 1979 Khachyan proved that LP is solvable in polynomial time by a method of shrinking ellipsoids. The running time is polynomial in the number of variables n,

More information

12. Perturbed Matrices

12. Perturbed Matrices MAT334 : Applied Linear Algebra Mike Newman, winter 208 2. Perturbed Matrices motivation We want to solve a system Ax = b in a context where A and b are not known exactly. There might be experimental errors,

More information

arxiv: v1 [math.co] 3 Nov 2014

arxiv: v1 [math.co] 3 Nov 2014 SPARSE MATRICES DESCRIBING ITERATIONS OF INTEGER-VALUED FUNCTIONS BERND C. KELLNER arxiv:1411.0590v1 [math.co] 3 Nov 014 Abstract. We consider iterations of integer-valued functions φ, which have no fixed

More information

Landau s Theorem for π-blocks of π-separable groups

Landau s Theorem for π-blocks of π-separable groups Landau s Theorem for π-blocks of π-separable groups Benjamin Sambale October 13, 2018 Abstract Slattery has generalized Brauer s theory of p-blocks of finite groups to π-blocks of π-separable groups where

More information

Linear Dependence of Stationary Distributions in Ergodic Markov Decision Processes

Linear Dependence of Stationary Distributions in Ergodic Markov Decision Processes Linear ependence of Stationary istributions in Ergodic Markov ecision Processes Ronald Ortner epartment Mathematik und Informationstechnologie, Montanuniversität Leoben Abstract In ergodic MPs we consider

More information

Combinatorial Optimization

Combinatorial Optimization Combinatorial Optimization 2017-2018 1 Maximum matching on bipartite graphs Given a graph G = (V, E), find a maximum cardinal matching. 1.1 Direct algorithms Theorem 1.1 (Petersen, 1891) A matching M is

More information

Finite Mathematics : A Business Approach

Finite Mathematics : A Business Approach Finite Mathematics : A Business Approach Dr. Brian Travers and Prof. James Lampes Second Edition Cover Art by Stephanie Oxenford Additional Editing by John Gambino Contents What You Should Already Know

More information

MULTIPLICITIES OF MONOMIAL IDEALS

MULTIPLICITIES OF MONOMIAL IDEALS MULTIPLICITIES OF MONOMIAL IDEALS JÜRGEN HERZOG AND HEMA SRINIVASAN Introduction Let S = K[x 1 x n ] be a polynomial ring over a field K with standard grading, I S a graded ideal. The multiplicity of S/I

More information

At the start of the term, we saw the following formula for computing the sum of the first n integers:

At the start of the term, we saw the following formula for computing the sum of the first n integers: Chapter 11 Induction This chapter covers mathematical induction. 11.1 Introduction to induction At the start of the term, we saw the following formula for computing the sum of the first n integers: Claim

More information

Section 2.7 Solving Linear Inequalities

Section 2.7 Solving Linear Inequalities Section.7 Solving Linear Inequalities Objectives In this section, you will learn to: To successfully complete this section, you need to understand: Add and multiply an inequality. Solving equations (.1,.,

More information

Approximating maximum satisfiable subsystems of linear equations of bounded width

Approximating maximum satisfiable subsystems of linear equations of bounded width Approximating maximum satisfiable subsystems of linear equations of bounded width Zeev Nutov The Open University of Israel Daniel Reichman The Open University of Israel Abstract We consider the problem

More information

Avoider-Enforcer games played on edge disjoint hypergraphs

Avoider-Enforcer games played on edge disjoint hypergraphs Avoider-Enforcer games played on edge disjoint hypergraphs Asaf Ferber Michael Krivelevich Alon Naor July 8, 2013 Abstract We analyze Avoider-Enforcer games played on edge disjoint hypergraphs, providing

More information

Selected partial inverse combinatorial optimization problems with forbidden elements. Elisabeth Gassner

Selected partial inverse combinatorial optimization problems with forbidden elements. Elisabeth Gassner FoSP Algorithmen & mathematische Modellierung FoSP Forschungsschwerpunkt Algorithmen und mathematische Modellierung Selected partial inverse combinatorial optimization problems with forbidden elements

More information

Exact and Approximate Equilibria for Optimal Group Network Formation

Exact and Approximate Equilibria for Optimal Group Network Formation Exact and Approximate Equilibria for Optimal Group Network Formation Elliot Anshelevich and Bugra Caskurlu Computer Science Department, RPI, 110 8th Street, Troy, NY 12180 {eanshel,caskub}@cs.rpi.edu Abstract.

More information

CSE 331 Winter 2018 Reasoning About Code I

CSE 331 Winter 2018 Reasoning About Code I CSE 331 Winter 2018 Reasoning About Code I Notes by Krysta Yousoufian Original lectures by Hal Perkins Additional contributions from Michael Ernst, David Notkin, and Dan Grossman These notes cover most

More information

Stephen F Austin. Exponents and Logarithms. chapter 3

Stephen F Austin. Exponents and Logarithms. chapter 3 chapter 3 Starry Night was painted by Vincent Van Gogh in 1889. The brightness of a star as seen from Earth is measured using a logarithmic scale. Exponents and Logarithms This chapter focuses on understanding

More information

We have seen that the symbols,,, and can guide the logical

We have seen that the symbols,,, and can guide the logical CHAPTER 7 Quantified Statements We have seen that the symbols,,, and can guide the logical flow of algorithms. We have learned how to use them to deconstruct many English sentences into a symbolic form.

More information

4.4 The Simplex Method and the Standard Minimization Problem

4.4 The Simplex Method and the Standard Minimization Problem . The Simplex Method and the Standard Minimization Problem Question : What is a standard minimization problem? Question : How is the standard minimization problem related to the dual standard maximization

More information

Algebra Exam. Solutions and Grading Guide

Algebra Exam. Solutions and Grading Guide Algebra Exam Solutions and Grading Guide You should use this grading guide to carefully grade your own exam, trying to be as objective as possible about what score the TAs would give your responses. Full

More information

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2 Final Review Sheet The final will cover Sections Chapters 1,2,3 and 4, as well as sections 5.1-5.4, 6.1-6.2 and 7.1-7.3 from chapters 5,6 and 7. This is essentially all material covered this term. Watch

More information

Ahlswede Khachatrian Theorems: Weighted, Infinite, and Hamming

Ahlswede Khachatrian Theorems: Weighted, Infinite, and Hamming Ahlswede Khachatrian Theorems: Weighted, Infinite, and Hamming Yuval Filmus April 4, 2017 Abstract The seminal complete intersection theorem of Ahlswede and Khachatrian gives the maximum cardinality of

More information

Lecture 11: Introduction to Markov Chains. Copyright G. Caire (Sample Lectures) 321

Lecture 11: Introduction to Markov Chains. Copyright G. Caire (Sample Lectures) 321 Lecture 11: Introduction to Markov Chains Copyright G. Caire (Sample Lectures) 321 Discrete-time random processes A sequence of RVs indexed by a variable n 2 {0, 1, 2,...} forms a discretetime random process

More information

PETER A. CHOLAK, PETER GERDES, AND KAREN LANGE

PETER A. CHOLAK, PETER GERDES, AND KAREN LANGE D-MAXIMAL SETS PETER A. CHOLAK, PETER GERDES, AND KAREN LANGE Abstract. Soare [23] proved that the maximal sets form an orbit in E. We consider here D-maximal sets, generalizations of maximal sets introduced

More information

February 13, Option 9 Overview. Mind Map

February 13, Option 9 Overview. Mind Map Option 9 Overview Mind Map Return tests - will discuss Wed..1.1 J.1: #1def,2,3,6,7 (Sequences) 1. Develop and understand basic ideas about sequences. J.2: #1,3,4,6 (Monotonic convergence) A quick review:

More information

CMPUT 675: Approximation Algorithms Fall 2014

CMPUT 675: Approximation Algorithms Fall 2014 CMPUT 675: Approximation Algorithms Fall 204 Lecture 25 (Nov 3 & 5): Group Steiner Tree Lecturer: Zachary Friggstad Scribe: Zachary Friggstad 25. Group Steiner Tree In this problem, we are given a graph

More information

Lecture 10. Sublinear Time Algorithms (contd) CSC2420 Allan Borodin & Nisarg Shah 1

Lecture 10. Sublinear Time Algorithms (contd) CSC2420 Allan Borodin & Nisarg Shah 1 Lecture 10 Sublinear Time Algorithms (contd) CSC2420 Allan Borodin & Nisarg Shah 1 Recap Sublinear time algorithms Deterministic + exact: binary search Deterministic + inexact: estimating diameter in a

More information

The Growth of Functions. A Practical Introduction with as Little Theory as possible

The Growth of Functions. A Practical Introduction with as Little Theory as possible The Growth of Functions A Practical Introduction with as Little Theory as possible Complexity of Algorithms (1) Before we talk about the growth of functions and the concept of order, let s discuss why

More information

CMSC 451: Lecture 7 Greedy Algorithms for Scheduling Tuesday, Sep 19, 2017

CMSC 451: Lecture 7 Greedy Algorithms for Scheduling Tuesday, Sep 19, 2017 CMSC CMSC : Lecture Greedy Algorithms for Scheduling Tuesday, Sep 9, 0 Reading: Sects.. and. of KT. (Not covered in DPV.) Interval Scheduling: We continue our discussion of greedy algorithms with a number

More information

Bipartite Perfect Matching

Bipartite Perfect Matching Bipartite Perfect Matching We are given a bipartite graph G = (U, V, E). U = {u 1, u 2,..., u n }. V = {v 1, v 2,..., v n }. E U V. We are asked if there is a perfect matching. A permutation π of {1, 2,...,

More information

Notes on arithmetic. 1. Representation in base B

Notes on arithmetic. 1. Representation in base B Notes on arithmetic The Babylonians that is to say, the people that inhabited what is now southern Iraq for reasons not entirely clear to us, ued base 60 in scientific calculation. This offers us an excuse

More information

NP-problems continued

NP-problems continued NP-problems continued Page 1 Since SAT and INDEPENDENT SET can be reduced to each other we might think that there would be some similarities between the two problems. In fact, there is one such similarity.

More information

Linear Independence Reading: Lay 1.7

Linear Independence Reading: Lay 1.7 Linear Independence Reading: Lay 17 September 11, 213 In this section, we discuss the concept of linear dependence and independence I am going to introduce the definitions and then work some examples and

More information