Logic and Constraint Logic Programming for Distributed Constraint Optimization

Tiep Le, Enrico Pontelli, Tran Cao Son, William YeoharXiv 2014

Abstract

Distributed Constraint Optimization Problems (DCOPs) are a fundamental framework for modeling multi-agent coordination. However, traditional DCOP solvers often struggle with memory explosion due to explicit utility table representations. This paper introduces LP-DPOP, a framework that leverages Constraint Logic Programming (CLP) to solve DCOPs. By replacing ad-hoc table-based solvers with a generic CLP engine, the authors demonstrate that representing hard constraints as logical rules drastically reduces memory overhead and prunes search spaces more effectively, significantly outperforming state-of-the-art solvers in complex scenarios like smart grid optimization.

Introduction: The Challenge of Explicit Utility Tables

Distributed Constraint Optimization Problems (DCOPs) model scenarios where multiple agents coordinate to optimize a global objective without centralizing data, essential for privacy-sensitive applications like sensor networks and smart grids.

Historically, state-of-the-art platforms like the FRODO framework have relied on dedicated local constraint solvers that represent constraints as explicit "utility tables." These tables enumerate every possible combination of variable assignments, assigning a utility of $-\infty$ to those that violate hard constraints.

Traditional DPOP utility table representation and combination.

As shown in the figure above, agents must combine these tables during the optimization process. As problem complexity and domain sizes grow, these explicit tables explode in size, leading to massive memory consumption and prohibitive search times. This paper investigates whether a general-purpose logic programming infrastructure can overcome these limitations.

The LP-DPOP Framework

The authors propose LP-DPOP, which maps the Distributed Pseudo-tree Optimization Procedure (DPOP) into a logic programming environment. In this framework, each agent is implemented as a CLP program using SICStus Prolog, with communication handled via a Linda message-passing server.

Architecture and communication flow of an LP-DPOP agent.

The framework supports two distinct encodings:

  1. LP-DPOP$^{\text{facts}}$: A direct translation where utility tables are imported as logic programming facts.
  2. LP-DPOP$^{\text{rules}}$: A novel approach where hard constraints are represented implicitly as algebraic or logical rules (e.g., X1 + X2 #= 0).

By using rules instead of tables, the CLP solver utilizes built-in constraint propagation to mathematically prune invalid branches of the search tree, avoiding the need to generate or store them in memory.

Experimental Evaluation

The framework was evaluated on randomized graphs (Erdős-Rényi model) and smart grid optimization problems (IEEE Bus Topologies).

Key Results

  • Randomized Graphs: LP-DPOPfacts significantly outperformed standard DPOP. On graphs with 20 to 35 nodes, standard DPOP failed to solve any instances within a 10-minute limit, while LP-DPOPfacts achieved a 100% success rate.
  • Smart Grids: LP-DPOPrules was the most effective, scaling to the 123 Bus Topology with minimal memory usage. In contrast, LP-DPOPfacts struggled with large domain sizes; for example, a single agent in a 13 Bus problem required over 3.5 million facts, highlighting the inefficiency of table-based approaches for real-world scaling.

Conclusion

The primary insight of this work is that treating hard constraints as entries in a utility table is highly inefficient. By expressing them as native CLP rules, solvers can avoid generating millions of useless data points. This research demonstrates that off-the-shelf CLP engines can scale better than specialized DCOP platforms when applied intelligently. Future work includes exploring Answer Set Programming (ASP) and formalizing Distributed Answer Set Programming (DASP) to further enhance multi-agent reasoning.

Summary updated

BibTeX
@misc{le2014logic,
  author = {Tiep Le and Enrico Pontelli and Tran Cao Son and William Yeoh},
  title = {{Logic and Constraint Logic Programming for Distributed Constraint Optimization}},
  year = {2014},
  eprint = {1405.1734},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1405.1734},
}
Figure