Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi1 Foundations of Constraint Processing CSCE421/821, Spring 2008: www.cse.unl.edu/~choueiry/S08-421-821/

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems Russell and Norvig: Chapter
Advertisements

Foundations of Constraint Processing Lookahead Schemas 1 Foundations of Constraint Processing CSCE421/821, Spring
Foundations of Constraint Processing Temporal Constraints Networks 1Topic Foundations of Constraint Processing CSCE421/821, Spring
Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Constraint Consistency Chapter 3.
The Distributive Property  A way of simplifying expressions.  Distribute a number or variable across a grouping symbol.  Gives an equivalent expression.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Foundations of Constraint Processing CSP 101: continued1 Foundations of Constraint Processing CSCE421/821, Spring
Nov Properties of Tree Convex Constraints Authors: Yuanlin Zhang & Eugene C. Freuder Presentation by Robert J. Woodward CSCE990 ACP, Fall 2009.
Foundations of Constraint Processing, Spring 2008 April 16, 2008 Tree-Structured CSPs1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
A First Practical Algorithm for High Levels of Relational Consistency Shant Karakashian, Robert Woodward, Christopher Reeson, Berthe Y. Choueiry & Christian.
Problem Solving with Constraints, Fall 2011 Odds and Ends: Modeling Examples & Graphical Representations 1Odds & Ends Problem Solving with Constraints.
Foundations of Constraint Processing, Fall 2005 October 21, 2005CSPs and Relational DBs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
An Empirical Study of the Performance of Preprocessing and Look-ahead Techniques for Solving Finite Constraint Satisfaction Problems Zheying Jane Yang.
Foundations of Constraint Processing, Fall 2004 November 8, 2004Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
Foundations of Constraint Processing, Fall 2005 November 16, 2005nFCi1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Foundations of Constraint Processing, Fall 2005 November 16, 2005nFCi1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Foundations of Constraint Processing Evaluation to BT Search 1 Foundations of Constraint Processing CSCE421/821, Spring
Foundations of Constraint Processing, Fall 2005 October 20, 2005Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Foundations of Constraint Processing, Fall 2005 Sep 20, 2005BT: A Theoretical Evaluation1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Support: UCARE grant awarded to Chris Reeson & CAREER Award # from the National Science Foundation. To the public: –Illustrate the power of CP For.
Constraint Satisfaction Problem Solving Chapter 5.
Foundations of Constraint Processing, Fall 2005 November 2, 2005Weak Commitment1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
Advanced Constraint Processing, Fall 2009 An Efficient Consistency Algorithm for the Temporal Constraint Satisfaction Problem Berthe Y. Choueiry & Lin.
On Algorithms for Decomposable Constraints Kostas Stergiou Ian Gent, Patrick Prosser, Toby Walsh A.P.E.S. Research Group.
Problem Solving with Constraints Lookahead Schemas 1 Foundations of Constraint Processing CSCE496/896, Fall
Foundations of Constraint Processing, Spring 2008 Jan 14, 2008 Overview 11 Foundations of Constraint Processing CSCE421/821, Spring 2008:
Foundations of Constraint Processing, Fall 2004 October 3, 2004Interchangeability in CSPs1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
Foundations of Constraint Processing, Fall 2012 Odds and Ends: Modeling Examples & Graphical Representations 1Odds & Ends Foundations of Constraint Processing.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
Foundations of Constraint Processing, Spring 2008 Feb 11, 2008 Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
Foundations of Constraint Processing Constraint Graphical Models 1Odds & Ends Foundations of Constraint Processing CSCE421/821, Fall
Problem Solving with Constraints CSPs and Relational DBs1 Problem Solving with Constraints CSCE496/896, Fall
BUS 210 Foundations of Business Version 5 Check this A+ tutorial guideline at S-210/BUS-210-Complete-Class. For more.
A First Practical Algorithm for High Levels of Relational Consistency
Robert Glaubius and Berthe Y. Choueiry
Empirical Comparison of Preprocessing and Lookahead Techniques for Binary Constraint Satisfaction Problems Zheying Jane Yang & Berthe Y. Choueiry Constraint.
Rationale & Strategies Foundations of Constraint Processing
Constraints and Search
CSPs and Relational DBs
Path Consistency & Global Consistency Properties
Foundations of Constraint Processing
More on Constraint Consistency
Problem Solving with Constraints
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Running example The 4-houses puzzle:
Foundations of Constraint Processing All questions to Piazza
Rationale & Strategies Foundations of Constraint Processing
More on Constraint Consistency
Lookahead Schemas Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Problem Solving With Constraints
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Rationale & Strategies Foundations of Constraint Processing
Odds and Ends Modeling Examples & Graphical Representations
Foundations of Constraint Processing All questions to Piazza
Evaluation of (Deterministic) BT Search Algorithms
Problem Solving with Constraints
Problem Solving with Constraints
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Revisiting Neighborhood Inverse Consistency on Binary CSPs
Structure-Based Methods Foundations of Constraint Processing
Rationale & Strategies Foundations of Constraint Processing
Foundations of Constraint Processing CSCE421/821, Fall 2003
Presentation transcript:

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi1 Foundations of Constraint Processing CSCE421/821, Spring 2008: Berthe Y. Choueiry (Shu-we-ri) Avery Hall, Room 123B Tel: +1(402) FC for Non-Binary CSPs

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi2 Recommended reading (short, preliminary version) On forward checking for non-binary constraint satisfaction, by Christian Bessière, Pedro Meseguer, Eugene C Freuder, Javier Larrosa, CP 1999On forward checking for non-binary constraint satisfaction (longer, more complete version) On forward checking for non-binary constraint satisfaction, by Christian Bessière, Pedro Meseguer, Eugene C Freuder, Javier Larrosa, AIJ 2002On forward checking for non-binary constraint satisfaction

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi3 Non-binary FC Definitions Example Properties

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi4 nFC0 and nFC1 C c,1 : Constraints involving the current variable and exaclty one future variable  C c,1 : Set of constraint projections involving the current variable and exactly one future variable nFC0: Apply AC on each constraint in C c,1 (one pass) nFC1: Apply AC to each constraint in C c,1 and  C c,1 (one pass)

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi5 nFC2, nFC3, nFC4, nFC5 C c,f : set of constraints involving the current variable and at least one future variable C p,f : set of constraints involving at least one past variable and at least one future variable nFC2: Apply AC to each constraint in C c,f nFC3: Make C c,f arc-consistent nFC4: Apply AC to each constraint in C p,f nFC5: Make C p,f arc-consistent

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi6 Non-binary FC Definitions Example Properties

Foundations of Constraint Processing, Spring 2008 nFCi7 Filtering for x  a nFC0 does no filtering nFC1 applies AC on  c1 {x,y}, {x.z}, and and  c3 on {x,y} and {x,w}. It removes c from D(y), b from D(w) nFC2 applies AC on c1, then on c3. Same pruning as nFC1. A different ordering of constraints yields different filtering a, b, c x y z u v w c1 c2 c3 c1c2c3 xyzxyzxyz aaaaaaaaa abcabbabc acbccc X  a

Foundations of Constraint Processing, Spring 2008 nFCi8 Filtering for x  a nFC3 applies AC on {c1,c3}. Same filtering as nfC2, but also, removes b from D(z). nFC4 applied AC on c1 then c3 (like nFC2). Same filtering as nFC2 because x is the first variable. nfC5 yields the same filtering as nFC3 because x is the first variable. a, b, c x y z u v w c1 c2 c3 c1c2c3 xyzxyzxyz aaaaaaaaa abcabbabc acbccc X  a

Foundations of Constraint Processing, Spring 2008 nFCi9 Filtering for u  a nFC0 does no filtering nFC1 applies AC on  c1 on {u,v}, {u,w}. It removes c from D(v), c from D(w) nFC2 applies AC on c2. It removes b and c from D(v) and c from D(w) a, b, c x y z u v w c1 c2 c3 c1c2c3 xyzxyzxyz aaaaaaaaa abcabbabc acbccc X  a

Foundations of Constraint Processing, Spring 2008 nFCi10 Filtering for u  a nFC3 applies AC on {c2}. Same filtering as nFC2 nFC4 applies AC on c1, c2, then c3. It removes b from D(y) and D(z), b and c from D(v) and c from D(w). nfC5 does AC on {c1, c2, c3}. It removes b from D(y), c from D(z), b and c from D(v), and c from D(w) a, b, c x y z u v w c1 c2 c3 c1c2c3 xyzxyzxyz aaaaaaaaa abcabbabc acbccc u  a

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi11 Non-binary FC Definitions Example Properties

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi12 Filtering effectiveness  Let  (nFCi, k) be the set of (x,a) where a is removed from D(x)  (nFC0,k)   (nFC1,k)   (nFC2,k)  (nFC2,k)   (nFC3,k)   (nFC5,k)  (nFC2,k)   (nFC4,k)   (nFC5,k)

Foundations of Constraint Processing, Spring 2008 April 9, 2008 nFCi13 Nodes visited by nFCi nodes(nFC2,k)  nodes(nFC1,k)  nodes(nFC0,k) nodes(nFC5k)  nodes(nFC3,k)  nodes(nFC2,k) nodes(nFC5,k)  nodes(nFC4,k)  nodes(nFC2,k) nFC1 visits exactly the same nodes as FC+ on the hidden variable representation