Solving Distributed Constraint Optimization Problems Using Logic Programming

Tiep Le, Tran Cao Son, Enrico Pontelli, William Yeoh

Abstract

Distributed Constraint Optimization Problems (DCOPs) are a fundamental framework for coordinating multi-agent systems. Traditional DCOP algorithms, such as the Distributed Pseudo-tree Optimization Procedure (DPOP), typically rely on imperative local solvers that struggle with memory efficiency and the exploitation of problem structures like hard constraints. This paper presents ASP-DPOP, an algorithm that integrates Answer Set Programming (ASP) into the DPOP framework. By leveraging declarative logic solvers, ASP-DPOP achieves significant improvements in speed and memory usage. Experimental results on random graphs and power network simulations demonstrate that ASP-DPOP can outperform standard DPOP by up to two orders of magnitude in execution time and drastically reduce communication overhead.

Introduction

Distributed Constraint Optimization Problems (DCOPs) model scenarios where multiple agents must coordinate their local decisions to optimize a global objective function. Applications range from emergency response scheduling to smart grid management. In a DCOP, agents control variables and aim to find value assignments that maximize the sum of utilities derived from local constraints.

Historically, DCOP solvers have been implemented using imperative programming paradigms. While effective for simple problems, these "ad-hoc" solvers face two primary challenges. First, they often require the explicit enumeration of all possible value combinations to represent utility functions, leading to high memory consumption. Second, they frequently fail to efficiently prune the search space when "hard constraints" (strictly forbidden combinations) are present.

Methodology: The ASP-DPOP Framework

The proposed ASP-DPOP algorithm addresses these challenges by replacing the imperative local engines of the standard DPOP algorithm with Answer Set Programming (ASP) solvers. ASP is a declarative logic programming paradigm designed for complex search problems.

DPOP Background

DPOP is an inference-based algorithm that operates in three phases:

  1. Pseudo-tree Generation: The constraint graph is transformed into a hierarchy called a pseudo-tree, which defines the communication structure between agents.
  2. UTIL Propagation: Starting from the leaves, agents compute optimal utilities for their subtrees and pass these "UTIL messages" up to their parents.
  3. VALUE Propagation: Starting from the root, agents select their optimal values based on their parents' choices and propagate these "VALUE messages" down the tree.
Figure 1: (a) A constraint graph and (b) its corresponding pseudo-tree representation used for coordination.

Integration of Answer Set Programming

In ASP-DPOP, the local computation within each agent during the UTIL and VALUE propagation phases is handled by an ASP solver (specifically clasp and gringo). Instead of processing large utility tables, agents generate ASP programs that represent their local constraints and the messages received from their neighbors.

Figure 6: Internal logic of an ASP-DPOP agent, showing how incoming messages and local constraints are processed using logic rules.

By using a declarative approach, ASP-DPOP can exploit the advanced pruning techniques of modern ASP solvers. Hard constraints are treated as logical contradictions, allowing the solver to eliminate large portions of the search space early in the process. The researchers developed two variants: ASP-DPOP (facts), which uses enumerated tables, and ASP-DPOP (rules), which uses logic rules to define utility functions implicitly.

Experimental Evaluation

The performance of ASP-DPOP was evaluated against standard DPOP and its variants using two primary benchmarks: random graphs and power network optimization.

Key Results

  • Speed and Scalability: On random graphs, ASP-DPOP demonstrated a significant performance advantage, often running up to two orders of magnitude faster than standard DPOP. Crucially, ASP-DPOP maintained a 100% success rate in solving instances where standard DPOP failed due to memory exhaustion (e.g., with 20+ variables).
  • Communication Efficiency: In power network simulations (IEEE topologies), ASP-DPOP showed remarkable communication efficiency. For a 37-bus topology, the maximum UTIL message size for ASP-DPOP was only 22 units, compared to over 161,000 units for standard DPOP. This reduction is attributed to the "rules" variant's ability to represent complex utilities functionally rather than through explicit tables.

Conclusion

ASP-DPOP represents a successful bridge between the multi-agent coordination and logic programming communities. By adopting a declarative approach, the algorithm overcomes the memory and efficiency bottlenecks of traditional imperative DCOP solvers. While the framework remains subject to the exponential complexity inherent in DPOP's induced width, the use of ASP solvers provides a robust path for handling complex, real-world constraints. Future research will explore the application of ASP to other DCOP algorithmic classes, such as search-based or sampling-based methods.

Summary updated

BibTeX
@inproceedings{le2015solving,
  author = {Tiep Le and Tran Cao Son and Enrico Pontelli and William Yeoh},
  title = {{Solving Distributed Constraint Optimization Problems Using Logic Programming}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2015},
  doi = {10.1609/aaai.v29i1.9365},
}
Figure