paper

A Branch-and-Bound Approach for Maximum Low-Diameter Dense Subgraph Problems

arXiv:2511.03157

Abstract

A graph with vertices is an -dense graph if it has at least edges, being a well-defined function. The notion -dense graph encompasses various clique models like -quasi cliques, -defective cliques, and dense cliques, arising in cohesive subgraph extraction applications. However, the -dense graph may be disconnected or weakly connected. To conquer this, we study the problem of finding the largest -dense subgraph with a diameter of at most two in the paper. Specifically, we present a decomposition-based branch-and-bound algorithm to optimally solve this problem. The key feature of the algorithm is a decomposition framework that breaks the graph into smaller subgraphs, allowing independent searches in each subgraph. We also introduce decomposition strategies including degeneracy and two-hop degeneracy orderings, alongside a branch-and-bound algorithm with a novel sorting-based upper bound to solve each subproblem. Worst-case complexity for each component is provided. Empirical results on 139 real-world graphs under two functions show our algorithm outperforms the MIP solver and pure branch-and-bound, solving nearly twice as many instances optimally within one hour.

Corrected author name in this version

A Branch-and-Bound Approach for Maximum Low-Diameter Dense Subgraph Problems · wovepaper