Skip to main content

Computing a Minimum Color Path in Edge-Colored Graphs

  • Conference paper
  • First Online:
Analysis of Experimental Algorithms (SEA 2019)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11544))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 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. 2.

    We assume that the random graph is constructed under G(np) model, that is an edge exists between a pair of vertices with probability p.

References

  1. 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)

    Google Scholar 

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

    Chapter  Google Scholar 

  3. 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)

    Google Scholar 

  4. Chimani, M., Gutwenger, C.: The Open Graph Drawing Framework (OGDF)

    Google Scholar 

  5. Chlamtac, E., Dinitz, M., Krauthgamer, R.: Everywhere-sparse spanners via dense subgraphs. In: Proceedings of the 53rd FOCS, pp. 758–767 (2012)

    Google Scholar 

  6. 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)

    Google Scholar 

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

    Google Scholar 

  8. Fellows, M.R., Guo, J., Kanj, I.: The parameterized complexity of some minimum label problems. J. Comput. Syst. Sci. 76(8), 727–740 (2010)

    Article  MathSciNet  Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Article  MathSciNet  Google Scholar 

  11. Hassin, R., Monnot, J., Segev, D.: Approximation algorithms and hardness results for labeled connectivity problems. J. Comb. Optim. 14(4), 437–453 (2007)

    Article  MathSciNet  Google Scholar 

  12. Hauser, K.: The minimum constraint removal problem with three robotics applications. Int. J. Robot. Res. 33(1), 5–17 (2014)

    Article  Google Scholar 

  13. Huson, M.L., Sen, A.: Broadcast scheduling algorithms for radio networks. In: Proceedings of MILCOM 1995, vol. 2, pp. 647–651. IEEE (1995)

    Google Scholar 

  14. Jha, S., Sheyner, O., Wing, J.: Two formal analyses of attack graphs. In: Computer Security Foundations Workshop, pp. 49–63. IEEE (2002)

    Google Scholar 

  15. 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)

    Article  Google Scholar 

  16. Krumke, S.O., Wirth, H.C.: On the minimum label spanning tree problem. Inf. Process. Lett. 66(2), 81–85 (1998)

    Article  MathSciNet  Google Scholar 

  17. Kumar, N.: Minimum color path experiments: source code and datasets (2019). https://doi.org/10.5281/zenodo.3382340

  18. 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)

    Article  MathSciNet  Google Scholar 

  19. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Neeraj Kumar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics