Skip to content

[Rule] MinimumDominatingSet/i32 to MinimumSetCovering/i32 #1095

Description

@isPANN

Source

MinimumDominatingSet/SimpleGraph/i32

Target

MinimumSetCovering/i32

Motivation

This standard closed-neighborhood formulation connects weighted Dominating Set directly to weighted Set Covering. The graph currently has no path between these models, and the construction preserves arbitrary signed integer vertex weights supported by both implementations.

Reference

Garey and Johnson, Computers and Intractability, 1979, Appendix A (Dominating Set and Set Covering definitions). The closed-neighborhood construction below follows directly from the definitions.

Reduction Algorithm

Given G=(V,E), V={0,...,n-1}, with vertex weights w_v:

  1. Set the target universe to V.
  2. For each vertex v, create the set D_v=N[v]={v} union {u:{u,v} in E}.
  3. Give D_v weight w_v.
  4. Selecting target set D_v maps back to selecting graph vertex v.

A vertex set S dominates G iff union_{v in S} N[v]=V, which is exactly the target covering constraint. The objective is identical because weights are copied entry by entry. Isolated vertices and the empty graph are handled by the same construction. Self-loops and repeated edges, which SimpleGraph can represent, do not change the construction because each N[v] is treated as a set.

Size Overhead

Target metric Formula
universe_size num_vertices
num_sets num_vertices

Validation Method

  • Exhaustively compare weighted optimum values on every simple graph through four vertices, including negative weights and isolated vertices.
  • Verify every optimal target configuration maps to a dominating source configuration with the same value.
  • The temporary exhaustive checker also validates the canonical weighted path below.

Example

  1. Source instance: path 0-1-2-3-4 with weights [3,1,4,1,3].
  2. Construction: target universe {0,1,2,3,4} and sets
    • D_0={0,1} weight 3,
    • D_1={0,1,2} weight 1,
    • D_2={1,2,3} weight 4,
    • D_3={2,3,4} weight 1,
    • D_4={3,4} weight 3.
  3. Target instance: weighted Minimum Set Covering with the sets above.
  4. Round trip: {D_1,D_3} covers the universe with value 2 and maps to dominating set {1,3} of value 2. Choices such as {D_0,D_3} are feasible but suboptimal, so the example checks both feasibility and weight preservation.

BibTeX

@book{GareyJohnson1979,
  author = {Garey, Michael R. and Johnson, David S.},
  title = {Computers and Intractability: A Guide to the Theory of NP-Completeness},
  publisher = {W. H. Freeman},
  year = {1979}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    GoodAn issue passed all checks.ruleA new reduction rule to be added.

    Type

    No type

    Projects

    Status
    Final review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions