How to Attack the NP-complete Dag Realization Problem in Practice
Annabell Berger, Matthias M\"uller-Hannemann

TL;DR
This paper investigates the NP-complete problem of realizing directed acyclic graphs from degree sequences, introducing efficient algorithms, heuristics, and structural insights that perform well on both synthetic and real-world instances.
Contribution
It presents new exponential and linear-time algorithms, structural properties, and a randomized heuristic for the NP-complete DAG realization problem, with strong empirical performance.
Findings
The linear-time heuristic solves most instances efficiently.
Structural characteristics predict realization difficulty.
The algorithms perform well on real-world data.
Abstract
We study the following fundamental realization problem of directed acyclic graphs (dags). Given a sequence S:=(a_1,b_1),...,(a_n, b_n) with a_i, b_i in Z_0^+, does there exist a dag (no parallel arcs allowed) with labeled vertex set V:= {v_1,...,v_n} such that for all v_i in V indegree and outdegree of v_i match exactly the given numbers a_i and b_i, respectively? Recently this decision problem has been shown to be NP-complete by Nichterlein (2011). However, we can show that several important classes of sequences are efficiently solvable. In previous work (Berger and Mueller-Hannemann, FCT2011), we have proved that yes-instances always have a special kind of topological order which allows us to reduce the number of possible topological orderings in most cases drastically. This leads to an exact exponential-time algorithm which significantly improves upon a straightforward approach.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Complexity and Algorithms in Graphs · Data Management and Algorithms
