Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Constraint Satisfaction Problems Russell and Norvig: Chapter
Constraint Satisfaction Problems (Chapter 6). What is search for? Assumptions: single agent, deterministic, fully observable, discrete environment Search.
Constraint Satisfaction Problems
Distributed Constraint Satisfaction Problems M OHSEN A FSHARCHI.
Adopt Algorithm for Distributed Constraint Optimization
Lecture 11 Last Time: Local Search, Constraint Satisfaction Problems Today: More on CSPs.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
1 CMSC 471 Fall 2002 Class #6 – Wednesday, September 18.
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
MBD and CSP Meir Kalech Partially based on slides of Jia You and Brian Williams.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Constraint Satisfaction problems (CSP)
Review: Constraint Satisfaction Problems How is a CSP defined? How do we solve CSPs?
Constraint Satisfaction Problems. Constraint satisfaction problems (CSPs) Standard search problem: – State is a “black box” – any data structure that.
Constraint Satisfaction Problems
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002.
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
Constraint Satisfaction Problems
CS460 Fall 2013 Lecture 4 Constraint Satisfaction Problems.
Constraint Satisfaction
University College Cork (Ireland) Department of Civil and Environmental Engineering Course: Engineering Artificial Intelligence Dr. Radu Marinescu Lecture.
Constraint Satisfaction Problem Solving Chapter 5.
Chapter 5 Outline Formal definition of CSP CSP Examples
Constraint Satisfaction Problems
Constraint Satisfaction Problems
Constraint Satisfaction Problems
ISC 4322/6300 – GAM 4322 Artificial Intelligence Lecture 4 Constraint Satisfaction Problems Instructor: Alireza Tavakkoli September 17, 2009 University.
1 Constraint Satisfaction Problems Slides by Prof WELLING.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
CSPs Tamara Berg CS Artificial Intelligence Many slides throughout the course adapted from Svetlana Lazebnik, Dan Klein, Stuart Russell, Andrew.
Constraint Satisfaction Problems Chapter 6. Review Agent, Environment, State Agent as search problem Uninformed search strategies Informed (heuristic.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
CSC 8520 Spring Paula Matuszek Based on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are based on Russell, aima.eecs.berkeley.edu/slides-pdf.
Searching by Constraint CMSC Artificial Intelligence January 24, 2008.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
1 Constraint Satisfaction Problems Soup Total Cost < $30 Chicken Dish Vegetable RiceSeafood Pork Dish Appetizer Must be Hot&Sour No Peanuts No Peanuts.
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
CSC 8520 Spring Paula Matuszek CS 8520: Artificial Intelligence Search 3: Constraint Satisfaction Problems Paula Matuszek Spring, 2013.
Chapter 5 Constraint Satisfaction Problems
Constraint Satisfaction Problems (Chapter 6)
An Introduction to Artificial Intelligence Lecture 5: Constraint Satisfaction Problems Ramin Halavati In which we see how treating.
1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3 Grand Challenge:
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Constraint Satisfaction Problems University of Berkeley, USA
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
G51IAI Introduction to Artificial Intelligence
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Computing & Information Sciences Kansas State University Friday, 08 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 7 of 42 Friday, 08 September.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
EXAMPLE: MAP COLORING. Example: Map coloring Variables — WA, NT, Q, NSW, V, SA, T Domains — D i ={red,green,blue} Constraints — adjacent regions must.
1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Dr. Shazzad Hosain Department of EECS North South University Lecture 01 – Part C Constraint Satisfaction Problems.
1 Constraint Satisfaction Problems (CSP). Announcements Second Test Wednesday, April 27.
Constraint Satisfaction Problems
ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information Systems.
Cse 150, Fall 2012Gary Cottrell: Many slides borrowed from David Kriegman! Constraint Satisfaction Problems Introduction to Artificial Intelligence CSE.
CS 561, Session 8 1 This time: constraint satisfaction - Constraint Satisfaction Problems (CSP) - Backtracking search for CSPs - Local search for CSPs.
Constraint Satisfaction Problems (CSPs)
Constraint Satisfaction Problems
Constraint Satisfaction Problems. A Quick Overview
CS 8520: Artificial Intelligence
Constraint Satisfaction Problems
Constraint Satisfaction Problems (CSP)
Presentation transcript:

Distributed Scheduling

What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly to planning: the binding between the plan and the resources Distributed: –Each node has only partial information (non-global) –No centralized algorithm – processing is distributed to each node

Dynamic vs. Static Many agent systems include elements of uncertainty –lack of progress on tasks (also early completion) –resource failure –newly available resources or plans –incomplete information –quality of solution Proactive – robust schedules provide alternatives and redundancy for dynamism Reactive – schedules are repaired in response to changes

Approaches Guaranteed optimality –search –constraint propagation –dynamic programming Best effort –heuristic based search (often domain specific) –iterative improvement (local search/genetic algorithms)

Job Shop Scheduling Allocation of m tasks to n resources Each task has a release time, duration, resource requirements, and ordering constraints Each resource has a capacity constraint A solution to the problem is a feasible schedule that includes start times and resource assignments for each task

Job Shop Scheduling (cont’) An objective function can be used to evaluate the goodness of a schedule –May include weights for the completion of each task by a certain deadline and penalties for lateness. May also include rewards for early completion. Considered one of the hardest CSPs

Constraint Satisfaction Problems (CSP) Definition: –V = A set of variables –D i = A domain of values for V i –C = A set of boolean constraints on V Order of Constraints: –Unary: V 1 != red –Binary: V 1 !=V 2 –N-ary: max(V 1, V 2, V 3 ) > 5 NP-Complete! –Can represent 3-SAT as a CSP

Techniques for Solving CSPs Depth-first search Backtracking –Checks for constraint violations before generating successors for DFS Arc-consistency –When an assignment is made, all inconsistent values are removed from the possible assignments for other variables (often used in preprocessing) Heuristics –Value ordering Most Constrained Variable Least Constraining Value Assignment Iterative improvement –Hill climbing/annealing –Heuristic repair: min-conflicts

Map Coloring as CSP Constraint Graph D WA ={red, green, blue}

Map Coloring Example

Distributed CSP Variables and constraints distributed among agents No agent controls all variables or knows all constraints Naturally captures many problems in multiagent systems –Coordination tasks, conflicts between actions, etc DisCSP first formalized by Yokoo et al Why is distribution needed? –Privacy –No central control –Communication costs –Autonomy –Robustness

Meeting Scheduling Problem A set of agents want to schedule some meetings –M1: A1, A3 –M2: A1, A2 –M3: A2, A4, A5 Timeslots: [8-9am, 9-10am, 10-11am,...] Each agent can attend one meeting at a time

MSP (cont’) Variables represent what time slot an agent attends a meeting Equality constraints for variables of the same meeting Inequality constraints for variables of the same agent

Distributed CSP Algorithms (cont’) Asynchronous Weak Commitment –dynamic prioritization of variables –uses the min-conflict heuristic Distributed Breakout –mutual exclusion among neighbors

Distributed CSP Algorithms Synchronous Backtracking –essentially the original backtracking algorithm Asynchronous Backtracking –total order of nodes

Problems with CSP What if no solution exists? What if multiple solutions exist? In both cases we want to know which assignment is the “best” Generalizes into the Constraint Optimization Problem –Constraints are no longer boolean –The goal is now to obtain the highest global utility

Constraint Optimization Problem (COP) Definition: –V = A set of variables –D i = A domain of values for V i –U = A set of utility functions on V Goal is to optimize global utility –can also model minimal cost problems by using negative utilities

COP (cont’)