Wednesday, January 29, 2003CSCE 990-06 Spring 2003 B.Y. Choueiry Constraint Consistency Chapter 3.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Global Constraints and Constraint Programming Michael Maher Loyola University Chicago.
1 Directional consistency Chapter 4 ICS-179 Spring 2010 ICS Graphical models.
Foundations of Constraint Processing, Fall 2005 October 21, 2005CSPs and Relational DBs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
1 Refining the Basic Constraint Propagation Algorithm Christian Bessière and Jean-Charles Régin Presented by Sricharan Modali.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Foundations of Constraint Processing, Fall 2005 Sep 22, 2005Consistency: Properties & Algorithms 1 Foundations of Constraint Processing CSCE421/821, Fall.
Anagh Lal Monday, April 14, Chapter 9 – Tree Decomposition Methods Anagh Lal CSCE Advanced Constraint Processing.
An Approximation of Generalized Arc-Consistency for Temporal CSPs Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
1 Advanced consistency methods Chapter 8 ICS-275 Spring 2007.
1 Directional consistency Chapter 4 ICS-275 Spring 2007.
©2007 Tarik Hadzic1 Lecture 11: Consistency Techniques 1. Arc Consistency 2. Directional Consistency 3. Generalized Arc Consistency Efficient AI Programming.
Foundations of Constraint Processing, Fall 2004 Oct 5, 2004Consistency: Properties & Algorithms 1 Foundations of Constraint Processing CSCE421/821, Fall.
Constraint Satisfaction Problems
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.
1 Consistency algorithms Chapter 3. Spring 2007 ICS 275A - Constraint Networks 2 Consistency methods Approximation of inference: Arc, path and i-consistecy.
M. HardojoFriday, February 14, 2003 Directional Consistency Dechter, Chapter 4 1.Section 4.4: Width vs. Local Consistency Width-1 problems: DAC Width-2.
Constraint Networks ( slides courtesy of Natalia Flerova, based on slides courtesy of Rina Dechter)
26 April 2013Lecture 5: Constraint Propagation and Consistency Enforcement1 Constraint Propagation and Consistency Enforcement Jorge Cruz DI/FCT/UNL April.
Chapter 5 Outline Formal definition of CSP CSP Examples
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 5: February 2, 2009 Architecture Synthesis (Provisioning, Allocation)
1 Chapter 8 Advanced Consistency Methods Yaling Zheng CSCE : Advanced Constraint Processing.
Constraint Satisfaction Problems
1 Constraint Programming: An Introduction Adapted by Cristian OLIVA from Peter Stuckey (1998) Ho Chi Minh City.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
On Algorithms for Decomposable Constraints Kostas Stergiou Ian Gent, Patrick Prosser, Toby Walsh A.P.E.S. Research Group.
Constraint Satisfaction Problems Chapter 6. Review Agent, Environment, State Agent as search problem Uninformed search strategies Informed (heuristic.
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.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
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.
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.
CSC 8520 Spring Paula Matuszek CS 8520: Artificial Intelligence Search 3: Constraint Satisfaction Problems Paula Matuszek Spring, 2013.
1 Directional consistency Chapter 4 ICS-275 Spring 2009 ICS Constraint Networks.
Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Directional Consistency Chapter 4.
Review Test1. Robotics & Future Technology Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer.
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 Propagation influenced by Dr. Rina Dechter, “Constraint Processing”
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
Eliminating non- binary constraints Toby Walsh Cork Constraint Computation Center.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
Lecture 5: Constraint Satisfaction Problems
Foundations of Constraint Processing, Spring 2009 February 20, 2009 Basic Consistency Methods 1 Foundations of Constraint Processing CSCE421/821, Spring.
Constraint Satisfaction Problems/Programming ZUI 2012/2013.
Problem Solving with Constraints CSPs and Relational DBs1 Problem Solving with Constraints CSCE496/896, Fall
CS 561, Session 8 1 This time: constraint satisfaction - Constraint Satisfaction Problems (CSP) - Backtracking search for CSPs - Local search for CSPs.
Consistency Methods for Temporal Reasoning
CSPs and Relational DBs
Path Consistency & Global Consistency Properties
More on Constraint Consistency
Problem Solving with Constraints
Running example The 4-houses puzzle:
More on Constraint Consistency
Advanced consistency methods Chapter 8
Problem Solving with Constraints
Problem Solving with Constraints
Directional consistency Chapter 4
Constraint Satisfaction Problems
Constraint Graph Binary CSPs
Constraint satisfaction problems
Consistency algorithms
Presentation transcript:

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Constraint Consistency Chapter 3

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section 3.3 Definition 3.3.2: Path Consistency, –Two variables relative to a third non-binary, binary –Three variables –A network (note: R ij i  j) Revise-3 updates binary constraints, not domains PC-1, PC-3 (like AC-1, AC-3) update binary constraints, not domains –This is not the PC-3 algorithm of Mackworth!!

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section 3.4 i-consistency –A relation is i-consistent (D y, y not specified in S!!) –A network is i-consistent (i not specified distinct  ) Algorithms: Revise-i, i-consistency-1 –Should variables be distinct? –Note: complexity

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section for binary CSPs, Path-consistency  3-consistency with ternary CSPs, ternary constraints are accounted for

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section Generalized arc-consistency –non-binary CSPs –checks value support in domain of variables –updates domains –complexity Relational arc-consistency –non-binary CSPs –updates relations R S-{x}

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section 3.5 No transition between 3.5 and 3.5.1, it would be good to have one

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section Global constraints: –non-binary constraints dictated by practical applications –scope is parametrized Relational description is unrealistic, defined intentionally (error: implicit) Specialized algorithms ensure generalized arc- consistency Examples: alldifferent, sum, global cardinality (generalization of alldifferent), cumulative, cycle

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section Bounds consistency, large ordered domains, not necessarily continuous Bind domains by intervals Ensure that interval endpoints are AC Weaker notion of consistency, cost effective Mechanism: tighten endpoints until AC. Example: alldifferent in O(nlogn)

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Historical note The concepts of global constraint and bound consistency were developed in the context of Constraint Programming.

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section 3.6 Constraints with specific semantics (non- random): e.g., numeric/algebraic, boolean Implications on –Arc-consistency –Path-consistency –Generalized arc-consistency –Relational arc-consistency

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry 3.6 Algebraic constraints Too general term, in fact linear inequalities Constraint composition is linear elimination Binary case: constraints of bounded difference –Arc-consistency filters domains –Path-consistency tightens/adds binary constraints Non-binary case (non-negative integer domains, why?) –Generalized arc-consistency filters domains –Relational arc-consistency tightnes/adds constraints

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry 3.6 Boolean Constraints Domain filtering: unit clause Binary clauses –Constraint composition is the resolution rule –Arc-consistency achieved adding unit clause (unary constraint) –Path consistency achieved adding a binary clause Non-binary clauses –Generalized arc-consistency won’t yield new unit clauses –Relational arc-consistency adds new clauses by unit resolution tractability of unit propagation algorithm

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section 3.7 Arc-consistency, path-consistency are sometimes guaranteed to solve the CSP Restricted classes –Topologic restrictions: tree-structured Arc-consistency guarantees solvability –Domains restrictions: bi-values domains, CNF theories with clause length 1 or 2 Path-consistency guarantees solvability –Constraint semantic: Horn Clauses Unit propagation/resolution (relational-arc consistency) guarantees solvability (see tractability of Horn Theories in CSE 876)

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Section 3.8 Notice how non-binary constraints are depicted in Figures 3.17, 3.18: contours instead of box nodes. This is inherited from DB literature.