arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.16694cs.DB
收藏

带合取数据库查询的线性规划

Linear Programs with Conjunctive Database Queries

Florent Capelli, Nicolas Crosetti, Joachim Niehren, Jan Ramon

AI总结:

本文提出语言 LP(CQ) 以刻画变量为合取查询答案的线性规划,并利用小宽度广义超树分解减少变量数量,在保持最优值的同时实现高效求解,展示了其在资源配送、差分隐私和图模式挖掘中的应用。

摘要:

在本文中,我们研究优化一个线性规划的问题,该线性规划的变量是合取查询的答案。为此,我们提出语言 LP(CQ),用于指定其约束和目标函数依赖于合取查询答案集的线性规划。我们贡献了一种用于求解 LP(CQ) 片段中程序的高效算法。自然的方法构造一个线性规划,其变量数量与查询答案集中的元素数量一样多。我们的方法构造一个具有相同最优值但变量更少的线性规划。这是通过利用合取查询的结构,使用小宽度的广义超树分解将答案集的元素一起因子化来实现的。我们通过三个例子说明 LP(CQ) 程序的各种应用:优化资源配送、最小化差分隐私的噪声,以及计算数据挖掘所需的图中模式的 s-测度。

英文摘要:

In this paper, we study the problem of optimizing a linear program whose variables are the answers to a conjunctive query. For this we propose the language LP(CQ) for specifying linear programs whose constraints and objective functions depend on the answer sets of conjunctive queries. We contribute an efficient algorithm for solving programs in a fragment of LP(CQ). The natural approach constructs a linear program having as many variables as there are elements in the answer set of the queries. Our approach constructs a linear program having the same optimal value but fewer variables. This is done by exploiting the structure of the conjunctive queries using generalized hypertree decompositions of small width to factorize elements of the answer set together. We illustrate the various applications of LP(CQ) programs on three examples: optimizing deliveries of resources, minimizing noise for differential privacy, and computing the s-measure of patterns in graphs as needed for data mining.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑