NP Datalog: a Logic Language for Expressing NP Search and Optimization Problems
Sergio Greco, Cristian Molinaro, Irina Trubitsyna, Ester Zumpano

TL;DR
This paper introduces NP Datalog, a logic language extending Datalog with constructs for expressing NP search and optimization problems, and demonstrates its effectiveness through a prototype system and experiments.
Contribution
It presents NP Datalog, a novel logic language for expressing NP problems, and a system prototype translating queries into efficient OPL programs.
Findings
NP Datalog captures the power of Datalog with unstratified negation.
The system translates NP Datalog queries into OPL programs.
Experiments show the approach is effective and efficient.
Abstract
This paper presents a logic language for expressing NP search and optimization problems. Specifically, first a language obtained by extending (positive) Datalog with intuitive and efficient constructs (namely, stratified negation, constraints and exclusive disjunction) is introduced. Next, a further restricted language only using a restricted form of disjunction to define (non-deterministically) subsets (or partitions) of relations is investigated. This language, called NP Datalog, captures the power of Datalog with unstratified negation in expressing search and optimization problems. A system prototype implementing NP Datalog is presented. The system translates NP Datalog queries into OPL programs which are executed by the ILOG OPL Development Studio. Our proposal combines easy formulation of problems, expressed by means of a declarative logic language, with the efficiency of the ILOG…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, Reasoning, and Knowledge · AI-based Problem Solving and Planning · Logic, programming, and type systems
