Abstract
In this paper, we study the problem of computing a min-color path in an edge-colored graph. More precisely, we are given a graph \(G=(V, E)\), source s, target t, an assignment \(\chi :E \rightarrow 2^{\mathcal {C}}\) of edges to a set of colors in \(\mathcal {C}\), and we want to find a path from s to t such that the number of unique colors on this path is minimum over all possible \(s-t\) paths. We show that this problem is hard (conditionally) to approximate within a factor \(O(n^{1/8})\) of optimum, and give a polynomial time \(O(n^{2/3})\)-approximation algorithm. We translate the ideas used in this approximation algorithm into two simple greedy heuristics, and analyze their performance on an extensive set of synthetic and real world datasets. From our experiments, we found that our heuristics perform significantly better than the best previous heuristic algorithm for the problem on all datasets, both in terms of path quality and the running time.
This work was supported by NSF under Grant CCF-1814172.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
This is because if each edge has at most one color, the pruning stage in algorithm from [11] can be phrased as a maximum coverage problem, for which constant approximations are known. However even if number of colors is exactly two, the pruning stage becomes a variant of the densest k-subgraph problem which is hard to approximate within a factor of \(\varOmega (n^{1/4})\) of optimum.
- 2.
We assume that the random graph is constructed under G(n, p) model, that is an edge exists between a pair of vertices with probability p.
References
Bandyapadhyay, S., Kumar, N., Suri, S., Varadarajan, K.: Improved approximation bounds for the minimum constraint removal problem. In: APPROX 2018. LIPIcs, vol. 116, pp. 2:1–2:19 (2018)
Bereg, S., Kirkpatrick, D.: Approximating barrier resilience in wireless sensor networks. In: Dolev, S. (ed.) ALGOSENSORS 2009. LNCS, vol. 5804, pp. 29–40. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-05434-1_5
Bhaskara, A., Charikar, M., Chlamtac, E., Feige, U., Vijayaraghavan, A.: Detecting high log-densities: an \(O (n^{1/4})\) approximation for densest k-subgraph. In: Proceedings of the 42nd STOC, pp. 201–210. ACM (2010)
Chimani, M., Gutwenger, C.: The Open Graph Drawing Framework (OGDF)
Chlamtac, E., Dinitz, M., Krauthgamer, R.: Everywhere-sparse spanners via dense subgraphs. In: Proceedings of the 53rd FOCS, pp. 758–767 (2012)
Chlamtáč, E., Dinitz, M., Makarychev, Y.: Minimizing the union: tight approximations for small set bipartite vertex expansion. In: Proceedings of the 28th SODA, pp. 881–899 (2017)
Chlamtáč, E., Manurangsi, P., Moshkovitz, D., Vijayaraghavan, A.: Approximation algorithms for label cover and the log-density threshold. In: Proceedings of the 28th SODA, pp. 900–919 (2017)
Fellows, M.R., Guo, J., Kanj, I.: The parameterized complexity of some minimum label problems. J. Comput. Syst. Sci. 76(8), 727–740 (2010)
Goel, G., Karande, C., Tripathi, P., Wang, L.: Approximability of combinatorial problems with multi-agent submodular cost functions. In: Proceedings of the 50th FOCS, pp. 755–764 (2009)
Gouveia, L., Simonetti, L., Uchoa, E.: Modeling hop-constrained and diameter-constrained minimum spanning tree problems as steiner tree problems over layered graphs. Math. Program. 128(1–2), 123–148 (2011)
Hassin, R., Monnot, J., Segev, D.: Approximation algorithms and hardness results for labeled connectivity problems. J. Comb. Optim. 14(4), 437–453 (2007)
Hauser, K.: The minimum constraint removal problem with three robotics applications. Int. J. Robot. Res. 33(1), 5–17 (2014)
Huson, M.L., Sen, A.: Broadcast scheduling algorithms for radio networks. In: Proceedings of MILCOM 1995, vol. 2, pp. 647–651. IEEE (1995)
Jha, S., Sheyner, O., Wing, J.: Two formal analyses of attack graphs. In: Computer Security Foundations Workshop, pp. 49–63. IEEE (2002)
Knight, S., Nguyen, H.X., Falkner, N., Bowden, R., Roughan, M.: The internet topology zoo. IEEE J. Sel. Areas Commun. 29(9), 1765–1775 (2011)
Krumke, S.O., Wirth, H.C.: On the minimum label spanning tree problem. Inf. Process. Lett. 66(2), 81–85 (1998)
Kumar, N.: Minimum color path experiments: source code and datasets (2019). https://doi.org/10.5281/zenodo.3382340
Leskovec, J., Lang, K.J., Dasgupta, A., Mahoney, M.W.: Community structure in large networks: natural cluster sizes and the absence of large well-defined clusters. Internet Math. 6(1), 29–123 (2009)
Yuan, S., Varma, S., Jue, J.P.: Minimum-color path problems for reliability in mesh networks. In: INFOCOM 2005, vol. 4, pp. 2658–2669 (2005)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Kumar, N. (2019). Computing a Minimum Color Path in Edge-Colored Graphs. In: Kotsireas, I., Pardalos, P., Parsopoulos, K., Souravlias, D., Tsokas, A. (eds) Analysis of Experimental Algorithms. SEA 2019. Lecture Notes in Computer Science(), vol 11544. Springer, Cham. https://doi.org/10.1007/978-3-030-34029-2_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-34029-2_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-34028-5
Online ISBN: 978-3-030-34029-2
eBook Packages: Computer ScienceComputer Science (R0)