Implementing deductive databases by mixed integer programming
- 1 June 1996
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 21 (2) , 238-269
- https://doi.org/10.1145/232616.232691
Abstract
Existing and past generations of Prolog compilers have left deduction to run-time and this may account for the poor run-time performance of existing Prolog systems. Our work tries to minimize run-time deduction by shifting the deductive process to compile-time. In addition, we offer an alternative inferencing procedure based on translating logic to mixed integer programming. This makes available for research and implementation in deductive databases, all the theorems, algorithms, and software packages developed by the operations research community over the past 50 years. The method keeps the same query language as for disjunctive deductive databases, only the inferencing procedure changes. The language is purely declarative, independent of the order of rules in the program, and independent of the order in which literals occur in clause bodies. The technique avoids Prolog's problem of infinite looping. It saves run-time by doing primary inferencing at compile-time. Furthermore, it is incremental in nature. The first half of this article translates disjunctive clauses, integrity constraints, and database facts into Boolean equations, and develops procedures to use mixed integer programming methods to compute equations, and develops procedures to use mixed integer programming methods to compute equations, and develops procedures to use mixed integer programming methods to compute equations, and develops procedures to use mixed integer programming methods to compute —least models of definite deductive databases, and —minimal models and the Generalized Closed World Assumption of disjunctive databases.Keywords
This publication has 31 references indexed in Scilit:
- Mixed integer programming methods for computing nonmonotonic deductive databasesJournal of the ACM, 1994
- Memoing for logic programsCommunications of the ACM, 1992
- An incremental access method for ViewCacheACM Transactions on Database Systems, 1991
- Declarative control architectureCommunications of the ACM, 1991
- Extended Horn sets in propositional logicJournal of the ACM, 1991
- Indefinite and maybe information in relational databasesACM Transactions on Database Systems, 1990
- On a theory of computation and complexity over the real numbers: 𝑁𝑃- completeness, recursive functions and universal machinesBulletin of the American Mathematical Society, 1989
- Computation-oriented reductions of predicate to propositional logicDecision Support Systems, 1988
- A quantitative approach to logical inferenceDecision Support Systems, 1988
- The Semantics of Predicate Logic as a Programming LanguageJournal of the ACM, 1976