Skip to main content
Log in

On Colorful Vertex and Edge Cover Problems

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

In this paper, we study two generalizations of Vertex Cover and Edge Cover, namely Colorful Vertex Cover and Colorful Edge Cover. In the Colorful Vertex Cover problem, given an n-vertex edge-colored graph G with colors from \(\{1, \ldots , \omega \}\) and coverage requirements \(r_1, r_2, \ldots , r_\omega \), the goal is to find a minimum-sized set of vertices that are incident on at least \(r_i\) edges of color i, for each \(1 \le i \le \omega \), i.e., we need to cover at least \(r_i\) edges of color i. Colorful Edge Cover is similar to Colorful Vertex Cover, except here we are given a vertex-colored graph and the goal is to cover at least \(r_i\) vertices of color i, for each \(1 \le i \le \omega \), by a minimum-sized set of edges. These problems have several applications in fair covering and hitting of geometric set systems involving points and lines that are divided into multiple groups. Here, “fairness” ensures that the coverage (resp. hitting) requirement of every group is fully satisfied. We obtain a \((2+\epsilon )\)-approximation for the Colorful Vertex Cover problem in time \(n^{O(\omega /\epsilon )}\). Thus, for a constant number of colors, the problem admits a \((2+\epsilon )\)-approximation in polynomial time. Next, for the Colorful Edge Cover problem, we design an \(O(\omega n^3)\) time exact algorithm, via a chain of reductions to a matching problem. For all intermediate problems in this chain of reductions, we design polynomial-time algorithms, which might be of independent interest.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Notes

  1. The term “fair” stresses on the fact, in an abstract manner, that the resources should be divided evenly among different groups.

References

  1. Anegg, G., Angelidakis, H., Kurpisz, A., Zenklusen, R.: A technique for obtaining true approximations for k-center with covering constraints. In: Integer Programming and Combinatorial Optimization - 21st International Conference, IPCO 2020, vol. 12125, pp. 52–65. Springer (2020)

  2. Bandyapadhyay, S., Banik, A., Bhore, S. On fair covering and hitting problems. In: Kowalik, L., Pilipczuk, M., Rzazewski, P. (eds.) Graph-Theoretic Concepts in Computer Science—47th International Workshop, WG 2021, Warsaw, Poland, June 23–25, 2021, Revised Selected Papers, vol. 12911 of Lecture Notes in Computer Science, pp. 39–51. Springer (2021)

  3. Bandyapadhyay, S., Inamdar, T., Pai, S., Varadarajan, K. R.: A constant approximation for colorful k-center. In: 27th Annual European Symposium on Algorithms, ESA 2019, vol. 144 of LIPIcs, pp. 12:1–12:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2019)

  4. Bar-Yehuda, R.: Using homogeneous weights for approximating the partial cover problem. J. Algorithms 39(2), 137–144 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  5. Bera, S.K., Gupta, S., Kumar, A., Roy, S.: Approximation algorithms for the partition vertex cover problem. Theoret. Comput. Sci. 555, 2–8 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  6. Bshouty, N. H., Burroughs, L.: Massaging a linear programming solution to give a 2-approximation for a generalization of the vertex cover problem. In: Annual Symposium on Theoretical Aspects of Computer Science, pp. 298–308. Springer (1998)

  7. Chierichetti, F., Kumar, R., Lattanzi, S., Vassilvitskii, S.: Matroids, matchings, and fairness. In Chaudhuri, K., Sugiyama, M. (eds) The 22nd International Conference on Artificial Intelligence and Statistics, AISTATS 2019, 16-18 April 2019, Naha, Okinawa, Japan, vol. 89 of Proceedings of Machine Learning Research, pp. 2212–2220. PMLR (2019)

  8. Cohen, J., Manoussakis, Y., Phong, H., Tuza, Z.: Tropical matchings in vertex-colored graphs. Electron. Notes Discrete Math. 62, 219–224 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  9. Freeman, R., Micha, E., Shah,N.: Two-sided matching meets fair division. IJCAI (2021)

  10. Friggstad, Z., Rezapour, M., Salavatipour, M. R.: Approximating connected facility location with lower and upper bounds via lp rounding. In: 15th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2016). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik (2016)

  11. Gandhi, R., Khuller, S., Srinivasan, A.: Approximation algorithms for partial covering problems. J. Algorithms 53(1), 55–84 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  12. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness (1979)

  13. Har-Peled, S., Jones, M.: On separating points by lines. In: Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, pp 918–932. SIAM (2018)

  14. Inamdar, T., Varadarajan, K. R.: On the partition set cover problem. CoRR arxiv:1809.06506 (2018)

  15. Jia, X., Sheth, K., Svensson, O.: Fair colorful k-center clustering. In: Integer Programming and Combinatorial Optimization—21st International Conference, IPCO 2020, vol. 12125, pp. 209–222. Springer (2020)

  16. Klaus, B., Klijn, F.: Procedurally fair and stable matching. Econ. Theor. 27(2), 431–447 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  17. Krishnaswamy, R., Li, S., Sandeep, S.: Constant approximation for k-median and k-means with outliers via iterative rounding. In: Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pp. 646–659. ACM (2018)

  18. Lau, L.C., Ravi, R., Singh, M.: Iterative Methods in Combinatorial Optimization, vol. 46. Cambridge University Press, Cambridge (2011)

    Book  MATH  Google Scholar 

  19. Li. S.: Approximating capacitated k-median with (1+\(\epsilon \)) k open facilities. In Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 786–796. SIAM (2016)

  20. Li, S.: On uniform capacitated k-median beyond the natural LP relaxation. ACM Trans. Algorithm (TALG) 13(2), 1–18 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  21. Slavik, P.: Improved performance of the greedy algorithm for partial cover. Inf. Process. Lett. 64(5), 251–254 (1997)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The authors would like to thank Tanmay Inamdar and Kasturi Varadarajan for helpful discussions. The authors are also thankful to the anonymous reviewers. The research of the first author is partly funded by the European Research Council (ERC) via grant LOPPRE, reference 819416.

Author information

Authors and Affiliations

Authors

Contributions

Sayan Bandyapadhyay: Conceptualization, Investigation, Formal analysis, Methodology, Writing - original draft.

Aritra Banik: Conceptualization, Investigation, Formal analysis, Methodology, Writing - original draft.

Sujoy Bhore: Conceptualization, Investigation, Formal analysis, Methodology, Writing - original draft.

Corresponding author

Correspondence to Sujoy Bhore.

Ethics declarations

Conflicts of interest

We wish to confirm that there are no known conflicts of interest associated with this publication and there has been no significant financial support for this work that could have influenced its outcome. We confirm that the manuscript has been read and approved by all named authors and that there are no other persons who satisfied the criteria for authorship but are not listed. We further confirm that the order of authors listed in the manuscript has been approved by all of us. We confirm that we have given due consideration to the protection of intellectual property associated with this work and that there are no impediments to publication, including the timing of publication, with respect to intellectual property.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

A preliminary version of this article appeared in the proceedings of the 47th International Workshop on Graph-Theoretic Concepts in Computer Science (WG) 2021 [2].

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bandyapadhyay, S., Banik, A. & Bhore, S. On Colorful Vertex and Edge Cover Problems. Algorithmica 85, 3816–3827 (2023). https://doi.org/10.1007/s00453-023-01164-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-023-01164-6

Navigation