论文标题
带有连接数据库查询的线性程序
Linear Programs with Conjunctive Database Queries
论文作者
论文摘要
在本文中,我们研究了优化线性程序的问题,该程序是对连接查询的答案的问题。为此,我们提出了用于指定线性程序的语言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.