Extensions to BT Search Foundations of Constraint Processing

Slides:



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

Traveling Salesperson Problem
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Techniques for Dealing with Hard Problems Backtrack: –Systematically enumerates all potential solutions by continually trying to extend a partial solution.
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.
Slide 1 Search: Advanced Topics Jim Little UBC CS 322 – Search 5 September 22, 2014 Textbook § 3.6.
Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense1 An Improved Restart Strategy for Randomized Backtrack Search Venkata P. Guddeti Constraint.
Foundations of Constraint Processing, Fall 2004 November 8, 2004Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
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:
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:
MAE 552 – Heuristic Optimization Lecture 26 April 1, 2002 Topic:Branch and Bound.
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:
Hardness-Aware Restart Policies Yongshao Ruan, Eric Horvitz, & Henry Kautz IJCAI 2003 Workshop on Stochastic Search.
1 Adversary Search Ref: Chapter 5. 2 Games & A.I. Easy to measure success Easy to represent states Small number of operators Comparison against humans.
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
Exact methods for ALB ALB problem can be considered as a shortest path problem The complete graph need not be developed since one can stop as soon as in.
Searching by Constraint CMSC Artificial Intelligence January 24, 2008.
Problem Solving with Constraints Lookahead Schemas 1 Foundations of Constraint Processing CSCE496/896, Fall
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
Foundations of Constraint Processing, Spring 2008 Feb 11, 2008 Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
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.
Chapter 6 Optimization Models with Integer Variables.
CMPT 463. What will be covered A* search Local search Game tree Constraint satisfaction problems (CSP)
Search: Advanced Topics Computer Science cpsc322, Lecture 9
Backtracking And Branch And Bound
Foundations of Constraint Processing
Lecture 7 Constraint Satisfaction Problems
Rationale & Strategies Foundations of Constraint Processing
Search: Advanced Topics Computer Science cpsc322, Lecture 9
Watched Literals and Restarts in MiniSAT
Foundations of Constraint Processing
Chapter 6 : Game Search 게임 탐색 (Adversarial Search)
Extensions to BT Search Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Branch and Bound.
Foundations of Constraint Processing
Analysis & Design of Algorithms (CSCE 321)
Structure-Based Methods 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
Search: Advanced Topics Computer Science cpsc322, Lecture 9
Constraints and Search
Evaluation of (Deterministic) BT Search Algorithms
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Rationale & Strategies Foundations of Constraint Processing
Foundations of Constraint Processing
Watched Literals and Restarts in MiniSAT
Foundations of Constraint Processing All questions to Piazza
Evaluation of (Deterministic) BT Search Algorithms
Extensions to BT Search Foundations of Constraint Processing
Search.
Search.
Intelligent Backtracking Algorithms: A Theoretical Evaluation
We have the following incomplete B&B tree:
Rationale & Strategies Foundations of Constraint Processing
Basic Search Methods How to solve the control problem in production-rule systems? Basic techniques to find paths through state- nets. For the moment: -
Presentation transcript:

Extensions to BT Search Foundations of Constraint Processing CSCE 496/896, Fall2011 www.cse.unl.edu/~choueiry/F11-496-896 Berthe Y. Choueiry (Shu-we-ri) Avery Hall, Room 360 Tel: +1(402)472-5444 More on BT search

Outline Variations of backtrack search Backtrack search for optimization More on BT search

Variations on BT search Bounded number of backtracks search Bounded backtrack-depth search Limited discrepancy search (LDS) 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) More on BT search

Credit-Based Search Start with a given credit (usually n3) 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 ECLiPSe uses it in conjunction with backtrack-bounded search More on BT search

Randomized BT search In systematic backtrack 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 More on BT search

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] More on BT search

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 More on BT search

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 More on BT search

Outline Variations of backtrack search Backtrack search for optimization Courtesy of Markus Fromherz Branch and bound Binary search Iterative deepening More on BT search

Branch & Bound Find a first solution, compute its quality, call it the incumbent Systematically explore alternative solutions While building an alternative solution, ‘estimate’ its quality and compare the estimated quality with that of the incumbent If a partial solution has no chance of becoming better than the incumbent Then prune it Else, keep building it As soon as a better solution is found, make it the incumbent Continue until you run out of time, patience, or solutions More on BT search

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 More on BT search

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]=[l,u’] If there is, set the bounds [l,u’]= [l,u-l/2] and apply the mechanism again If there is not, set the bounds to [u’, u] and apply the mechanism again Restart search with progressively narrower lower and upper bounds on the solution More on BT search

Iterative deepening Restart search with an increasing lower limit on the solution quality until a solution of an acceptable quality is found More on BT search