 Temporal Constraint Propagation (Non-Preemptive Case)

Slides:



Advertisements
Similar presentations
CICLOPS 2001 Finite Domain Constraints in SICStus Prolog Mats Carlsson Swedish Institute of Computer Science
Advertisements

1-1 Constraint-based Scheduling Claude Le Pape. 1-2 Outline Introduction Scheduling constraints Non-preemptive scheduling –Temporal constraints –Resource.
Bi-intervals for backtracking on temporal constraint networks Jean-François Baget and Sébastien Laborie.
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Undirected: Optic Fiber.
Foundations of Constraint Processing Temporal Constraints Networks 1Topic Foundations of Constraint Processing CSCE421/821, Spring
Constraint Satisfaction Problems Russell and Norvig: Parts of Chapter 5 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2004/home.htm Prof: Dekang.
Global Constraints Toby Walsh National ICT Australia and University of New South Wales
Global Constraints Toby Walsh National ICT Australia and University of New South Wales
School on Optimization, Le Croisic, 23-24, March, Hybrid Constraint Solving in ECLiPSe: Framework and Applications Farid AJILI, IC-Parc, Imperial.
Temporal Constraints Time and Time Again: The Many Ways to Represent Time James F Allen.
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
Lecture 6: Job Shop Scheduling Introduction
Hybridisation Solver Cooperation in ECLiPSe. 2 Introduction  Motivation  Sending Constraints to Different Solvers  Probing  Column Generation  Motivation.
Timed Automata.
Constraint Programming for Compiler Optimization March 2006.
Properties of SLUR Formulae Ondřej Čepek, Petr Kučera, Václav Vlček Charles University in Prague SOFSEM 2012 January 23, 2012.
Chapter 6 FUZZY FUNCTION Chi-Yuan Yeh. Kinds of fuzzy function Crisp function with fuzzy constraint Fuzzy extension function which propagates the fuzziness.
1 Simulator-Model Checker for Reactive Real-Time Abstract State Machines Anatol Slissenko University Paris 12 Pavel Vasilyev University Paris 12 University.
PlanSIG, Dec, Temporal Plans and Resource Management Pieter Buzing & Cees Witteveen Delft University of Technology.
6-1 Temporal Constraint Propagation (Preemptive Case)
2-1 Scheduling Constraints. 2-2 Outline Activities Temporal constraints Resources Resource constraints (mono-activity) Resource constraints (two activities)
An Approximation of Generalized Arc-Consistency for Temporal CSPs Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Chapter 9: Graphs Summary Mark Allen Weiss: Data Structures and Algorithm Analysis in Java Lydia Sinapova, Simpson College.
9-1 Applications. 9-2 Outline Moulding shop scheduling (MSS) Construction site scheduling (CSS)
CPSC 322, Lecture 14Slide 1 Local Search Computer Science cpsc322, Lecture 14 (Textbook Chpt 4.8) February, 4, 2009.
 Resource Constraint Propagation (Preemptive Case)
 Resource Constraint Propagation (Non-Preemptive Case)
A New Efficient Algorithm for Solving the Simple Temporal Problem Lin Xu & Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln.
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
Michael Heusch - IntCP 2006 Modeling and solving of a radio antennas deployment support application with discrete and interval constraints.
8-1 Problem-Solving Examples (Preemptive Case). 8-2 Outline Preemptive job-shop scheduling problem (P-JSSP) –Problem definition –Basic search procedure.
Quine-McClusky Minimization Method Discussion D3.2.
BNAIC, Oct, Temporal Plans and Resource Management Pieter Buzing & Cees Witteveen TU Delft.
Constraint Programming An Appetizer Christian Schulte Laboratory of Electronics and Computer Systems Institute of Microelectronics.
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Chapter 5 Objectives 1. Find ordered pairs associated with two equations 2. Solve a system by graphing 3. Solve a system by the addition method 4. Solve.
From Constraints to Finite Automata to Filtering Algorithms Mats Carlsson, SICS Nicolas Beldiceanu, EMN
Why do we need models? There are many dimensions of variability in distributed systems. Examples: interprocess communication mechanisms, failure classes,
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Discrete Mathematics Math Review. Math Review: Exponents, logarithms, polynomials, limits, floors and ceilings* * This background review is useful for.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
Advanced Models for Project Management L. Valadares Tavares J. Silva Coelho IST, Lisbon, 2002.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 The LPSAT Engine and its Application to Metric Planning Steve Wolfman University of Washington CS&E Advisor: Dan Weld.
Constraint Satisfaction Read Chapter 5. Model Finite set of variables: X1,…Xn Variable Xi has values in domain Di. Constraints C1…Cm. A constraint specifies.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
C. Le Pape1 Constraint Programming, Planning and Scheduling with Time and Resource Constraints Claude Le Pape - ILOG S.A. Disclaimer: not (at all) a complete.
Chapter 5 Constraint Satisfaction Problems
CONSTRAINT-BASED SCHEDULING AND PLANNING Speaker: Olufikayo Adetunji CSCE 921 4/08/2013Olufikayo Adetunji 1 Authors: Philippe Baptiste, Philippe Laborie,
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
A local search algorithm with repair procedure for the Roadef 2010 challenge Lauri Ahlroth, André Schumacher, Henri Tokola
Constraint Programming in Operations Management
Warm Up Solve each equation for y. 1.x = -4y 2.x = 2y x = (y + 3)/3 4.x = -1/3 (y + 1)
IBM Labs in Haifa © 2005 IBM Corporation Assumption-based Pruning in Conditional CSP Felix Geller and Michael Veksler.
SYSTEMS OF LINEAR EQUATIONS College Algebra. Graphing and Substitution Solving a system by graphing Types of systems Solving by substitution Applications.
Roman Barták (Charles University in Prague, Czech Republic) ACAT 2010.
Constraint Propagation CS121 – Winter Constraint Propagation2 Constraint Propagation … … is the process of determining how the possible values of.
Scheduling with Constraint Programming
EQUATION IN TWO VARIABLES:
Systems of Equations/Inequalities
Constraint Propagation
Linear Programming.
Planning for Human-Robot Collaboration
9.6 Solving Systems of Equations by Graphing
Dr. Arslan Ornek DETERMINISTIC OPTIMIZATION MODELS
1.6 Linear Programming Pg. 30.
Directional consistency Chapter 4
Constraint based scheduling
Presentation transcript:

 Temporal Constraint Propagation (Non-Preemptive Case)

 Outline Variables Relations between the variables Temporal constraints –Time bounds –Minimal and maximal distances between time points

 Variables (definition) Three variables start(A) end(A) duration(A) for each activity A

 Variables (implementation) Finite domain (bitvector) –The domain of each variable is a finite set Interval domain (pair of numbers) –The domain of each variable is an interval start min (A), start max (A), end min (A), end max (A) duration min (A), duration max (A)

 Relation between the variables end(A)  start(A)  duration(A) end min (A)  max(end min (A), start min (A)  duration min (A)) end max (A)  min(end max (A), start max (A)  duration max (A)) start min (A)  max(start min (A), end min (A)  duration max (A)) start max (A)  min(start max (A), end max (A)  duration min (A)) duration min (A)  max(duration min (A), end min (A)  start max (A)) duration max (A)  min(duration max (A), end max (A)  start min (A))

 Temporal constraints Simple precedences start(A)  start(B) start(A)  end(B) end(A)  start(B) end(A)  end(B)

 Temporal constraints Precedences with minimal delays start(A)  delay  start(B) start(A)  delay  end(B) end(A)  delay  start(B) end(A)  delay  end(B)

 Temporal constraints Precedences with fixed delays start(A)  delay  start(B) start(A)  delay  end(B) end(A)  delay  start(B) end(A)  delay  end(B)

 Temporal constraints Maximal delays start(A)  start(B)  delay start(A)  end(B)  delay end(A)  start(B)  delay end(A)  end(B)  delay

 Propagation of time bounds var(A)  delay  var(B) var min (B)  max(var min (B), var min (A)  delay) var max (A)  min(var max (A), var max (B)  delay) Complete propagation for bounded domains –Contradiction found when the constraints conflict –Best possible var min (A) and var max (A) found otherwise –Incremental variant of an operations research algorithm for project scheduling (PERT networks)

 Propagation of time bounds Complexity –For a consistent network: O(n  m) where n is the number of activities and m the number of constraints if constraints are propagated in the first-in first-out order –For an inconsistent network: O(h  n  ) where h is the time horizon (can be reduced to O(n 3 ) but not worth it in practice)

 Minimal and maximal distances [x  d xy  y] and [y  d yz  z] implies [x  (d xy  d yz )  z] Useful to solve disjunctions of temporal constraints [x  5  y] [y  2  z] [z  4  x] OR [v  3  w]

 Minimal and maximal distances Matrix-based method Whenever d xy is modified, update d wz to max(d wz, d wx  d xy  d yz )

 Minimal and maximal distances Complexity –O(n  ) after each modification of the constraint network –O(n 3 ) to initialize the matrix