# finding_diverse_trees_paths_and_more__bb9cfd53.pdf Finding Diverse Trees, Paths, and More Tesshu Hanaka1, Yasuaki Kobayashi2, Kazuhiro Kurita3, Yota Otachi4 1Chuo University, Tokyo, Japan 2Kyoto University, Kyoto, Japan 3National Institute of Informatics, Tokyo, Japan 4Nagoya University, Nagoya, Japan hanaka.91t@g.chuo-u.ac.jp, kobayashi@iip.ist.i.kyoto-u.ac.jp, kurita@nii.ac.jp, otachi@nagoya-u.jp Mathematical modeling is a standard approach to solve many real-world problems and diversity of solutions is an important issue, emerging in applying solutions obtained from mathematical models to real-world problems. Many studies have been devoted to finding diverse solutions. Baste et al. (Algorithms 2019, IJCAI 2020) recently initiated the study of computing diverse solutions of combinatorial problems from the perspective of fixed-parameter tractability. They considered problems of finding r solutions that maximize some diversity measures (the minimum or sum of the pairwise Hamming distances among them) and gave some fixed-parameter tractable algorithms for the diverse version of several well-known problems, such as VERTEX COVER, FEEDBACK VERTEX SET, d-HITTING SET, and problems on bounded-treewidth graphs. In this work, we further investigate the (fixed-parameter) tractability of problems of finding diverse spanning trees, paths, and several subgraphs. In particular, we show that, given a graph G and an integer r, the problem of computing r spanning trees of G maximizing the sum of the pairwise Hamming distances among them can be solved in polynomial time. To the best of the authors knowledge, this is the first polynomial-time solvable case for finding diverse solutions of unbounded size. Introduction To solve real-world problems, we often formulate problems as mathematical models and then develop algorithms working on these mathematical models. In this context, algorithms are usually designed to find a single (near) optimal solution by optimizing an objective function formulated in a mathematical model. However, such a solution may be inadequate for original real-world problems since mathematical models approximately formulate them and some tacit rules and ambiguous constraints inherent in real-world problems are usually ignored for taming mathematical models. One possible (and straightforward) solution to this issue is to find multiple solutions rather than a single solution. The concept of k-best enumeration (Eppstein 2016) is a promising approach along this line. In this approach, given a parameter k, we compute a set of k distinct solutions, such that every solution in the set is better than any solutions not Copyright c 2021, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved. in the set. This is a natural extension of usual optimization problems, and many algorithms for finding k-best solutions have been developed for classical combinatorial optimization problems (Murty 1968; Lawler 1972; Gabow 1977) and other problems arise in several fields (Hara and Maehara 2017; Lindgren, Dimakis, and Klivans 2017). However, solutions obtained by k-best enumeration algorithms might be similar to each other since those solutions are essentially made by some local modifications. The basic strategy of k-best enumeration algorithms is that we first find a single optimal solution S = {x1, . . . , xt} and then, for each 1 i t, compute an optimal solution that includes {x1, . . . , xi 1} but excludes xi. The entire algorithm recursively computes k solutions in this way. Since the subsequent solution must contain {x1, . . . xi 1} and also tends to contain {xi+1, . . . , xt}, these solutions would be similar, which would not fit for our original purpose. To address this issue, diversity among solutions is an important factor, and a substantial effort is dedicated to finding multiple solutions that optimize diversity measures in the literature (Hebrard et al. 2005; Danna and Woodruff 2009; Petit and Trapp 2015; Baste et al. 2019, 2020; Ingmar et al. 2020). Let U be a finite set and let S 2U be the set of solutions in a combinatorial optimization problem. Several diversity measures have been proposed. Among others, many existing studies focus on maximizing the pairwise Hamming distances among solutions. In particular, the following two diversity measures are widely used. dsum(U1, . . . , Ur) = X 1 i 0, there is a Monte Carlo algorithm that decides whether G has a k-path and runs in time O((2e)k(|V | + |E|)), which does not contain false positive and returns a k-path with probability at least ε if the answer is affirmative. Alon et al. derandomize the algorithm of Theorem 4 by substituting random coloring with k-perfect hash family (Alon, Yuster, and Zwick 1995; Naor, Schulman, and Srinivasan 1995). Let U be a finite set. A family H of functions h : U [k] is called a k-perfect hash family if for every k-element subset X U, there is a function h H such that h(x) = h(y) for every x, y X with x = y. For any U and a positive integer k, there is a k-perfect hash family of size ekk O(log k) log |U| and it can be constructed in time ekk O(log k)|U| log |U| (Naor, Schulman, and Srinivasan 1995). Instead of using random coloring c, we use k-perfect hash family, and then we can deterministically decide whether G has a k-path in time (2e)kk O(log k)|V |O(1) (Alon, Yuster, and Zwick 1995). Extending to Diverse k-Paths Let G = (V, E) be a graph and let k and r be positive integers. We first present an algorithm for finding r paths P1, . . . , Pr of length k 1 maximizing dmin(V (P1), . . . , V (Pr)) rather than dmin(E(P1), . . . , E(Pr)) (i.e., MIN-DIVERSE k-PATH) for the reason that this version is conceptually simpler. The algorithm for MIN-DIVERSE k-PATH is postponed to the next section. Although we only discuss an algorithm for maximizing dmin(V (P1), . . . , V (Pr)), the technique can be readily applied to the one for maximizing dsum(V (P1), . . . , V (Pr)) as well. To find a set of diverse r paths of length k 1, we leverage the same idea of (Alon, Yuster, and Zwick 1995). We use kr colors and randomly assign these colors to each vertex of G. Since an optimal solution consists of at most kr vertices (i.e., not necessarily vertex-disjoint r paths of length k 1), the probability of assigning distinct colors to each vertex in the solution is at least (kr)!/(kr)kr = Ω(e kr). More specifically, let P = {P1, P2, . . . , Pr} be a set of (not necessarily vertex-disjoint) r paths of length k 1. We say that a coloring is good for P if each vertex in S P P V (P) receives a distinct color. Suppose that c : V [kr] is a good coloring for P. Then, each k-path in P is obviously colorful in this coloring. Thus, we run Algorithm 1 and compute the entry of path(C, v) for each C [kr] with |C| k and v V , which is the existence of C-colorful paths in the colored graph. Clearly, this can be done in time kr k n O(1). The vertex coloring not only gives a way to find a k-path in FPT time but also allows us to maximize the diversity of k-paths by enumerating sets of colors. Fix a vertex-coloring c : V [kr]. We say that a set of colors C [kr] with |C| = k is feasible (under c) if there is a C-colorful path in G. The following observation is straightforward but is the heart of our algorithm. Observation 1. Let c : V [kr] be a coloring of V and let C1, C2, . . . , Cr [kr] be sets of colors with |Ci| = k for 1 i r. Suppose that Ci is feasible for all 1 i r. Then, there are (not necessarily vertex-disjoint and even not necessarily distinct) r paths P1, . . . , Pr of length k 1 such that dmin(V (P1), . . . , V (Pr)) dmin(C1, . . . , Cr). This implies that for every vertex-coloring c : V [kr] and for feasible sets C1, . . . , Cr [kr] with respect to c, we have OPT dmin(C1, . . . , Cr), where OPT is the optimal diversity of r paths of length k 1, and equality holds if c is good for an optimal solution P = {P1, . . . , Pr} and Pi is Ci-colorful for all 1 i r. With probability at least e kr, a random coloring is good for P. For any vertex-coloring c, we can check the feasibility of all color sets C [kr] with |C| = k in total time O( kr k k(|V | + |E|)). Therefore, we can compute OPT in time O( kr k k(|V | + |E|) + kr k r(kr)O(1)) by simply enumerating all r-tuples of feasible color sets, assuming c is good for P. Overall, the total running time is O ekr kr k k(|V | + |E|) + kr k r(kr)O(1) , which is 2O(kr log(kr))(|V | + |E|). Theorem 5. For every constant ε > 0, there is a Monte Carlo algorithm that finds r paths of length k 1 in G maximizing dmin(V (P1), . . . , V (Pr)) or concludes that G has no k-paths in time 2O(kr log(kr))(|V | + |E|). Moreover, it does not contain false positive and returns an optimal solution with probability at least ε if G has at least one k-path. This can be derandomized by the kr-perfect hash family as well. Corollary 2. There is a deterministic algorithm that finds a set of r paths of length k 1 in G maximizing dmin(V (P1), . . . , V (Pr)) or concludes that G has no kpaths in time 2O(kr log(kr))|V |O(1). A General Framework for Finding Diverse Solutions In the previous section, we demonstrate a method for finding diverse k-paths using the color-coding technique due to Alon et al. (Alon, Yuster, and Zwick 1995). The power of this method is not limited to finding diverse k-paths. Let U be a finite set and let Π : 2U {0, 1} be an arbitrary function. Throughout the paper, we assume that the function can be evaluated in time |U|O(1). We call a subset X of U a Π-set if Π(X) = 1. Many combinatorial objects can be expressed as this function (e.g., define U as the set of vertices of a graph and Π(X) = 1 if and only if X U forms a path of length k 1). The essence of the previous algorithm is that random coloring boils down the problem of finding diverse Π-sets to that of finding a single C-colorful Π-set for given color set C. More precisely, we have the following lemma. Lemma 3. Suppose that, there is an algorithm A that, given a finite set U, a coloring c : U [kr], and C [kr] with |C| = k, decides whether there is a C-colorful Π-set in time f(k, r)|U|O(1). Then we can find Π-sets U1, . . . , Ur, with |Ui| = k for 1 i r maximizing dmin(U1, . . . , Ur) or conclude that there is no Π-set of size k in U in time erk kr k f(k, r)|U|O(1) + kr k r(kr)O(1) with high probability. Moreover, a deterministic counterpart runs in time 2kr log(kr)f(k, r)|U|O(1). Proof. The proof is almost analogous to that in the previous section and hence we only give a sketch of the proof. Let U1, . . . , Ur be Π-sets of U that maximize dmin(U1, . . . , Ur). We assign one of the colors in [kr] to each element in U independently and uniformly at random. Then, with probability at least e kr, each element in S 1 i r Ui receives a distinct color. For C [kr], we say that C is feasible (under c) if there is a C-colorful Π-set of U. By using A, we can check in time kr k f(k, r)|U|O(1) the feasibility of all C [kr] with |C| = k. To compute dmin(U1, . . . , Ur), we simply find r feasible color sets C1, . . . , Cr maximizing dmin(C1, . . . , Cr) by an exhaustive search. The deterministic algorithm is obtained by using the kr-perfect hash family as well. Note again that the problem of maximizing dsum is also solvable in the claimed running time in Lemma 3. In the rest of this section, we discuss some applications of Lemma 3. Diverse Matchings Let G = (V, E) be a graph. A matching is a set of edges M E such that there are no edges in M sharing a common end vertex. Since the problem of computing a matching of maximum size is solvable in polynomial time (Edmonds 1965), one may expect that DIVERSE MATCHING or MIN-DIVERSE MATCHING can be solved in polynomial time as well. However, it is unlikely: Finding two edgedisjoint perfect matchings in cubic graphs is known to be NP-hard (Holyer 1981). To overcome this difficulty, we consider the problem of finding diverse matchings of size k and show that this is fixed-parameter tractable parameterized by k + r. Theorem 6. DIVERSE MATCHING and MIN-DIVERSE MATCHING can be solved in time 2O(kr log(kr))|V |O(1). Proof. Suppose that each edge of G is colored with one of the colors [kr]. For each C [kr] with |C| = k, do the following. We first remove all the edges colored with a color not contained in C. Then, we apply the algorithm of finding a colorful matching of size k due to (Gupta et al. 2019), which runs in time 1+ 5 2 k |V |O(1). Let Π : 2E {0, 1} be a function such that Π(M) = 1 if and only if M is a matching of G. By Lemma 3, the statement follows. Diverse Interval Scheduling We are given a set of tasks represented by intervals I = {[ai, bi] : 1 i n}, where [a, b] is the (closed) interval whose end points are a R and b R with a b. A subset I I is feasible if I has no overlapping intervals, that is, [a, b] [a , b ] = for distinct [a, b], [a , b ] I . INTERVAL SCHEDULING is the problem of computing a maximum cardinality feasible I I. This problem is also known as the maximum independent set problem on interval graphs and can be solved in polynomial time by a simple greedy algorithm. We consider the diverse variants of INTERVAL SCHEDULING. In DIVERSE INTERVAL SCHEDULING and MIN-DIVERSE INTERVAL SCHEDULING, we are given a set I of intervals and integers k and r. The goals of the problems are to find r sets of feasible intervals I1, . . . , Ir I with |Ii| = k for 1 i r maximizing dsum(I1, . . . , Ir) and dmin(I1, . . . , Ir), respectively. To solve these problems in FPT time, by Lemma 3, it suffices to show that the colorful version can be solved in FPT time. This problem is also known as JOB INTERVAL SELECTION in the literature. In addition to the input of INTERVAL SCHEDULING, we are also given a coloring function c : I [k]. The goal of JOB INTERVAL SELECTION is to find a maximum cardinality set of colorful feasible intervals in I. Halld orsson and Karlsson (Halld orsson and Karlsson 2006) showed that this problem can be solved in time 2k|I|O(1), yielding the following result together with Lemma 3. Theorem 7. DIVERSE INTERVAL SCHEDULING and MINDIVERSE INTERVAL SCHEDULING can be solved in time 2O(kr log(kr))|I|O(1). Diverse k-Paths Revisited As we have discussed in the previous section, the problem of finding r paths P1, . . . , Pr of length k 1 maximizing dmin(V (P1), . . . , V (Pr)) can be solved in FPT time. To solve DIVERSE k-PATHS and MIN-DIVERSE k-PATHS, we use Lemma 3 and a modified version of Algorithm 1. Suppose that we are given an edge-colored graph G = (V, E) with c E : E [(k 1)r]. For each D [(k 1)r] with |D| = k 1, we design an algorithm for finding a k-path whose edges are D-colorful. The algorithm is quite similar to the k-path algorithm described in the previous section. We assign a color from [k] to each vertex of G independently and uniformly at random. Fix a vertex coloring c V : V [k]. For each C [k] and for each D D with |C| 1 = |D |, we say that a path P is (C, D )-colorful if V (P) is C-colorful and E(P) is D -colorful. The following recurrence immediately yields a dynamic programming algorithm for ([k], D)-colorful paths. For each C [k] and D D with |C| 1 = |D| 1, and v V with c V (v) C, G has a (C, D )-colorful path ending at v if and only if there is a (C \ {c(v)}, D \ {c E({u, v})})-colorful path ending at u V with {u, v} E. This recurrence can be straightforwardly implemented by dynamic programming whose running time is in O(4kk(|V |+|E|)). By using the k-perfect hash family for cv, we finally conclude that DIVERSE k-PATH and MIN-DIVERSE k-PATH are fixedparameter tractable. Theorem 8. DIVERSE k-PATH and MIN-DIVERSE k-PATH can be solved in time 2O(kr log(kr))|V |O(1), where n is the number of vertices of the input graph. Diverse Subgraphs of Bounded Treewidth Let G = (V, E) and G = (V , E ) be graphs. We say that G is isomorphic to G if there is a bijection f between V and V such that {u, v} E if and only if {f(u), f(v)} E for every pair of vertices u, v V . Given graphs G and H, the subgraph isomorphism problem asks whether G has a subgraph isomorphic to H. This problem is a common generalization of many NP-hard problems, including the Hamiltonian path problem and the k-clique problem. Since the kclique problem, the problem of finding a clique of k vertices, is W[1]-hard parameterized by k (Downey and Fellows 1995), finding diverse subgraphs isomorphic to H is also hard for general H. When H is sparse , however, the problem is fixed-parameter tractable (Alon, Yuster, and Zwick 1995). A tree decomposition of G = (V, E) is a pair (T, {Xi V : i I}) of a rooted tree T with node set I and a collection {Xi : i I} of subsets of V such that (1) S i I Xi = V ; (2) for each {u, v} E, there is an i I with {u, v} Xi; and (3) for each v V , the set of nodes {i I : v Xi} induces a subtree of T. The width of a tree decomposition (T, {Xi : i I}) is defined as maxi I |Xi| 1, and the treewidth of G is the minimum integer t such that G has a tree decomposition of width t. Alon et al. (Alon, Yuster, and Zwick 1995) showed that when the treewidth of H is a constant, the subgraph isomorphism problem is fixed-parameter tractable. Theorem 9 ((Alon, Yuster, and Zwick 1995)). Let G and H be graphs. Suppose that |V (H)| = k and the treewidth of H is t. Then, there is an algorithm that decides if G has a subgraph isomorphic to H in time 2O(k)|V (G)|t+1 log |V (G)|. We briefly describe their idea of Theorem 9. Let (T, {Xi : i I) be a tree decomposition of H. For each i I, we denote by Hi the subgraph of H induced by the vertices appeared in Xi or Xj for some descendant j I of i. They also use the color-coding technique as follows. Let c : V [k] be a coloring on V . For each C [k], i I, Z V with |Z| = |Xi|, and a bijection f Z : Z Xi, the algorithm decides whether G has a C-colorful subgraph H isomorphic to Hi such that Z V (H ) and the bijection f : V (H ) V (H) extends f Z, that is, f(z) = f Z(z) for all z Z. This can be done in time 2O(k)|V (G)|t+1 by dynamic programming and hence Theorem 9 follows. By combining this algorithm with Lemma 3, we have the following result. Theorem 10. Let G and H be graphs. Suppose that |V (H)| = k and the treewidth of H is t. Then there is a 2O(kr log(kr))|V (G)|t+O(1)-time algorithm that finds r subgraphs H1, . . . , Hr isomorphic to H such that dsum(V (H1), . . . , V (Hr)) or dmin(V (H1), . . . , V (Hr)) is maximized, or concludes G has no subgraph isomorphic to H. We can extend this algorithm to DIVERSE SUBGRAPH ISOMORPHISM and MIN-DIVERSE SUBGRAPH ISOMORPHISM by simultaneously considering edge-colorings as in Theorem 8. To be more precise, let c V : V [k] and c E : E [|E(H)|] be random vertexand edge-colorings. For each C [k], D [|E(H)|], i I, Z V with |Z| = |Xi|, and a function f : Z Xi, we can decide whether G has a (C, D)-colorful subgraph H isomorphic to Hi such that Z V (H ) and the bijection f : V (H ) V (H) extends f , that is, f(z) = f (z) for all z Z by dynamic programming as well as the vertex-colored case. Here, a subgraph H is (C, D)-colorful if V (H ) is C-colorful and E(H ) is D-colorful. It is not hard to see that the running time of this dynamic programming algorithm is 2O(k+|E(H)|)|V (G)|t+1. Theorem 11. DIVERSE SUBGRAPH ISOMORPHISM and MIN-DIVERSE SUBGRAPH ISOMORPHISM can be solved in time f(k, r)|V (G)|t+O(1) for some function f, where k = |V (H)|, and t is the treewidth of H. Diverse Subgraphs with FO Properties We have seen several examples for which finding diverse solutions is fixed-parameter tractable. In particular, DIVERSE k-PATH and MIN-DIVERSE k-PATH are fixed-parameter tractable parameterized by k+r. In contrast to this tractability, finding a single induced k-path is known to be W[2]- complete (Chen and Flum 2007) with respect to parameter k, where an induced path in a graph is a path such that non-consecutive vertices on the path are not adjacent in the graph. A typical approach to overcoming such intractable problems is to restrict input graphs to some sparse graph classes, such as planar graphs, bounded-treewidth graphs, or Hminor free graphs with fixed H. One of the most remarkable results in this context is an algorithmic metatheorem for sparse graphs with first-order logic (FO) given by Grohe et al. (Grohe, Kreutzer, and Siebertz 2017). Many graph properties can be expressed by a formula in FO and, in particular, so is the property of being a colorful induced path of length k 1. A short note for the syntax of FO formulas on graphs is given in the full version (Hanaka et al. 2020). Grohe et al. (Grohe, Kreutzer, and Siebertz 2017) showed that for a nowhere dense class C of graphs and an FO formula φ, checking whether G |= φ is fixed-parameter tractable parameterized by the length |φ| of formula φ. Theorem 12 ((Grohe, Kreutzer, and Siebertz 2017)). Let G = (V, E) be a graph that is in a nowhere dense class of graphs and c : V [k] a coloring on vertices. Let Π be a property on graphs that is expressible by a formula φ in first-order logic. Then, for every ε > 0, one can decide whether G has a [k]-colorful subgraph satisfying Π in time f(ε, |φ|, k)|V |1+ε for some function f. We do not give the definition of nowhere dense classes of graphs (See (Grohe, Kreutzer, and Siebertz 2017) for details), while it is worth mentioning that many sparse graph classes are included in these classes, such as planar graphs, bounded-treewidth graphs, and H-minor free graphs. By combining Lemma 3 and Theorem 12, we have the following theorem. Theorem 13. Let G = (V, E) be a graph that is in a nowhere dense class of graphs. Let Π be a property on graphs that is expressible by a formula φ in first-order logic. Then, we can find r subgraphs H1, . . . , Hr of k vertices satisfying Π such that dmin(V (H1), . . . , V (Hr)) or dsum(V (H1), . . . , V (Hr)) is maximized, in time f(|φ|, k, r)|V |O(1). Acknowledgements The authors thank anonymous referees for valuable comments. This work was partially supported by JSPS Kakenhi Grant Numbers JP18K11168, JP18K11169, JP18H04091, JP19J10761 , JP19K21537, JP20K19742, and JP20H05793. References Abbassi, Z.; Mirrokni, V. S.; and Thakur, M. 2013. Diversity Maximization under Matroid Constraints. In Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 32 40. New York, NY, USA: Association for Computing Machinery. ISBN 9781450321747. doi:10.1145/2487575.2487636. Alon, N.; Yuster, R.; and Zwick, U. 1995. Color-Coding. J. ACM 42(4): 844 856. doi:10.1145/210332.210337. Baste, J.; Fellows, M. R.; Jaffke, L.; Masar ık, T.; de Oliveira Oliveira, M.; Philip, G.; and Rosamond, F. A. 2020. Diversity of Solutions: An Exploration Through the Lens of Fixed-Parameter Tractability Theory. In Bessiere, C., ed., Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI 2020, 1119 1125. ijcai.org. doi:10.24963/ijcai.2020/156. Baste, J.; Jaffke, L.; Masar ık, T.; Philip, G.; and Rote, G. 2019. FPT Algorithms for Diverse Collections of Hitting Sets. Algorithms 12(12): 254. doi:10.3390/a12120254. Borodin, A.; Jain, A.; Lee, H. C.; and Ye, Y. 2017. Max Sum Diversification, Monotone Submodular Functions, and Dynamic Updates. ACM Trans. Algorithms 13(3). ISSN 1549-6325. doi:10.1145/3086464. Chen, Y.; and Flum, J. 2007. On Parameterized Path and Chordless Path Problems. In 22nd Annual IEEE Conference on Computational Complexity (CCC 2007), 13-16 June 2007, San Diego, California, USA, 250 263. IEEE Computer Society. doi:10.1109/CCC.2007.21. Cunningham, W. H. 1986. Improved Bounds for Matroid Partition and Intersection Algorithms. SIAM J. Comput. 15(4): 948 957. doi:10.1137/0215066. URL https://doi.org/ 10.1137/0215066. Cygan, M.; Fomin, F. V.; Kowalik, L.; Lokshtanov, D.; Marx, D.; Pilipczuk, M.; Pilipczuk, M.; and Saurabh, S. 2015. Parameterized Algorithms. Springer Publishing Company, Incorporated, 1st edition. ISBN 3319212745. Danna, E.; and Woodruff, D. L. 2009. How to select a small set of diverse solutions to mixed integer programming problems. Oper. Res. Lett. 37(4): 255 260. doi: 10.1016/j.orl.2009.03.004. Downey, R. G.; and Fellows, M. R. 1995. Fixedparameter tractability and completeness II: On completeness for W[1]. Theoretical Computer Science 141(1): 109 131. ISSN 0304-3975. doi:https://doi.org/10.1016/03043975(94)00097-3. Downey, R. G.; and Fellows, M. R. 2013. Fundamentals of Parameterized Complexity. Springer Publishing Company, Incorporated. ISBN 1447155580. Edmonds, J. 1965. Paths, Trees, and Flowers. Canadian Journal of Mathematics 17: 449 467. doi:10.4153/CJM1965-045-4. Eppstein, D. 2016. k-Best Enumeration. In Encyclopedia of Algorithms, 1003 1006. doi:10.1007/978-1-4939-28644 733. Fomin, F. V.; Golovach, P. A.; Jaffke, L.; Philip, G.; and Sagunov, D. 2020. Diverse Pairs of Matchings. In Cao, Y.; Cheng, S.-W.; and Li, M., eds., 31st International Symposium on Algorithms and Computation (ISAAC 2020), volume 181 of Leibniz International Proceedings in Informatics (LIPIcs), 26:1 26:12. Dagstuhl, Germany: Schloss Dagstuhl Leibniz-Zentrum f ur Informatik. ISBN 978-3-95977-173-3. ISSN 1868-8969. doi:10.4230/ LIPIcs.ISAAC.2020.26. URL https://drops.dagstuhl.de/ opus/volltexte/2020/13370. Gabow, H. N. 1977. Two Algorithms for Generating Weighted Spanning Trees in Order. SIAM J. Comput. 6(1): 139 150. doi:10.1137/0206011. Grohe, M.; Kreutzer, S.; and Siebertz, S. 2017. Deciding First-Order Properties of Nowhere Dense Graphs. J. ACM 64(3). doi:10.1145/3051095. Gupta, S.; Roy, S.; Saurabh, S.; and Zehavi, M. 2019. Parameterized Algorithms and Kernels for Rainbow Matching. Algorithmica 81(4): 1684 1698. doi:10.1007/s00453-0180497-3. Halld orsson, M. M.; and Karlsson, R. K. 2006. Strip Graphs: Recognition and Scheduling. In Fomin, F. V., ed., Graph-Theoretic Concepts in Computer Science, 32nd International Workshop, WG 2006, Bergen, Norway, June 2224, 2006, Revised Papers, volume 4271 of Lecture Notes in Computer Science, 137 146. Springer. doi:10.1007/ 11917496 13. Hanaka, T.; Kobayashi, Y.; Kurita, K.; and Otachi, Y. 2020. Finding Diverse Trees, Paths, and More. Co RR abs/2009.03687. URL https://arxiv.org/abs/2009.03687. Hara, S.; and Maehara, T. 2017. Enumerate Lasso Solutions for Feature Selection. In Singh, S. P.; and Markovitch, S., eds., Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, 1985 1991. AAAI Press. Hebrard, E.; Hnich, B.; O Sullivan, B.; and Walsh, T. 2005. Finding Diverse and Similar Solutions in Constraint Programming. In Proceedings of the 20th National Conference on Artificial Intelligence - Volume 1, AAAI 05, 372 377. AAAI Press. ISBN 157735236x. Holyer, I. 1981. The NP-Completeness of Edge-Coloring. SIAM J. Comput. 10(4): 718 720. doi:10.1137/0210055. Ingmar, L.; de la Banda, M. G.; Stuckey, P. J.; and Tack, G. 2020. Modelling Diversity of Solutions. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, 1528 1535. AAAI Press. URL https: //aaai.org/ojs/index.php/AAAI/article/view/5512. Lawler, E. L. 1972. A Procedure for Computing the K Best Solutions to Discrete Optimization Problems and Its Application to the Shortest Path Problem. Management Science 18(7): 401 405. doi:10.1287/mnsc.18.7.401. Lindgren, E. M.; Dimakis, A. G.; and Klivans, A. R. 2017. Exact MAP Inference by Avoiding Fractional Vertices. In Precup, D.; and Teh, Y. W., eds., Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, volume 70 of Proceedings of Machine Learning Research, 2120 2129. PMLR. Murty, K. G. 1968. Letter to the Editor An Algorithm for Ranking all the Assignments in Order of Increasing Cost. Oper. Res. 16(3): 682 687. doi:10.1287/opre.16.3.682. Nagamochi, H.; Zeng, D.; Kabutoya, N.; and Ibaraki, T. 1997. Complexity of the Minimum Base Game on Matroids. Math. Oper. Res. 22(1): 146 164. doi:10.1287/moor.22.1. 146. Naor, M.; Schulman, L. J.; and Srinivasan, A. 1995. Splitters and Near-Optimal Derandomization. In 36th Annual Symposium on Foundations of Computer Science, Milwaukee, Wisconsin, USA, 23-25 October 1995, 182 191. IEEE Computer Society. doi:10.1109/SFCS.1995.492475. Nash-Williams, C. S. J. A. 1967. An application of matroids to graph theory. In Theory of Graphs; Proceedings of an International Symposium in Rome 1966, 263 265. Gordon and Breach, New York. Oxley, J. G. 2006. Matroid Theory (Oxford Graduate Texts in Mathematics). USA: Oxford University Press, Inc. ISBN 0199202508. Petit, T.; and Trapp, A. C. 2015. Finding Diverse Solutions of High Quality to Constraint Optimization Problems. In Yang, Q.; and Wooldridge, M. J., eds., Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI 2015, Buenos Aires, Argentina, July 25-31, 2015, 260 267. AAAI Press. URL http://ijcai.org/Abstract/15/043.