Distributed Constraint Optimization Problems M OHSEN A FSHARCHI.

Slides:



Advertisements
Similar presentations
Chapter 5: Tree Constructions
Advertisements

Graph Algorithms Algorithm Design and Analysis Victor AdamchikCS Spring 2014 Lecture 11Feb 07, 2014Carnegie Mellon University.
Distributed Constraint Satisfaction Problems M OHSEN A FSHARCHI.
Adopt Algorithm for Distributed Constraint Optimization
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Iterative Deepening A* & Constraint Satisfaction Problems Lecture Module 6.
Towards a Theoretic Understanding of DCEE Scott Alfeld, Matthew E
Chapter 15 Basic Asynchronous Network Algorithms
Types of Algorithms.
CS 484. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
0 Course Outline n Introduction and Algorithm Analysis (Ch. 2) n Hash Tables: dictionary data structure (Ch. 5) n Heaps: priority queue data structures.
5-1 Chapter 5 Tree Searching Strategies. 5-2 Satisfiability problem Tree representation of 8 assignments. If there are n variables x 1, x 2, …,x n, then.
Minimax and Alpha-Beta Reduction Borrows from Spring 2006 CS 440 Lecture Slides.
1 Section 9.1 Introduction to Trees. 2 Tree terminology Tree: a connected, undirected graph that contains no simple circuits –must be a simple graph:
CPSC 668Set 2: Basic Graph Algorithms1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
A tree is a simple graph satisfying: if v and w are vertices and there is a path from v to w, it is a unique simple path. a b c a b c.
Rooted Trees. More definitions parent of d child of c sibling of d ancestor of d descendants of g leaf internal vertex subtree root.
Search Algorithms for Agents
Ch 13 – Backtracking + Branch-and-Bound
CS 584. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
Impact of Problem Centralization on Distributed Constraint Optimization Algorithms John P. Davin and Pragnesh Jay Modi Carnegie Mellon University School.
1 Structures and Strategies for State Space Search 3 3.0Introduction 3.1Graph Theory 3.2Strategies for State Space Search 3.3Using the State Space to Represent.
Backtracking.
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
Distributed Constraint Optimization * some slides courtesy of P. Modi
Election Algorithms and Distributed Processing Section 6.5.
1 Constraint Programming: An Introduction Adapted by Cristian OLIVA from Peter Stuckey (1998) Ho Chi Minh City.
CPSC 335 BTrees Dr. Marina Gavrilova Computer Science University of Calgary Canada.
Broadcast & Convergecast Downcast & Upcast
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
CS584 - Software Multiagent Systems Lecture 12 Distributed constraint optimization II: Incomplete algorithms and recent theoretical results.
CS 415 – A.I. Slide Set 5. Chapter 3 Structures and Strategies for State Space Search – Predicate Calculus: provides a means of describing objects and.
Problem Reduction Search: AND/OR Graphs & Game Trees Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Distributed Constraint Satisfaction: Foundation of Cooperation in Multi-agent Systems Makoto Yokoo Kyushu University lang.is.kyushu-u.ac.jp/~yokoo/
A Study of Balanced Search Trees: Brainstorming a New Balanced Search Tree Anthony Kim, 2005 Computer Systems Research.
TREES. What is a tree ? An Abstract Data Type which emulates a tree structure with a set of linked nodes The nodes within a tree are organized in a hierarchical.
Data Structures TREES.
Agenda Review: –Planar Graphs Lecture Content:  Concepts of Trees  Spanning Trees  Binary Trees Exercise.
Distributed Constraint Optimization Problem for Decentralized Decision Making Optimization in Multi-Agent Systems.
Distributed Constraint Satisfaction Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Trees : Part 1 Section 4.1 (1) Theory and Terminology (2) Preorder, Postorder and Levelorder Traversals.
Algorithms April-May 2013 Dr. Youn-Hee Han The Project for the Establishing the Korea ㅡ Vietnam College of Technology in Bac Giang.
Chapter 2) CSP solving-An overview Overview of CSP solving techniques: problem reduction, search and solution synthesis Analyses of the characteristics.
CS 584. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
Performance of Distributed Constraint Optimization Algorithms A.Gershman, T. Grinshpon, A. Meisels and R. Zivan Dept. of Computer Science Ben-Gurion University.
DISTRIBUTED ALGORITHMS Spring 2014 Prof. Jennifer Welch Set 2: Basic Graph Algorithms 1.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
Search Techniques CS480/580 Fall Introduction Trees: – Root, parent, child, sibling, leaf node, node, edge – Single path from root to any node Graphs:
CS483/683 Multi-Agent Systems Lecture 2: Distributed variants of 2 important AI problems: Search and Constraint Satisfaction 21 January 2010 Instructor:
1 CSC 384 Lecture Slides (c) , C. Boutilier and P. Poupart CSC384: Lecture 16  Last time Searching a Graphplan for a plan, and relaxed plan heuristics.
Adversarial Search 2 (Game Playing)
Distributed cooperation and coordination using the Max-Sum algorithm
Algorithmic and Domain Centralization in Distributed Constraint Optimization Problems John P. Davin Carnegie Mellon University June 27, 2005 Committee:
Distributed Control and Autonomous Systems Lab. Sang-Hyuk Yun and Hyo-Sung Ahn Distributed Control and Autonomous Systems Laboratory (DCASL ) Department.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
1 Traversal Algorithms  sequential polling algorithm  traversing connected networks (tree construction) complexity measures tree terminology tarry’s.
Chapter 10 Trees © 2006 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.
MCS680: Foundations Of Computer Science
Backtracking And Branch And Bound
The CPLEX Library: Mixed Integer Programming
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Trees Slides are adopted from “Discrete.
Branch and Bound.
Heuristic Ordering for Asynchronous Backtracking
Hierarchical Search on DisCSPs
Introduction to Artificial Intelligence Lecture 9: Two-Player Games I
Lecture 36 Section 12.2 Mon, Apr 23, 2007
Trees 11.1 Introduction to Trees Dr. Halimah Alshehri.
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Hierarchical Search on DisCSPs
Presentation transcript:

Distributed Constraint Optimization Problems M OHSEN A FSHARCHI

Distributed Constraint Optimization Problems Are a generalization of constraint satisfaction problems Like DCSP, DCOP includes a set of variables: –each variable is assigned to an agent that has control over its value In DCSP –the agents assign values to variables so as to satisfy the constraints on them In DCOP –the agents must coordinate their choice of values so that a global objective function is optimized. Applications of DCOP: –Multiagent Teamwork –Distributed Scheduling –Distributed Sensor Networks

Distributed Constraint Optimization Problems Formal Definition –A constraint satisfaction problem consists of: A set of n variables V = {x 1, x 2, …, x n } Discrete, finite domains for each of the variables D = { D 1, D 2, …, D n } A set of cost functions f = {f 1, …, f m }. –where each f i is a function f i : D i1 x D i2 x … x D ij  N U . The problem is to find an assignment A* = {d 1, …, d n | d i  D i } such that the global cost called F, is minimized. –F is defined as follows:

Distributed Constraint Optimization Problems Design Criteria for DCOP algorithms: –Agents should be able to optimize a global function in a distributed fashion using only local communication –The agents should operate asynchronously agents should not sit idle waiting for a particular message from a particular agent –The algorithm should provide provable quality guarantees on system performance

Adopt (Asynchronous Distributed Optimization) Generalization of Asynchronous Backtracking –with a bunch of performance tweaks. Starts by assigning a priority to the agents based on a depth-first search tree –each node has a single parent and multiple children –parents have higher priority than the children –hence, does not require a linear priority ordering on the agents Constraints are only allowed between a node and any of its ancestors and descendants –there can be no constraints between different subtrees of the DFS tree not a restriction of the constraint network itself

Adopt Overview 6

7

Adopt (Asynchronous Distributed Optimization) Example: x1x1 x2x2 x3x3 x4x4 x1x1 x2x2 x3x3 x4x4 Constraint GraphDFS Tree

Adopt (Asynchronous Distributed Optimization) Algorithm begins by all agents choosing their values concurrently The algorithm uses three types of messages: –VALUE Messages: used to send the current selected value of the variable to the descendants below the node in the DFS tree similar to ok? messages in ABT –THRESHOLD Messages: are only sent by a parent to its immediate children contain a single number which represents the backtrack threshold –COST Messages: are a generalization of nogood messages in ABT contain the current context (same as in ABT) and the lb and the ub.

10 Adopt Algorithm Agents are ordered in a tree –constraints between ancestors/descendents –no constraints between siblings Basic Algorithm: –choose value with min cost –Loop until termination-condition true: When receive message: –choose value with min cost –send VALUE message to descendents –send COST message to parent –send THRESHOLD message to child Constraint Graph x1 x2 x3x4 x1 x2 x4 x3 VALUE messages COST messages THRESH messages Tree Ordering x1 x2 x3x4

11 Weak Backtracking Suppose parent has two values, “white” and “black” parent Explore “white” first LB(w) = 0 LB(b) = 0 parent Receive cost msg LB(w) = 2 LB(b) = 0 parent Now explore “black” LB(w) = 2 LB(b) = 0 parent Receive cost msg LB(w) = 2 LB(b) = 3 parent Go back to “white” LB(w) = 2 LB(b) = 3 parent Termination Condition True LB(w)=10 =UB(w) LB(b)=12..

Adopt (Asynchronous Distributed Optimization) The algorithm calculates the local cost using the formula: where δ (d i ) is the local cost at x i when x i chooses d. –This formula is used to calculate the cost of a node only on the basis of the constraints that the node shares with its ancestors (NOT its children) This is because the current context is built from the VALUE messages received by a node –The node (x i ) also calculates LB and UB The idea is that LB and UB are the lower and upper bounds on the cost seen so far for a subtrees rooted at x i.

Adopt (Asynchronous Distributed Optimization) For a leaf node, –lb(d i ) = ub(d i ) = δ (d i ) For any other node, For all nodes: Similar for UB By keeping a track of LB and UB, the agent knows the current lower bound and upper bound on cost in the subtrees The algorithm uses a threshold values to decide when to backtrack

Example 14 Constraint Graph x1 x2 x3x4 di dj f(di,dj) 1 2 0

Example 15

Example 16

Example 17

Example 18

Example 19

Example 20