SlideServe
Menu
Préférences
© SlideServe · v2026

Distributed Scheduling

dgallagher avatar
18 diapositives · 230 Views · Jan 02, 2020

Distributed scheduling involves allocating resources within complex constraints, tied to planning in systems where information is decentralized. Techniques like dynamic programming and heuristic search are utilized for job shop scheduling and constraint satisfaction problems.

Distributed Scheduling - slide 1
01 / 18Distributed Scheduling
1 / 17

Télécharger la présentation

Distributed Scheduling
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Distributed Scheduling

  2. 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

  3. 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

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

  5. 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

  6. 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

  7. Constraint Satisfaction Problems (CSP) • Definition: • V = A set of variables • Di = A domain of values for Vi • C = A set of boolean constraints on V • Order of Constraints: • Unary: V1 != red • Binary: V1!=V2 • N-ary: max(V1, V2, V3) > 5 • NP-Complete! • Can represent 3-SAT as a CSP

  8. 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

  9. Map Coloring as CSP • Constraint Graph • DWA={red, green, blue}

  10. Map Coloring Example

  11. 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 1998. • Why is distribution needed? • Privacy • No central control • Communication costs • Autonomy • Robustness

  12. 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

  13. 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

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

  15. SynchronousBacktracking essentially the original backtracking algorithm Asynchronous Backtracking total order of nodes Distributed CSP Algorithms

  16. 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

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

  18. COP (cont’)