Skip to main content
QUICK REVIEW

[Paper Review] Problem solving in ID-logic with aggregates: some experiments

Bert Van Nuffelen, Marc Denecker|ArXiv.org|Mar 8, 2000
Logic, Reasoning, and KnowledgeComputer Science18 references5 citations
TL;DR

This paper presents an extension of ID-logic with high-order aggregates and integrates them into the SLDNFA abductive solver, enabling efficient problem solving for declarative specifications involving aggregates. The key contribution is a significant performance improvement—reducing setup time from 24 hours to 45 seconds in a real-world scheduling problem—demonstrating the feasibility of using high-level declarative logic with aggregates for complex computational problems while maintaining development efficiency and maintainability.

ABSTRACT

The goal of the LP+ project at the K.U.Leuven is to design an expressive logic, suitable for declarative knowledge representation, and to develop intelligent systems based on Logic Programming technology for solving computational problems using the declarative specifications. The ID-logic is an integration of typed classical logic and a definition logic. Different abductive solvers for this language are being developed. This paper is a report of the integration of high order aggregates into ID-logic and the consequences on the solver SLDNFA.

Motivation & Objective

  • To extend ID-logic with high-order aggregates to support more natural and expressive declarative specifications in real-world problem domains.
  • To integrate aggregate reasoning into the SLDNFA abductive solver for satisfiability and abduction in ID-logic.
  • To evaluate the feasibility and performance of the extended system on nontrivial computational problems involving aggregates.
  • To compare the trade-off between development time and solution efficiency between declarative aggregate-based specifications and hand-optimized CLP programs.

Proposed method

  • Extends ID-logic with higher-order aggregates (e.g., cardinality, summation, min, max) using Van Gelder’s well-founded semantics foundation.
  • Integrates aggregate evaluation into the SLDNFA solver by reducing aggregates to finite domain constraints in a single step, avoiding backtracking over disjunctions.
  • Uses constraint logic programming (CLP) techniques to handle the generated constraint store, leveraging CLP’s efficient backtracking mechanism.
  • Employs a hybrid approach combining abductive logic programming and CLP, with the abductive solver focusing on theory expansion and the CLP solver handling constraint propagation.
  • Applies the extended system to two experiments: a sea-battle puzzle and a real-world maintenance scheduling problem with 56 tasks and 46 units.
  • Optimizes aggregate evaluation to avoid the performance bottleneck of previous systems that used large disjunctions and backtracked over them.

Experimental results

Research questions

  • RQ1Can high-order aggregates be effectively integrated into ID-logic while preserving the declarative and abductive reasoning capabilities of the logic?
  • RQ2How does the performance of the extended SLDNFA solver compare to traditional CLP implementations when solving aggregate-rich problems?
  • RQ3To what extent does using a high-level declarative specification with aggregates reduce development time and improve maintainability compared to hand-written CLP code?
  • RQ4What are the trade-offs between solution efficiency and specification clarity in aggregate-based problem solving?

Key findings

  • The extended SLDNFA solver reduced the setup time for a real-world maintenance scheduling problem from 24 hours to 45 seconds by replacing backtracking over large disjunctions with direct constraint store construction.
  • The system achieved a solution within 20 minutes that was 94% close to the optimal, demonstrating reasonable efficiency despite the generated constraint store being less tuned than hand-optimized CLP code.
  • The declarative specification required only 11 logical formulae and a few hours of discussion, compared to 400 lines of code and several weeks of development for a comparable CLP solution.
  • The performance gap between the declarative and CLP approaches is substantial in setup time (45s vs. 3–4s), but the declarative approach offers major advantages in development time, adaptability, and maintainability.
  • The current implementation does not apply optimizations present in hand-written CLP programs, suggesting that automated optimization of the generated constraint store could significantly narrow the performance gap.
  • The results support the feasibility of using aggregate-enhanced ID-logic for nontrivial computational problems, especially when development efficiency and maintainability are prioritized.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.