Fast and Flexible Flow Decompositions in General Graphs via Dominators.

IF 1.3 4区 生物学 Q4 BIOCHEMICAL RESEARCH METHODS
Francisco Sena, Alexandru I Tomescu
{"title":"Fast and Flexible Flow Decompositions in General Graphs via Dominators.","authors":"Francisco Sena, Alexandru I Tomescu","doi":"10.1177/15578666261486472","DOIUrl":null,"url":null,"abstract":"<p><p>Multi-assembly methods rely at their core on a flow decomposition problem, namely, decomposing a weighted graph into weighted paths or walks. However, most results over the past decade have focused on decompositions over directed acyclic graphs (DAGs). This limitation has led to either purely heuristic methods or, in applications, transforming a graph with cycles into a DAG via preprocessing heuristics. In this article, we show that flow decomposition problems can also be solved in practice on general graphs with cycles via a framework that yields fast and flexible mixed-integer linear programming (MILP) formulations. Our key technique relies on the graph-theoretical notion of a <i>dominator tree</i>, which we use to find all <i>safe sequences of edges</i> that are guaranteed to appear in some walk of any flow decomposition. We generalize previous results from DAGs to cyclic graphs by showing that maximal safe sequences correspond to extensions of common leaves of two dominator trees, and that all such sequences can be found in time linear in their size. Using these, we can accelerate MILPs for <i>any</i> flow decomposition into walks in general graphs by setting suitable variables encoding solution walks to (at least) 1 and by setting to 0 other walk variables that are nonreachable to and from safe sequences. This reduces model size and eliminates costly linearizations of MILP variable products. We experiment with three decomposition models (minimum flow decomposition, least absolute errors, and minimum path error) on four bacterial datasets. Our preprocessing enables up to 1000-fold speedups and solves many instances that would otherwise time out in under 30 seconds. We thus hope that our dominator-based MILP simplification framework, together with the accompanying software library, can serve as building blocks for multi-assembly applications.</p>","PeriodicalId":15526,"journal":{"name":"Journal of Computational Biology","volume":" ","pages":"15578666261486472"},"PeriodicalIF":1.3000,"publicationDate":"2026-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Biology","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1177/15578666261486472","RegionNum":4,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

Multi-assembly methods rely at their core on a flow decomposition problem, namely, decomposing a weighted graph into weighted paths or walks. However, most results over the past decade have focused on decompositions over directed acyclic graphs (DAGs). This limitation has led to either purely heuristic methods or, in applications, transforming a graph with cycles into a DAG via preprocessing heuristics. In this article, we show that flow decomposition problems can also be solved in practice on general graphs with cycles via a framework that yields fast and flexible mixed-integer linear programming (MILP) formulations. Our key technique relies on the graph-theoretical notion of a dominator tree, which we use to find all safe sequences of edges that are guaranteed to appear in some walk of any flow decomposition. We generalize previous results from DAGs to cyclic graphs by showing that maximal safe sequences correspond to extensions of common leaves of two dominator trees, and that all such sequences can be found in time linear in their size. Using these, we can accelerate MILPs for any flow decomposition into walks in general graphs by setting suitable variables encoding solution walks to (at least) 1 and by setting to 0 other walk variables that are nonreachable to and from safe sequences. This reduces model size and eliminates costly linearizations of MILP variable products. We experiment with three decomposition models (minimum flow decomposition, least absolute errors, and minimum path error) on four bacterial datasets. Our preprocessing enables up to 1000-fold speedups and solves many instances that would otherwise time out in under 30 seconds. We thus hope that our dominator-based MILP simplification framework, together with the accompanying software library, can serve as building blocks for multi-assembly applications.

通过支配子快速灵活地分解一般图中的流。
多装配方法的核心依赖于流分解问题,即将加权图分解为加权路径或行走。然而,在过去的十年中,大多数结果都集中在有向无环图(dag)的分解上。这种限制导致了纯粹的启发式方法,或者在应用程序中,通过预处理启发式将带有循环的图转换为DAG。在这篇文章中,我们展示了流分解问题也可以在实践中解决一般图的循环,通过一个框架,产生快速和灵活的混合整数线性规划(MILP)公式。我们的关键技术依赖于支配树的图论概念,我们使用它来找到保证在任何流分解的某些行走中出现的所有安全边序列。我们将以往的结果推广到循环图中,证明了极大安全序列对应于两个主导树的公共叶的扩展,并且所有这些序列在其大小上都是时间线性的。使用这些,我们可以通过将合适的变量编码解决方案步数(至少)设置为1,并将其他无法到达安全序列的步数变量设置为0,来加速任何流分解为一般图中的步数的milp。这减少了模型尺寸,并消除了昂贵的线性化的MILP变量产品。我们在四个细菌数据集上实验了三种分解模型(最小流分解、最小绝对误差和最小路径误差)。我们的预处理使速度提高了1000倍,并解决了许多在30秒内超时的情况。因此,我们希望我们的基于支配体的MILP简化框架,以及附带的软件库,可以作为多装配应用程序的构建块。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Computational Biology
Journal of Computational Biology 生物-计算机:跨学科应用
CiteScore
3.60
自引率
5.90%
发文量
113
审稿时长
6-12 weeks
期刊介绍: Journal of Computational Biology is the leading peer-reviewed journal in computational biology and bioinformatics, publishing in-depth statistical, mathematical, and computational analysis of methods, as well as their practical impact. Available only online, this is an essential journal for scientists and students who want to keep abreast of developments in bioinformatics. Journal of Computational Biology coverage includes: -Genomics -Mathematical modeling and simulation -Distributed and parallel biological computing -Designing biological databases -Pattern matching and pattern detection -Linking disparate databases and data -New tools for computational biology -Relational and object-oriented database technology for bioinformatics -Biological expert system design and use -Reasoning by analogy, hypothesis formation, and testing by machine -Management of biological databases
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书