English

A Row-wise Algorithm for Graph Realization

Discrete Mathematics 2025-06-27 v2 Combinatorics

Abstract

Given a {0,1}\{0,1\}-matrix MM, the graph realization problem for MM asks if there exists a spanning forest such that the columns of MM are incidence vectors of paths in the forest. The problem is closely related to the recognition of network matrices, which are a large subclass of totally unimodular matrices and have many applications in mixed-integer programming. Existing efficient algorithms for graph realization grow a submatrix in a column-wise fashion whilst maintaining a graphic realization. In the context of mixed-integer linear programming, this limits the set of submatrices of the constraint matrix that can efficiently be determined to be network matrices to network submatrices that span all rows and a subset of the columns. This paper complements the existing work by providing an algorithm that works in a row-wise fashion and uses similar data structures, and enables the detection of arbitrary graphic submatrices. The main challenge in designing efficient algorithms for the graph realization problem is ambiguity as there may exist many graphs realizing MM. The key insight for designing an efficient row-wise algorithm is that a graphic matrix is uniquely represented by an SPQR-tree, a graph decomposition that stores all graphs with the same set of cycles. The developed row-wise algorithm uses data structures that are compatible with the column-wise algorithm and can be combined with the latter to detect maximal graphic submatrices.

Keywords

Cite

@article{arxiv.2408.12869,
  title  = {A Row-wise Algorithm for Graph Realization},
  author = {Rolf van der Hulst and Matthias Walter},
  journal= {arXiv preprint arXiv:2408.12869},
  year   = {2025}
}

Comments

44 pages, 11 figures