English

Approximation Algorithm of Minimum All-Ones Problem for Arbitrary Graphs

Data Structures and Algorithms 2024-04-26 v1 Discrete Mathematics

Abstract

Let G=(V,E)G=(V, E) be a graph and let each vertex of GG has a lamp and a button. Each button can be of σ+\sigma^+-type or σ\sigma-type. Assume that initially some lamps are on and others are off. The button on vertex xx is of σ+\sigma^+-type (σ\sigma-type, respectively) if pressing the button changes the lamp states on xx and on its neighbors in GG (the lamp states on the neighbors of xx only, respectively). Assume that there is a set XVX\subseteq V such that pressing buttons on vertices of XX lights all lamps on vertices of GG. In particular, it is known to hold when initially all lamps are off and all buttons are of σ+\sigma^+-type. Finding such a set XX of the smallest size is NP-hard even if initially all lamps are off and all buttons are of σ+\sigma^+-type. Using a linear algebraic approach we design a polynomial-time approximation algorithm for the problem such that for the set XX constructed by the algorithm, we have Xmin{r,(V+opt)/2},|X|\le \min\{r,(|V|+{\rm opt})/2\}, where rr is the rank of a (modified) adjacent matrix of GG and opt{\rm opt} is the size of an optimal solution to the problem. To the best of our knowledge, this is the first polynomial-time approximation algorithm for the problem with a nontrivial approximation guarantee.

Keywords

Cite

@article{arxiv.2404.16540,
  title  = {Approximation Algorithm of Minimum All-Ones Problem for Arbitrary Graphs},
  author = {Chen Wang and Chao Wang and Gregory Z. Gutin and Xiaoyan Zhang},
  journal= {arXiv preprint arXiv:2404.16540},
  year   = {2024}
}