Distributed constraint optimization (DCOP or DisCOP) is the distributed analogue to constraint optimization. A DCOP is a problem in which a group of agents must distributedly choose values for a set of variables such that the cost of a set of constraints over the variables is minimized. Distributed Constraint Satisfaction is a framework for describing a problem in terms of constraints that are known and enforced by distinct participants (agents). The constraints are described on some variables with predefined domains, and have to be assigned to the same values by the different agents. Problems defined with this framework can be solved by any of the algorithms that are designed for it. The framework was used under different names in the 1980s. The first known usage with the current name is in 1990.
Definitions
DCOP The main ingredients of a DCOP problem are agents and variables. Importantly, each variable is owned by an agent; this is what makes the problem distributed. Formally, a DCOP is a tuple ⟨A,V,𝔇,f,α,η⟩, where:
A is the set of agents, {a1,…,a|A|}. V is the set of variables, {v1,v2,…,v|V|}. 𝔇 is the set of variable-domains, {D1,D2,…,D|V|}, where each Dj∈𝔇 is a finite set containing the possible values of variable vj. If Dj∈𝔇 contains only two values (e.g. 0 or 1), then vj is called a binary variable. f is the cost function. It is a functionf:⋃S⊆V×vj∈SDj→ℝ that maps every possible partial assignment to a cost. Usually, only few values of f are non-zero, and it is represented as a list of the tuples that are assigned a non-zero value. Each such tuple is called a constraint. Each constraint C in this set is a function fC:D1×⋯×Dk→ℝ assigning a real value to each possible assignment of the variables. Some special kinds of constraints are: Unary constraints - constraints on a single variable, i.e., fC:Dj→ℝ for some vj∈V. Binary constraints - constraints on two variables, i.e., fC:Dj1×Dj2→ℝ for some vj1,vj2∈V. α is the ownership function. It is a function α:V→A mapping each variable to its associated agent. α(vj)↦ai means that variable vj "belongs" to agent ai. This implies that it is agent ai's responsibility to assign the value of variable vj. Note that α is not necessarily an injection, i.e., one agent may own more than one variables. It is also not necessarily a surjection, i.e., some agents may own no variables. η is the objective function. It is an operator that aggregates all of the individual f costs for all possible variable assignments. This is usually accomplished through summation:η(f)↦∑s∈⋃S⊆V×vj∈SDjf(s). The objective of a DCOP is to have each agent assign values to its associated variables in order to either minimize or maximize η(f) for a given assignment of the variables.
Assignments A value assignment is a pair (vj,dj) where dj is an element of the domain Dj. A partial assignment is a set of value-assignments where each vj appears at most once. It is also called a context. This can be thought of as a function mapping variables in the DCOP to their current values:t:V→(D∈𝔇)∪{∅︀}. Note that a context is essentially a partial solution and need not contain values for every variable in the problem; therefore, t(vi)↦∅︀ implies that the agent α(vi) has not yet assigned a value to variable vi. Given this representation, the "domain" (that is, the set of input values) of the function f can be thought of as the set of all possible contexts for the DCOP. Therefore, in the remainder of this article we may use the notion of a context (i.e., the t function) as an input to the f function. A full assignment is an assignment in which each vj appears exactly once, that is, all variables are assigned. It is also called a solution to the DCOP. An optimal solution is a full assignment in which the objective function η(f) is optimized (i.e., maximized or minimized, depending on the type of problem).
Example problems Various problems from different domains can be presented as DCOPs.
Distributed graph coloring The graph coloring problem is as follows: given a graph G=⟨N,E⟩ and a set of colors C, assign each vertex, n⊂N, a color, c≤C, such that the number of adjacent vertices with the same color is minimized. As a DCOP, there is one agent per vertex that is assigned to decide the associated color. Each agent has a single variable whose associated domain is of cardinality |C| (there is one domain value for each possible color). For each vertex ni≤N, there is a variable vi∈V with domain Di=C. For each pair of adjacent vertices ⟨ni,nj⟩∈E, there is a constraint of cost 1 if both of the associated variables are assigned the same color: (∀c⊆C:f(⟨vi,c⟩,⟨vj,c⟩)↦1). The objective, then, is to minimize η(f).
Distributed multiple knapsack problem The distributed multiple- variant of the knapsack problem is as follows: given a set of items of varying volume and a set of knapsacks of varying capacity, assign each item to a knapsack such that the amount of overflow is minimized. Let I be the set of items, K be the set of knapsacks, s:I→ℕ be a function mapping items to their volume, and c:K→ℕ be a function mapping knapsacks to their capacities. To encode this problem as a DCOP, for each i∈I create one variable vi∈V with associated domain Di=K. Then for all possible contexts t:f(t)↦∑k∈K{0r(t,k)≤c(k),r(t,k)−c(k)otherwise,where r(t,k) represents the total weight assigned by context t to knapsack k:r(t,k)=∑vi∈t−1(k)s(i).
Distributed item allocation problem The item allocation problem is as follows. There are several items that have to be divided among several agents. Each agent has a different valuation for the items. The goal is to optimize some global goal, such as maximizing the sum of utilities or minimizing the envy. The item allocation problem can be formulated as a DCOP as follows.
Add a binary variable vij for each agent i and item j. The variable value is "1" if the agent gets the item, and "0" otherwise. The variable is owned by agent i. To express the constraint that each item is given to at most one agent, add binary constraints for each two different variables related to the same item, with an infinite cost if the two variables are simultaneously "1", and a zero cost otherwise. To express the constraint that all items must be allocated, add an n-ary constraint for each item (where n is the number of agents), with an infinite cost if no variable related to this item is "1".
Other applications DCOP was applied to other problems, such as:
coordinating mobile sensors; meeting and task scheduling.
… excerpt ends here. Continue reading the full article.