Roman Barták (Charles University in Prague, Czech Republic) ACAT 2010.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Vehicle Routing & Job Shop Scheduling: Whats the Difference? ICAPS03, June 13, 2003 J. Christopher Beck, Patrick Prosser, & Evgeny Selensky Dept. of Computing.
1-1 Constraint-based Scheduling Claude Le Pape. 1-2 Outline Introduction Scheduling constraints Non-preemptive scheduling –Temporal constraints –Resource.
Constraint Satisfaction Problems
Constraint Satisfaction Introduction to Artificial Intelligence COS302 Michael L. Littman Fall 2001.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
1 CMSC 471 Fall 2002 Class #6 – Wednesday, September 18.
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.
MBD and CSP Meir Kalech Partially based on slides of Jia You and Brian Williams.
On the Boundary of Planning and Scheduling: A Study Roman Barták Charles University, Prague
Constraint Optimization Presentation by Nathan Stender Chapter 13 of Constraint Processing by Rina Dechter 3/25/20131Constraint Optimization.
Optimal Rectangle Packing: A Meta-CSP Approach Chris Reeson Advanced Constraint Processing Fall 2009 By Michael D. Moffitt and Martha E. Pollack, AAAI.
Programming with Constraints Jia-Huai You. Subject of Study Constraint Programming (CP) studies the computational models, languages, and systems for solving.
Transforming and Refining Abstract Constraint Specifications Alan Frisch, Brahim Hnich*, Ian Miguel, Barbara Smith, and Toby Walsh *Cork Constraint Computation.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
CPSC 322, Lecture 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
Constraint Satisfaction Problems
1 A Cryptographic Approach to Safe Inter-domain Traffic Engineering Sridhar Machiraju SAHARA Retreat, Summer 2004.
Utrecht, february 22, 2002 Applications of Tree Decompositions Stan van Hoesel KE-FdEWB Universiteit Maastricht
© J. Christopher Beck Lecture 11: Constraint Programming 1.
26 April 2013Lecture 5: Constraint Propagation and Consistency Enforcement1 Constraint Propagation and Consistency Enforcement Jorge Cruz DI/FCT/UNL April.
1 Bandwidth Allocation Planning in Communication Networks Christian Frei & Boi Faltings Globecom 1999 Ashok Janardhanan.
Chapter 5 Outline Formal definition of CSP CSP Examples
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Knight’s Tour Distributed Problem Solving Knight’s Tour Yoav Kasorla Izhaq Shohat.
Constraint Satisfaction Problems
Planning and Scheduling Two Worlds in One System Roman Barták Charles University in Prague (Visopt B.V.)
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Modeling and Evaluation with Graph Mohammad Khalily Dermany Islamic Azad University, Khomein branch.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Embedding Constraint Satisfaction using Parallel Soft-Core Processors on FPGAs Prasad Subramanian, Brandon Eames, Department of Electrical Engineering,
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
Decision Diagrams for Sequencing and Scheduling Andre Augusto Cire Joint work with David Bergman, Willem-Jan van Hoeve, and John Hooker Tepper School of.
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,
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
Exact and heuristics algorithms
Solving Problems by searching Well defined problems A probem is well defined if it is easy to automatically asses the validity (utility) of any proposed.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 6 Binary CSP.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
I T & S A e r o s p a c eD e f e n c e Integration of a Multicriteria Decision Model in Constraint Programming F. Le Huédé M. Grabisch C. Labreuche P.
Roman Barták Visopt B.V. (NL) / Charles University (CZ) IP&S in complex and dynamic areas Visopt Experience.
Constraints and Search Toby Walsh Cork Constraint Computation Centre (4C) Logic & AR Summer School, 2002.
CONSTRAINT-BASED SCHEDULING AND PLANNING Speaker: Olufikayo Adetunji CSCE 921 4/08/2013Olufikayo Adetunji 1 Authors: Philippe Baptiste, Philippe Laborie,
Chapter 2) CSP solving-An overview Overview of CSP solving techniques: problem reduction, search and solution synthesis Analyses of the characteristics.
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Constraint Satisfaction Problems/Programming ZUI 2012/2013.
The integrated dial-a-ride problem with timetabled fixed route service Marcus Posada, Henrik Andersson and Carl Henrik Häll.
Tabu Search Applications Outlines: 1.Application of Tabu Search 2.Our Project with Tabu Search: EACIIT analytics.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Wolfgang Runte Slide University of Osnabrueck, Software Engineering Research Group Wolfgang Runte Software Engineering Research Group Institute.
Wolfgang Runte Slide Marwane El Kharbili Wolfgang Runte University of Osnabrueck Institute of Computer Science Software Engineering Research.
Scheduling with Constraint Programming
Constraint Programming
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Basic Project Scheduling
Basic Project Scheduling
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Incorporating Constraint Checking Costs in Constraint Satisfaction Problem Suryakant Sansare.
CS 8520: Artificial Intelligence
Constraint Satisfaction Problems
Constraint Satisfaction Problems (CSP)
Presentation transcript:

Roman Barták (Charles University in Prague, Czech Republic) ACAT 2010

What is the talk about?

Talk outline  Motivation  planning, scheduling, and constraint satisfaction  Technology overview  constraint programming  Optimization in Networking Problems  path placement problems  A More Complex View  optimizing scientific workflows

Motivation alternative resources are a special form of alternative routes

Motivation

Constraint satisfaction  Technology for solving combinatorial optimization problems.  Problem is modeled as a Constraint Satisfaction Problem (CSP)  a set of (decision) variables  each variable has a finite set of values (domain)  constraints restrict allowed combinations of values  Find instantiation of variables satisfying all the constraints.  Example: Sudoku

CP Technology  Combination of two approaches  search (exploring instantiations of variables)  incorporates heuristics guiding the solver  inference (removing values from domains violation any constraint)  propagates information through the constraints time used capacity resource capacity aggregated demand

CP Application Areas Planning  Autonomous planning of spacecraft operations (Deep Space 1) Production scheduling  Saving after applying CSP: US$ 0.2 to 1 million per day

CP in Networking  Constraint satisfaction can be applied to various networking problems  network design  how to build the network  path placement (data transfers)  finding a route for each demand satisfying bandwidth constraints)  application placement  workflow optimization Helmut Simonis: Constraint Application in Networks. Handbook of Constraint Programming, Elsevier, 2006

Path placement  Given a set of demands for data transfer, select the demands and decide a path for each demand under the capacity constraints of the network. demand d is using link e demand d is satisfied capacity of link e is not exceeded value of satisfied demands is maximized capacity preserving constraint (Kirchhoff‘s Law)

Bandwidth on Demand  Now assume that demands have fixed start and end times. Select demands and plan routes without exceeding capacity at any time. Almost identical model like before! the capacity is not exceeded at any time t  { start(d) | d  D }

Optimising Workflows  Transferring data is an interesting problem but why do we need to transfer data?  To do some computation with them.  Data transfer optimization is just the first step in a more complex process – optimizing scientific workflows.  where and when the data processing is done?  how the necessary data are moved to processing units?

Conceptual Model  We model the workflow as a directed acyclic graph called Temporal network with alternatives (TNA): nodes = operations, arcs = precedence (temporal) relations logical dependencies between nodes – branching relations.  The process can split into parallel branches, i.e., the nodes on parallel branches are processed in parallel (all must be included).  The process can select among alternative branches, i.e., nodes of exactly one branch are only processed (only one branch is included).  The problem is to select a sub-graph satisfying logical, temporal, and resource constraints. PAR ALT [FLAIRS 2007]

Logical constraints  The path selection problem can be modeled as a constraint satisfaction problem.  each node A is annotated by {0,1} variable V A  each arc (A,B) from a parallel branching defines the constraint V A = V B  let arc (A,B1),…, (A,Bk) be all arcs from some alternative branching, then V A =  i=1,…,k V Bi A B [FLAIRS 2007] A B1 B2 B3 C

Resource constraints  standard scheduling model  start time variable: T A  duration variable: Dur A  unary (disjunctive) resource constraints  two operations allocated to the same resource do not overlap in time V X * V Y * (T X + Dur X )  T Y  V X * V Y * (T Y + Dur Y )  T X  or, we can use existing global constraints modeling unary resource (edge-finding, not-first/not-last, etc. inference techniques) extended to optional operations  (in)valid operations: Val A = 1  Dur A > 0 A TATA Dur A

Summary  The heuristics and ad-hoc techniques may lost a global view of the problem (they are shifting the bottleneck).  Optimization techniques provide a global view and high customization to problem instance.  They do not provide a universally applicable solution!  provide a dedicated solution to a specified problem  possibly „discover“ a new type of solution  the solution can guide the reactive executor  The formal abstract model is the first step to real global optimization.  can be easily modified when the problem changes (new computers are bought, faster connection is established etc.) How to find the right abstraction level that is close to reality, and appropriate for optimization?

The Vision  User (scientist) specifies what should be done and with what data (the workflow)  The underlying optimizer recommends how to realize this demand efficiently taking in account other demands (fairness) and infrastructure constraints (speed, capacity).  The execution mechanism realizes the plan and resolves runtime deviations.

Roman Barták (Charles University in Prague, Czech Republic) ACAT 2010