Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’051 Applying Structural Decomposition Methods to Crossword Puzzle Problems Student:

Slides:



Advertisements
Similar presentations
Maximal Independent Sets of a Hypergraph IJCAI01.
Advertisements

Constraint Satisfaction Problems
Query Folding Xiaolei Qian Presented by Ram Kumar Vangala.
IJCAI Russian Doll Search with Tree Decomposition Martí Sànchez, David Allouche, Simon de Givry, and Thomas Schiex INRA Toulouse, FRANCE.
Anagh Lal Tuesday, April 08, Chapter 9 – Tree Decomposition Methods- Part II Anagh Lal CSCE Advanced Constraint Processing.
Recursive Conditioning Adnan Darwiche Computer Science Department UCLA.
Answering Queries and Hypertree Decompositions Conjunctive Queries The problem BCQ: Instance: Question:Has Q a nonempty result over DB? Combined Complexity.
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.
Distributed Message Passing for Large Scale Graphical Models Alexander Schwing Tamir Hazan Marc Pollefeys Raquel Urtasun CVPR2011.
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.
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
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.
Improving Backtrack Search For Solving the TCSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
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 Evaluation to BT Search 1 Foundations of Constraint Processing CSCE421/821, Spring
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
Efficient Techniques for Searching the Temporal CSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
Foundations of Constraint Processing, Fall 2005 October 20, 2005Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
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,
Reformulating Constraint Models Using Input Data Martin Michalowski 1, Craig A. Knoblock 1 and Berthe Y. Choueiry 1,2 1 Information Sciences Institute,
1.A finer version of PPC. 2.Cheaper than PPC and F-W. 3.Guarantees the minimal network. 4.Automatically decomposes the graph into its bi-connected components:
Cut-and-Traverse: A new Structural Decomposition Method for CSPs Yaling Zheng and Berthe Y. Choueiry Constraint Systems Laboratory Computer Science & Engineering.
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.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Ken Bayer, Josh Snyder, and Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln A Constraint-Based Approach to Solving Minesweeper.
7.1 SOLVING SYSTEMS BY GRAPHING The students will be able to: Identify solutions of linear equations in two variables. Solve systems of linear equations.
Because the localized R(*,m)C does not consider combinations of relations across clusters, propagation between clusters is hindered. Synthesizing a global.
Constraint Satisfaction Basics strongly influenced by Rina Dechter, “Constraint Processing”, 2003.
CSC 423 ARTIFICIAL INTELLIGENCE Constraint Satisfaction Problems.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
Soham Uday Mehta. Linear Programming in 3 variables.
1 Directional consistency Chapter 4 ICS-275 Spring 2009 ICS Constraint Networks.
Constraint Systems Laboratory Presented by: Robert J. Woodward, Amanda Swearngin 1 Berthe Y. Choueiry 2 Eugene C. Freuder 3 1 ESQuaReD Laboratory, University.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Constraint Satisfaction Basics strongly influenced by Dr. Rina Dechter: “Constraint Processing”
1 Constraint Symmetry and Solution Symmetry Presented by Beau M. Christ Symmetry in CSP’s Spring 2010 Presented by Beau M. Christ Symmetry in CSP’s Spring.
Network topology, cut-set and loop equation
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.
R-Trees: A Dynamic Index Structure For Spatial Searching Antonin Guttman.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
At the beginning of each semester, CSE hires a number of Graduate Teaching Assistants (GTAs) as graders, lab supervisors, and instructors. The department.
Hypergraph Partitioning With Fixed Vertices Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov UCLA Computer Science Department
ERA on an over-constrained problem A Constraint-Based System for Hiring & Managing Graduate Teaching Assistants Ryan Lim, Praveen Venkata Guddeti, and.
University of Calabria, Italy Gianluigi Greco and Francesco Scarcello 17th Int. Conf. on Principles and Practice of Constraint Programming Perugia, Italy,
Constraint Programming for the Diameter Constrained Minimum Spanning Tree Problem Thiago F. Noronha Celso C. Ribeiro Andréa C. Santos.
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Structure-Based Methods Foundations of Constraint Processing
Consistency Methods for Temporal Reasoning
Minimum-Segment Convex Drawings of 3-Connected Cubic Plane Graphs
Minimum Spanning Tree 8/7/2018 4:26 AM
Empirical Comparison of Preprocessing and Lookahead Techniques for Binary Constraint Satisfaction Problems Zheying Jane Yang & Berthe Y. Choueiry Constraint.
Exact Inference Continued
Spanning Trees Discrete Mathematics.
Structure-Based Methods Foundations of Constraint Processing
Structure-Based Methods Foundations of Constraint Processing
Structure-Based Methods Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
On the Geodesic Centers of Polygonal Domains
Exact Inference Continued
Complexity Theory in Practice
Revisiting Neighborhood Inverse Consistency on Binary CSPs
Improving the Performance of Consistency Algorithms by Localizing and Bolstering Propagation in a Tree Decomposition Shant Karakashian, Robert J. Woodward.
Structure-Based Methods Foundations of Constraint Processing
An Introduction Structure-Based Methods
Structure-Based Methods Foundations of Constraint Processing
Presentation transcript:

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’051 Applying Structural Decomposition Methods to Crossword Puzzle Problems Student: Yaling Zheng Advisor: Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science & Engineering University of Nebraska-Lincoln

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’052 HINGE TCLUSTER Gyssens et al., 1994 HYPERCUTSET Gottlob et al., 2000 TCLUSTER Dechter & Pearl, 1989 BICOMP Freuder, 1985 HYPERTREE Gottlob et al., 2002 HINGE Gyssens et al., 1994 CaT CUT HINGE + TRAVERSE CUTSET Dechter, 1987 Structural decomposition methods Criteria for comparing decomposition methods: 1.Width of an x-decomposition = largest number of hyperedges in a node of the tree generated by x-decomposition 2.CPU time for generating the tree

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’053 S1S1 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 15 S8S8 S 12 S 13 S 14 S 11 S 10 S9S9 S 16 S 17 Constraint hypergraph A vertex represents a variable A hyperedge represents a constraint (delimits its scope) Cut is a set of hyperedges whose removal disconnects the graph Cut size is the number of hyperedges in the cut

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’054 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S8S8 S 12 S 13 S 14 S 11 S9S9 width = 12 S1S1 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 15 S8S8 S 12 S 13 S 14 S 11 S 10 S9S9 S 16 S 17 S 10 S9S9 S 16 S9S9 S 15 S9S9 S 17 S 11 S1S1 S2S2 In HINGE, the cut size is limited to 1 HINGE [Gyssens et al., 94]

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’055 HINGE + : maximum cut size is a parameter S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 12 S 13 S 11 S9S9 S 16 S 17 S9S9 S 11 S5S5 S4S4 S6S6 S 12 S8S8 S 14 width = 5 S1S1 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 15 S8S8 S 12 S 13 S 14 S 11 S 10 S9S9 S 16 S 17 S8S8 S 14 S7S7 S 13 S 10 S9S9 S 15 S9S9 S1S1 S2S2 HINGE+ with maximum cut size of 2:

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’056 CUT S2S2 S4S4 S3S3 S7S7 S8S8 S 13 S 14 S 11 S9S9 S 17 S5S5 S6S6 S 12 S7S7 S 13 S8S8 S 14 S6S6 S 12 S4S4 S3S3 S 11 S5S5 S6S6 S 12 S1S1 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 15 S8S8 S 12 S 13 S 14 S 11 S 10 S9S9 S 16 S 17 width = 4 S 10 S9S9 S 16 S9S9 S 15 S9S9 S1S1 S2S2 A tree node contains at most 2 of the selected cuts

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’057 TRAVERSE-I S1S1 S2S2 S3S3 S4S4 S5S5 S 11 S6S6 S 12 S 17 S7S7 S 13 S8S8 S 14 S9S9 S 10 S 15 S 16 S1S1 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 15 S8S8 S 12 S 13 S 14 S 11 S 10 S9S9 S 16 S 17 width = 3 TRAVERSE-I starts from one set of hyperedges, and Sweeps through the network

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’058 TRAVERSE-II S2S2 S3S3 S4S4 S5S5 S 11 S6S6 S 12 S 17 S7S7 S 13 S8S8 S 14 S9S9 S 10 S 15 S 9 S 16 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 15 S8S8 S 12 S 13 S 14 S 11 S 10 S9S9 S 16 S 17 width = 3 TRAVERSE-II starts from one set of hyperedges {s 1 }, Sweeps the network, and Ends at another set of hyperedges {s 9, s 16 }. S1S1 S1S1

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’059 CaT: combines CUT and TRAVERSE S1S1 S2S3S4S2S3S4 S7S7 S8S8 S 13 S 14 S 11 S 10 S9S9 S 17 S2S2 S9S9 S5S5 S6S6 S 12 S7S7 S 13 S6S6 S 12 S 11 S5S5 CUT S1S1 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S 15 S8S8 S 12 S 13 S 14 S 11 S 10 S9S9 S 16 S 17 S4S4 S3S3 S6S6 S 12 S8S8 S 14 S 16 S9S9 S 15 S9S9 S1S1 S7S7 S8S8 S 13 S 14 S 11 S 10 S9S9 S 17 S5S5 S4S4 S3S3 S6S6 S 12 S 16 S 15 S2S2 width = 2 Original CaT width = 4

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0510 Experiments Test problems: –Random CSPs –51 instances of fully interlocked CPPs, from Crossword Puzzle Grid Library puzzles.about.com/library puzzles.about.com/library Compared: –HINGE, HINGE+, CUT, TRAVERSE, and CaT –(Hypertree was too expensive to run on CPPs) Criteria: width and CPU time

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0511 Results on random CSPs CPU time: Width: TRAVERSE CUT  CaT  HINGE + HYPERTREE  TRAVERSE HYPERTREE  CaTHINGE +  CUT  HINGE  HINGE  

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0512 CPPs: CPU time (ms) HINGE HINGE + CaT TRAVERSE Instance ID

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0513 CPPs: width HINGE HINGE + CaT TRAVERSE Instance ID

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0514 CPP: Notable exception On only 1 CPP, HINGE outperforms CaT HINGE CaT

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0515 Current investigations Test on special constraint hypergraphs Study the cost of solving the CSPs after decomposition [Jégou and Tierroux, 03] Preprocessing by ‘subproblem’ elimination –Recursively eliminate vertices that appear in one hyperedge –Solve and eliminate subproblems that have few solutions (tight constraints)

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0516 Thank you for your attention. Research supported by CAREER Award # from NSF. Experiments conducted on PrairieFire of the Research Computing Facilities (RCF) of CSE-UNL. Questions…

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0517 Additional Slides

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0518 How do we choose a cut? S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S8S8 S 12 S 13 S 14 S 11 S9S9 S 17 S2S2 S4S4 S3S3 S5S5 S7S7 S6S6 S8S8 S 12 S 13 S 14 S 11 S9S9 S 17 When there are multiple cuts to choose, we choose the cut whose removal makes the greatest number of hyperedges in a connected hypergraph the smallest. 8 7

Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’0519 TRAVERSE When applying TRAVERSE to these CPPs, we choose the decomposition whose width is the smallest among all the decompositions that starts from an arbitrary hyperedge.