Parameterized complexity theory has lead to a wide range of algorithmic breakthroughs within the last decades, but the practicability of these methods for real-world problems is still not well understood. We investigate the practicability of one of the fundamental approaches of this field: dynamic programming on tree decompositions. Indisputably, this is a key technique in parameterized algorithms and modern algorithm design. Despite the enormous impact of this approach in theory, it still has very little influence on practical implementations. The reasons for this phenomenon are manifold. One of them is the simple fact that such an implementation requires a long chain of non-trivial tasks (as computing the decomposition, preparing it,...). We provide an easy way to implement such dynamic programs that only requires the definition of the update rules. With this interface, dynamic programs for various problems, such as 3-coloring, can be implemented easily in about 100 lines of structured Java code.
The theoretical foundation of the success of dynamic programming on tree decompositions is well understood due to Courcelle's celebrated theorem, which states that every MSO-definable problem can be efficiently solved if a tree decomposition of small width is given. We seek to provide practical access to this theorem as well, by presenting a lightweight model-checker for a small fragment of MSO. This fragment is powerful enough to describe many natural problems, and our model-checker turns out to be very competitive against similar state-of-the-art tools.
A Safety Framework for Flow Decomposition Problems via Integer Linear Programming
生物信息学中的许多重要问题(例如,组装或多组装)允许多个解决方案,而最终目标是只报告一个。处理这种不确定性的常见方法是找到安全的部分解决方案(例如,重叠群),这是所有解决方案所共有的。以往的安全性研究主要集中在多项式时间可解问题上,而许多成功的自然模型都是NP难问题,因此缺乏解决此类问题的“安全工具”。我们提出了第一种方法来计算所有的安全解决方案的NP-难问题,最小流分解。我们得到我们的结果,通过开发一个“安全测试”的基础上,一般的线性规划(ILP)制定的路径。此外,我们提供了实际的优化实现,旨在减少总的ILP时间,其中最有效的是基于递归组测试过程。结果如下:Shao和Kingsford(TCBB,2017)的转录组数据集的实验结果表明,最小流分解的所有安全路径正确恢复了高达90%的完整RNA转录物,这比先前已知的安全路径至少多25%,例如(Caceres et al. TCBB,2021),(Zheng et al.,RECOMB 2021),(Khan等人,RECOMB 2022,ESA 2022)。此外,尽管这个问题是NP困难的,但我们可以在1.5小时内报告这个数据集中超过27,000个非平凡图中99.8%的所有安全路径。我们的研究结果表明,在完美的数据,有更少的模糊性比想象中的臭名昭著的困难RNA组装问题。可用性:https://github.com/algbio/mfd-…