 i may require adding new constraints, except for… o i =1  domain filtering o i =   constraint filtering Robert Woodward & Berthe Y. Choueiry Constraint.

Slides:



Advertisements
Similar presentations
Non-Binary Constraint Satisfaction Toby Walsh Cork Constraint Computation Center.
Advertisements

Constraint Satisfaction Patrick Prosser. An Example, Exam Timetabling Someone timetables the exams We have a number of courses to examine how many? Dept.
Constraint Systems Laboratory February 18, 2009 CSP Modeling Examples CSP: Examples Industrial applications: scheduling, resource allocation, product configuration,
Interactive Configuration
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
Constraint Processing and Programming Introductory Exemple Javier Larrosa.
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.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables {A,B,C,…}, a set of domain values for these variables,
Foundations of Constraint Processing, Fall 2005 October 21, 2005CSPs and Relational DBs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Constraint Processing Techniques for Improving Join Computation: A Proof of Concept Anagh Lal & Berthe Y. Choueiry Constraint Systems Laboratory Department.
1 Refining the Basic Constraint Propagation Algorithm Christian Bessière and Jean-Charles Régin Presented by Sricharan Modali.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
An Approximation of Generalized Arc-Consistency for Temporal CSPs Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Improving Backtrack Search For Solving the TCSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
CPSC 322, Lecture 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
CPSC 322, Lecture 13Slide 1 CSPs: Arc Consistency & Domain Splitting Computer Science cpsc322, Lecture 13 (Textbook Chpt 4.5,4.8) February, 02, 2009.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Minesweeper is a game of logic. It originated from “Relentless Logic,” which was written by Conway, Hong, and Smith around In Relentless Logic, the.
Efficient Techniques for Searching the Temporal CSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
A New Efficient Algorithm for Solving the Simple Temporal Problem Lin Xu & Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln.
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 Systems Laboratory March 26, 2007Reeson–Undergraduate Thesis1 Using Constraint Processing to Model, Solve, and Support Interactive Solving of.
A game of logic where the player must assign the numbers 1..9 to cells on a 9x9 grid. The placement of the numbers must be such that every number must.
Ken Bayer, Josh Snyder, and Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln A Constraint-Based Approach to Solving Minesweeper.
26 April 2013Lecture 5: Constraint Propagation and Consistency Enforcement1 Constraint Propagation and Consistency Enforcement Jorge Cruz DI/FCT/UNL April.
Foundations of Constraint Processing, Fall 2005 November 2, 2005Weak Commitment1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Slide 1 CSPs: Arc Consistency & Domain Splitting Jim Little UBC CS 322 – Search 7 October 1, 2014 Textbook §
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
Constraint Satisfaction Problem:  Used to model constrained combinatorial problems  Important real-world applications: hardware & software verification,
Slide 1 Constraint Satisfaction Problems (CSPs) Introduction Jim Little UBC CS 322 – CSP 1 September 27, 2014 Textbook §
Because the localized R(*,m)C does not consider combinations of relations across clusters, propagation between clusters is hindered. Synthesizing a global.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Constraint Systems Laboratory 10/24/2015Bayer–MS Thesis Defense1 Reformulating Constraint Satisfaction Problems with Application to Geospatial Reasoning.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
Solving Constraint Satisfaction Problems (CSPs) using Search CPSC 322 – CSP 2 Textbook § January 31, 2011.
Solving Constraint Satisfaction Problems (CSPs) using Search
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.
Constraint Systems Laboratory Presented by: Robert J. Woodward, Amanda Swearngin 1 Berthe Y. Choueiry 2 Eugene C. Freuder 3 1 ESQuaReD Laboratory, University.
Constraint Systems Laboratory R.J. Woodward 1, S. Karakashian 1, B.Y. Choueiry 1 & C. Bessiere 2 1 Constraint Systems Laboratory, University of Nebraska-Lincoln.
Chapter 2) CSP solving-An overview Overview of CSP solving techniques: problem reduction, search and solution synthesis Analyses of the characteristics.
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
853 instances from the 2008 CP Solver Competition. Real full lookahead cl+proj-wR(*,m)C, which enforces R(*, m)C on each cluster, adds projection of constraints.
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Roman Barták (Charles University in Prague, Czech Republic) ACAT 2010.
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Computer Science cpsc322, Lecture 13
Consistency Methods for Temporal Reasoning
A First Practical Algorithm for High Levels of Relational Consistency
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
An Empirical Study of the Performance
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
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Computer Science cpsc322, Lecture 13
More on Constraint Consistency
Rationale & Strategies Foundations of Constraint Processing
More on Constraint Consistency
Rationale & Strategies Foundations of Constraint Processing
Solving Sudoku with Consistency: A Visual and Interactive Approach
Revisiting Neighborhood Inverse Consistency on Binary CSPs
A Reactive Strategy for High-Level Consistency During Search
Revisiting Neighborhood Inverse Consistency on Binary CSPs
Reformulating the Dual Graphs of CSPs
Rationale & Strategies Foundations of Constraint Processing
Presentation transcript:

 i may require adding new constraints, except for… o i =1  domain filtering o i =   constraint filtering Robert Woodward & Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science & Engineering University of Nebraska-Lincoln When A Little Reasoning Saves A Lot of Hard Work  A Constraint Satisfaction Problem (CSP) is defined by  Applications include scheduling & resource allocation, design & product configuration, software & hardware verification, Puzzles, etc.  CSPs are solved using o Search: it laboriously enumerates combinations of assignments of values to variables. Search can be done in a ‘smart’ way, but is in general tedious (i.e., exponential cost). o Constraint Propagation o Constraint Propagation: it ‘thinks’ about the constraints to remove ‘values’ (from variables) & ‘tuples’ (from constraints) that cannot participate in any solution. AC RR RG GR GG 5, 6, 7, 8 7, 8, 9, 10, 11, 12 5, 6, 7, 8 A B C B<C A<B 2<C-A<5 Constraint Propagation by Domain Filtering ABCDEJI ………………… JIHGFED ………………… Exactly 2 mines Exactly 3 mines  Algorithms for Constraint Propagation enforce relational consistency properties R(i,m)C where o m is the number of constraints considered o i is the number of variables considered The task is find one solution (i.e., an assignment of values to variables satisfying all constraints) or all solutions o A set of decisions to make (variables) o A set of choices for each variable (values, domain) o A set of constraints restricting the allowable combinations of values (tuples) to variables Domain Filtering: R(1,m)C Polynomial space only for m=2 Otherwise, exponential space Two linear-space algorithms o VVP S EARCH : suitable for loose constraints o A LL S EARCH : suitable for tight constraints Constraint Filtering: R( ,m)C D UAL -AC3 only for m=2 Otherwise, none existed One exponential & three linear-space algorithms o J OIN -R(*, m)C: exponential space, conceptual o D UAL -AC2009 only for m=2 o S EARCH -R( ,m)C: suitable for loose constraints o A LL S EARCH -R( ,m)C: suitable for tight constraints R, G A B C   Constraint Propagation by Constraint Filtering Acknowledgments 1. Context & Focus 2. Techniques & Contributions 3. Illustration: Minesweeper as a CSP  Constraint propagation operates locally. It is ‘cheap’ (i.e., polynomial time) & can considerably reduce search effort. Thus, a little thinking can save a lot of hard work Search (ground truth) Constraint Filtering (+DF) Domain Filtering m=2m=1 Exponential Efficient, use for tight constraints loose constraints Setting m  Relevance o Motivates research o Facilitates teaching of complex concepts & mechanisms o Helps in outreach & recruiting o Demystifies human fascination with puzzles Modeling Minesweeper with Constraints  R( ,2)C vs. R(1,3)C o Both solve the puzzle o R( ,2)C cheaper R( ,m)C is Stronger Than R(1,m)C  The focus of our research is the development of new algorithms for constraint propagation m = The Larger m, the Stronger the Propagation  m is the number of constraints examined  The larger m o The more cells uncovered o … the larger the cost ABCD ,1 ABCDEFG BCEF ADEFG R(1,1)C R(1,3)C R( ,2)C R( ,3)C 0,1 G A E G ABCD BCEF ADEFG ABCD BCEF ADEFG   Robert Woodward o Was supported by UCARE during 2007—2008 & 2008—2009. Barry M. Goldwater Scholarship o Is the recipient of a Barry M. Goldwater Scholarship for 2008—  Work on Minesweeper as a CSP was started by Josh Snyder & continued by Ken Bayer under CAREER Award # from the National Science Foundation.  Ongoing evaluations are in collaboration with Shant Karakashian.