English

Heuristic computation of exact treewidth

Data Structures and Algorithms 2022-02-17 v1

Abstract

We are interested in computing the treewidth \tw(G)\tw(G) of a given graph GG. Our approach is to design heuristic algorithms for computing a sequence of improving upper bounds and a sequence of improving lower bounds, which would hopefully converge to \tw(G)\tw(G) from both sides. The upper bound algorithm extends and simplifies Tamaki's unpublished work on a heuristic use of the dynamic programming algorithm for deciding treewidth due to Bouchitt\'{e} and Todinca. The lower bound algorithm is based on the well-known fact that, for every minor HH of GG, we have \tw(H)\tw(G)\tw(H) \leq \tw(G). Starting from a greedily computed minor H0H_0 of GG, the algorithm tries to construct a sequence of minors H0H_0, H1H_1, \ldots HkH_k with \tw(Hi)<\tw(Hi+1)\tw(H_i) < \tw(H_{i + 1}) for 0i<k0 \leq i < k and hopefully \tw(Hk)=\tw(G)\tw(H_k) = \tw(G). We have implemented a treewidth solver based on this approach and have evaluated it on the bonus instances from the exact treewidth track of PACE 2017 algorithm implementation challenge. The results show that our approach is extremely effective in tackling instances that are hard for conventional solvers. Our solver has an additional advantage over conventional ones in that it attaches a compact certificate to the lower bound it computes.

Keywords

Cite

@article{arxiv.2202.07793,
  title  = {Heuristic computation of exact treewidth},
  author = {Hisao Tamaki},
  journal= {arXiv preprint arXiv:2202.07793},
  year   = {2022}
}

Comments

Submitted to SEA2022

R2 v1 2026-06-24T09:40:03.607Z