Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search1 Foundations of Constraint Processing CSCE421/821, Fall 2004: www.cse.unl.edu/~choueiry/F04-421-821/

Slides:



Advertisements
Similar presentations
Foundations of Constraint Processing Lookahead Schemas 1 Foundations of Constraint Processing CSCE421/821, Spring
Advertisements

1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
MBD and CSP Meir Kalech Partially based on slides of Jia You and Brian Williams.
Dynamic Restarts Optimal Randomized Restart Policies with Observation Henry Kautz, Eric Horvitz, Yongshao Ruan, Carla Gomes and Bart Selman.
An Interactive System for Hiring & Managing Graduate Teaching Assistants Ryan Lim Venkata Praveen Guddeti Berthe Y. Choueiry Constraint Systems Laboratory.
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense1 An Improved Restart Strategy for Randomized Backtrack Search Venkata P. Guddeti Constraint.
Statistical Regimes Across Constrainedness Regions Carla P. Gomes, Cesar Fernandez Bart Selman, and Christian Bessiere Cornell University Universitat de.
Foundations of Constraint Processing, Fall 2004 November 8, 2004Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
An Approximation of Generalized Arc-Consistency for Temporal CSPs Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Foundations of Constraint Processing, Fall 2005 September 12, 2005CSP 101: continued1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Heavy-Tailed Behavior and Search Algorithms for SAT Tang Yi Based on [1][2][3]
Foundations of Constraint Processing, Fall 2005 November 16, 2005nFCi1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
CPSC 322, Lecture 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
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
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
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,
Foundations of Constraint Processing, Fall 2005 November 2, 2005Local Search for CSPs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
General search strategies: Look-ahead Chapter 5 Chapter 5.
Foundations of Constraint Processing, Fall 2005 November 2, 2005Weak Commitment1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Hardness-Aware Restart Policies Yongshao Ruan, Eric Horvitz, & Henry Kautz IJCAI 2003 Workshop on Stochastic Search.
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
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:
MDPs (cont) & Reinforcement Learning
Review Test1. Robotics & Future Technology Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
Foundations of Constraint Processing, Fall 2004 October 3, 2004Interchangeability in CSPs1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
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:
Lecture 5: Constraint Satisfaction Problems
Foundations of Constraint Processing Constraint Graphical Models 1Odds & Ends Foundations of Constraint Processing CSCE421/821, Fall
ERA on an over-constrained problem A Constraint-Based System for Hiring & Managing Graduate Teaching Assistants Ryan Lim, Praveen Venkata Guddeti, and.
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Foundations of Constraint Processing Local Search for CSPs1 Foundations of Constraint Processing CSCE421/821, Spring
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Problem Solving with Constraints Local Search for CSPs1 Foundations of Constraint Processing CSCE496/896, Fall2011
Consistency Methods for Temporal Reasoning
Lecture 7 Constraint Satisfaction Problems
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
Extensions to BT Search Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Branch and Bound.
Foundations of Constraint Processing
Constraint Programming and Backtracking Search Algorithms
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Foundations of Constraint Processing All questions to Piazza
Evaluation of (Deterministic) BT Search Algorithms
Rationale & Strategies Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Lookahead Schemas Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Constraints and Search
Chapter 5: General search strategies: Look-ahead
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Rationale & Strategies Foundations of Constraint Processing
Foundations of Constraint Processing All questions to Piazza
Extensions to BT Search Foundations of Constraint Processing
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Rationale & Strategies Foundations of Constraint Processing
Presentation transcript:

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search1 Foundations of Constraint Processing CSCE421/821, Fall 2004: Berthe Y. Choueiry (Shu-we-ri) Avery Hall, Room 123B Tel: +1(402) More on BT Search

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search2 Outline Lookahead Variations of backtrack search Backtrack search for optimization

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search3 Lookahead Rationale –As decisions are made (conditioning) eliminate inconsistent choices in future sub-problem –Domain annihilation of a future variable avoids expansion of useless portions of the tree Techniques –Partial: forward-checking (FC), directional arc-consistency (DAC) –Full: Maintaining arc-consistency (MAC) MAC: more pruning at the cost of more consistency checks Empirical results: LooseTight SparseFCMAC DenseFC

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search4 Outline Lookahead Variations of backtrack search Backtrack search for optimization

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search5 Variations on BT search Bounded number of backtracks search Bounded backtrack-depth search Limited discrepancy search –Heuristic may be blind at shallowest level of search-tree –Disobey heuristic a given number of times Credit-based backtrack search Randomized backtrack search (+ restart)

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search6 Credit-Based Search Start with a given credit (usually n 3 ) Assign ½ credit to current assignment, ½ to the remaining ones Keep going, in a depth-first manner until credit is used up, (chronoligically) backtrack from there ECL i PS e uses it in conjunction with backtrack-bounded search

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search7 Randomized BT search Ordering of variables/values determines which parts of the solution space are explored –Randomization allows us to explore wider portion of search tree Thrashing causes stagnation of BT search –Interrupt search, then restart In systematic backtrack search

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search8 Restart strategies Fixed-cutoff & universal strategy [Luby et al., 93] Randomization & Rapid restarts (RRR) [Gomes et al., 98] –Fixed optimal cutoff value –Priori knowledge of cost distribution required Randomization & geometric restarts (RGR) [Walsh 99] Randomization & dynamic geometric restarts (RDGR) [Guddeti 04] Bayesian approach [Kautz et al., 02]

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search9 RGR [Walsh 99] Static restart strategy As the cutoff value increases, RGR degenerates into randomized BT –Ensures completeness (utopian in our setting) –But… restart is obstructed –… and thrashing reappears  diminishing the probability of finding a solution

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search10 RDGR [Guddeti 04] Randomization & Dynamic Geometric Restarts Cutoff value –Depends on the progress of search –Never decreases, may stagnate –Increases at a much slower rate than RGR Feature: restart is ‘less’ obstructed

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search11 Outline Lookahead Variations of backtrack search Backtrack search for optimization

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search12 BT search for optimization Courtesy of Markus Fromherz Branch & bound –Application to over-constrained CSPs Binary search Iterative deepening Etc.

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search13 Branch & Bound Branch & bound –Find a first solution, compute its quality, call it the incumbent –Search for other solutions, comparing them with the incumbent –As soon a better solution is found, make it the incumbent –Continue until you run out of time, patience, or solutions

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search14 B&B: over-constrained-CSPs Max-CSP –Goal: minimize the number of broken constraints (while instantiating all variables) Maximize solution length –Goal: maximize number of variables instantiated (while satisfying all constraints) We compare the incumbent and the partial solution along current path according to –the number of broken constraints or –the number of instantiated variables

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search15 Binary search Given l, u lower and upper bounds of the quality of the solution Check whether there is a solution in [l, u+l/2]=[u,l’] –If there is, set the bounds [u, u+l’/2] and search for a solution –If there is not, set the bounds to [l’, l+l’/2] and search for a solution… Restart search with progressively narrower lower and upper bounds on the solution

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search16 Iterative deepening Restart search with an increasing upper limit on the solution quality until a solution is found

Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search17 Rest of the course? Local search Binary vs. non-binary Phase Transition All-diff constraint (Shasha?) Backtrack-free, backtrack-bounded search Temporal CSPs Interchangeability Dynamic CSPs