A Re-examination of Limited Discrepancy Search
|
|
- Valerie McLaughlin
- 5 years ago
- Views:
Transcription
1 A Re-examination of Limited Discrepancy Search W. Ken Jackson, Morten Irgens, and William S. Havens Intelligent Systems Lab, Centre for Systems Science Simon Fraser University Burnaby, B.C., CANADA V5A 1S6 Abstract Harvey and Ginsberg [IJCAI] have described a tree search algorithm, called limited discrepancy search (LDS), for solving constraint satisfaction problems. LDS tries to exploit the existence of good value-ordering heuristics during backtracking. This paper reformulates LDS as an iterative improvement algorithm. We compare our reformulated LDS algorithm with the original formulation and with a taboo search algorithm and find that it performs very poorly. These results apparently contradict the experimental results reported by Harvey and Ginsberg. The contradiction highlights the fact that the benefits of LDS are due not only to its exploitation of good value-ordering heuristics during backtracking but are also due to the use of LDS within a branch-and-bound loop that iteratively re-starts the search with a new cost bound. 1.0 Introduction There are often very good variable and value ordering heuristics that allow backtracking algorithms to quickly find good solutions to constraint satisfaction problems. For example, quite sophisticated heuristics have been developed for jobshop scheduling problems that alleviate the need for much backtracking. Harvey and Ginsberg [IJCAI] describe an interesting tree search algorithm called limited discrepancy search (LDS) that exploits the existence of such heuristics. The idea is that a solution constructed according to a good value-ordering heuristic will be unlikely to contain many mistakes. A discrepancy is a choice point for a variable where the chosen value differs from that specified by the heuristic. When LDS is forced to backtrack, it examines new paths in increasing order of the discrepancy count. Harvey and Ginsberg present theoretical and practical evidence that limited discrepancy search performs better than chronological backtracking. Iterative improvement algorithms (e.g. min-conflicts repair, taboo search, simulated annealing, GSAT, etc.) are an alternative to backtracking algorithms for solving CSPs. An iterative improvement algorithm starts with an initial complete solution, generates a neighbourhood of new solutions by applying some changes to the current solution, and finally picks one of the solutions from the neighbourhood as the basis for the next iteration. Iterative improvement algorithms excel at finding good (though not necessarily optimal) solutions fairly quickly. A Re-examination of Limited Discrepancy Search August 28,
2 This papers re-examines limited discrepancy search from an iterative improvement viewpoint. We use jobshop scheduling, described in section 2, as an example. Section 3 reviews the tree search formulation of LDS and makes the observation that the discrepancy count can be viewed as a measure of distance from the initial solution as used in an iterative improvement algorithm. We use this observation to formulate a new iterative improvement algorithm for LDS. Section 4 reports the results of some preliminary computational experiments that compare our reformulated LDS algorithm to a taboo search algorithm for jobshop scheduling. The performance of LDS is very poor. This is somewhat surprising given the promising results reported by Harvey and Ginsberg. In section 5, we examine the conflicting results and conclude that the original LDS algorithms works well because it is embedded in an outer loop that re-starts LDS on a newly constructed solution whenever a feasible solution is found. 2.0 The Jobshop Scheduling Problem The jobshop scheduling problem consists of a set of n jobs and m machines. Each job consists of a sequence of m activities. Each activity has a duration and requires a single machine for its entire duration. An activity must be scheduled before every activity following it in its job. Two activities cannot be scheduled a the same time if they both require the same machine. The objective is to find a schedule that minimizes the overall completion time of all the activities. The jobshop scheduling problem can be formulated as a CSP where the variables are the start times of the activities. Let S 1, S 2, S 3, be variables that denote the start times of the activities. There are two types of constraints: 1. Precedence constraints. If A 1 and A 2 are two consecutive activities within the same job then there is a precedence constraint on the start times of the activities: S 1 + duration( A 1 ) S 2 2. Disjunctive Constraints. If A 1 and A 2 are two activities that require the same resource then there is a disjunctive constraint between the start times of the activities: ( S 1 + duration( A 1 ) S 2 ) ( S 2 + duration( A 2 ) S 1 ) A solution can be constructed by choosing a start time for each activity. An alternative strategy is to choose an order (e.g. A 1 before A 2 or vice versa) for the activities in each disjunctive constraint. After choosing an order for each such pair of activities, a solution in terms of activity start times can be easily found using the critical path method. A Re-examination of Limited Discrepancy Search August 28,
3 For jobshop scheduling there are m 2 ( m 1) 2 binary ordering decisions and therefore a (complete) solution is described by a bit vector of this length. We use this ordering formulation in the rest of the paper. In particular, we view tree search algorithms as trying to choose the values for this vector one position at a time while iterative improvement algorithms make some change to this vector on each iteration. 3.0 Limited Discrepancy Search 3.1 The Tree Search Formulation of LDS In a tree search algorithm for solving the jobshop scheduling problem (using the ordering formulation), each node in the tree represents a choice about a particular ordering between two activities A 1 and A 2. Each node has two children that correspond to whether A 1 is scheduled before A 2 or vice versa. A tree search algorithm based on chronological backtracking makes a decision at each node based on some value ordering heuristic and backs up to the most recent decision when an inconsistency is detected. Constraint propagation methods can be used to help detect inconsistencies earlier in the search process. LDS tried to exploit the existence of a good value-ordering heuristic when backtracking. Consider the case when we want to choose a value of a boolean variable (e.g. an order between two activities) and the value-ordering heuristic indicates that the variable should be assigned to true. Let p be the probability that there is a feasible solution with the variable assigned to true and q be the probability that there is a feasible solution with the variable assigned to false. If the heuristic is good then we would expect that p would be greater than q. If we assume that p and q are that same for all variables regardless of their depth in the search tree then we can easily calculate the probability that a leaf node in the search tree is a feasible solution. Figure 1 on page 4 shows the search tree for a small example with three variables. Often the value ordering heuristic is less accurate at lower depths. In such cases it makes sense to change decision higher in the search tree before changing lower decisions. The order of leaf nodes examined by LDS shown in Figure 1 assumes this strategy. LDS performs a tree search with a discrepancy bound that increases on each iteration. That is, when the discrepancy bound is two then any node with discrepancy count three or greater is pruned from the tree. Hence, the algorithm is similar to iterative deepening [Korf] but uses a discrepancy bound rather than a depth bound. As with iterative deepening, the number of nodes examined in search iteration grows exponentially. Also, all nodes examined in one iteration will be examined again in the next iteration. Harvey and Ginsberg give some convincing theoretical and experimental evidence that shows that LDS out performs chronological backtracking. A Re-examination of Limited Discrepancy Search August 28,
4 probability: chronological backtracking: p 3 p 2 q p 2 q pq 2 p 2 q pq 2 pq 2 q LDS: FIGURE 1. Order for Searching Leaf Nodes with Chronological Backtracking and with Limited Discrepancy Search (LDS) 3.2 A Reformulation of LDS An alternative formulation of LDS measures the discrepancy count in terms of distance from the original solution rather than the number of nodes where the value ordering heuristic was not followed. If an initial solution is constructed by always following the valueordering heuristic then the initial solution corresponds to the left-most leaf in the search tree and it has a discrepancy count of zero. From this initial solution, we can define a neighbourhood of all the solutions that have at a discrepancy count of one. Recall that for our formulation of jobshop scheduling, a solution is a bit vector so the solutions at discrepancy one are the solutions generated by flipping one bit of the initial solution. More generally, for a discrepancy count of d, we define a neighbourhood consisting of all solutions that flip exactly d bits of the initial solution. Our reformulation of LDS iteratively searches neighbourhoods at increasing discrepancy counts. It is similar to iterative improvement algorithms in that it uses complete solutions and searches a neighbourhood at each iteration. However, unlike most iterative improvement algorithms, our LDS algorithm does not move to one of the neighbours after an iteration completes; it starts each iteration from the initial solution. Another difference it that our LDS algorithm is complete in that it will (in theory) find an optimal solution if one exists. The size of the neighbourhoods grows quickly: for a neighbourhood at discrepancy count d, there are n choose d ways of flipping d bits of the initial solution. Therefore the size of the neighbourhood grows exponentially until d reaches n 2. In practise, one may be able to reduce the size of the neighbourhoods. For jobshop scheduling, it is not worthwhile flipping a bit if that bit corresponds to an edge that is not on the critical path. Therefore, the neighbourhoods can be reduced by considering only bits that A Re-examination of Limited Discrepancy Search August 28,
5 correspond to edges on the critical path. Most of the successful iterative improvement algorithms for jobshop scheduling reduce the size of their neighbourhoods in similar ways [Vaessens]. Our reformulation of LDS also removes some redundancy from the tree search formulation. In particular, the neighbourhood at discrepancy count d does not include the solutions that were examined during the iteration at discrepancy count d 1. We do not feel that the reformulated LDS algorithm is a good iterative improvement algorithm. The best iterative improvement algorithms find a good balance between: Diversification: exploring many different solutions, and Intensification: focussing on promising parts of the search space. Our LDS algorithm does not follow up on promising parts of the search space. It will, however, eventually explore the entire search space. Therefore, we feel that our LDS algorithm will not be competitive with more balanced iterative improvement algorithms such as taboo search. Our reformulation of LDS makes it clear how to measure the discrepancy count for solutions examined by any iterative improvement algorithm. We simply count the number of bits where the current solution differs from the initial solution. We use this idea in our experiments to determine the discrepancy count for the best solution found by a taboo search algorithm. 4.0 Computational Experiments This section reports on some preliminary experiments with our reformulated LDS algorithm and a taboo search algorithm for jobshop scheduling. These results are very preliminary: we use just one instance (FT10) of the jobshop scheduling problem. The FT10 instance, first proposed by Fisher and Thompson, is a famous instance with 10 jobs and 10 machines. It was not solved optimally until The optimal solution has a cost of 930. We ran both our reformulated LDS algorithm and a taboo search algorithm on this instance starting with an initial solution with cost 1086 (17% above the optimal solution). This is a reasonable initial solution (BI-DIR, a state-of-the-art procedure by Dell Amico and Trubian [dell amico] produces an initial solution whose cost is The results are shown in Figure 2 on page 6. Both algorithms were cutoff after 10,000 iterations. It is obvious that the taboo search algorithm is performing much better. In contrast to Harvey and Ginsberg s results, our LDS algorithm does not find a solution that is within 5% of optimal: In fact, the best solution it finds has a cost of 1077 (15% above optimal). We discuss a possible reason for its poor performance in the next section. We also measured the discrepancy counts for all the nodes examined by both algorithms. The results are shown in Figure 2 on page 6 as histograms. There are only three points for A Re-examination of Limited Discrepancy Search August 28,
6 Schedule Cost LDS taboo No. Iterations FIGURE 2. Cost versus Iterations for LDS and Taboo Search o. Solutions Examined LDS taboo Discrepancy Count FIGURE 3. Discrepancy Count Histograms A Re-examination of Limited Discrepancy Search August 28,
7 LDS and they occur on the left side of the plot. The histogram illustrates that LDS is essentially spending all of its time near the initial solution. However, there are no very good solution in this area. In contrast, taboo search explores many solutions that are quite far from the initial solution. The best solution found by taboo search occurs at a discrepancy count of 88. This large discrepancy implies that an LDS algorithm is not likely to find this solution when starting from the initial solution. 5.0 Discussion and Conclusions The performance of our formulation of LDS is much worse than that reported by Harvey and Ginsberg for the original LDS algorithm. We believe that the difference in the two formulations is due to the fact that Harvey and Ginsberg use LDS within an outer branchand-bound loop: they initially solve, using LDS, a jobshop instance with a loose bound on the total schedule length. They then iteratively repeat the search but reduce the bound to the length of the last schedule found. We can view this as applying our LDS algorithm to an initial solution that is constructed in each iteration of the branch-and-bound loop. It is not clear if Harvey and Ginsberg s good results with LDS are due to LDS or are due to the re-starting of the constructive search with a new bound. We are planning more experiments to help to determine why Harvey and Ginsberg obtained good results with LDS. In conclusion, this paper has reformulated LDS in an iterative improvement framework. We used the reformulation to determine the discrepancy counts for solutions examined by a taboo search algorithm for jobshop scheduling. Some preliminary experiments have shown that our formulation of LDS performs very poorly in comparison to both taboo search and the original formulation. We attribute the poor performance to the fact that our formulation of LDS always starts from the same initial solution rather than moving to a new solution or constructing a new solution using a lower cost bound. A Re-examination of Limited Discrepancy Search August 28,
Constraint Programming
Depth-first search Let us go back to foundations: DFS = Depth First Search Constraint Programming Roman Barták Department of Theoretical Computer Science and Mathematical Logic 2 3 4 5 6 7 8 9 Observation:
More informationLecture: Iterative Search Methods
Lecture: Iterative Search Methods Overview Constructive Search is exponential. State-Space Search exhibits better performance on some problems. Research in understanding heuristic and iterative search
More informationConstraint Satisfaction Problems. Chapter 6
Constraint Satisfaction Problems Chapter 6 Constraint Satisfaction Problems A constraint satisfaction problem consists of three components, X, D, and C: X is a set of variables, {X 1,..., X n }. D is a
More informationInterleaved Depth-First Search *
Interleaved Depth-First Search * Pedro Meseguer Institut d'investigacio en Intel.ligencia Artificial Consejo Superior de Investigaciones Cientificas Campus UAB, 08193 Bellaterra, Spain Abstract In tree
More informationExample: Map coloring
Today s s lecture Local Search Lecture 7: Search - 6 Heuristic Repair CSP and 3-SAT Solving CSPs using Systematic Search. Victor Lesser CMPSCI 683 Fall 2004 The relationship between problem structure and
More information1 Tree Search (12 points)
1 Tree Search (12 points) Consider the tree shown below. The numbers on the arcs are the arc lengths. Assume that the nodes are expanded in alphabetical order when no other order is specified by the search,
More information6.034 Notes: Section 3.1
6.034 Notes: Section 3.1 Slide 3.1.1 In this presentation, we'll take a look at the class of problems called Constraint Satisfaction Problems (CSPs). CSPs arise in many application areas: they can be used
More information6.034 Quiz 1, Spring 2004 Solutions
6.034 Quiz 1, Spring 2004 Solutions Open Book, Open Notes 1 Tree Search (12 points) Consider the tree shown below. The numbers on the arcs are the arc lengths. Assume that the nodes are expanded in alphabetical
More informationInteger Programming ISE 418. Lecture 7. Dr. Ted Ralphs
Integer Programming ISE 418 Lecture 7 Dr. Ted Ralphs ISE 418 Lecture 7 1 Reading for This Lecture Nemhauser and Wolsey Sections II.3.1, II.3.6, II.4.1, II.4.2, II.5.4 Wolsey Chapter 7 CCZ Chapter 1 Constraint
More informationSome Applications of Graph Bandwidth to Constraint Satisfaction Problems
Some Applications of Graph Bandwidth to Constraint Satisfaction Problems Ramin Zabih Computer Science Department Stanford University Stanford, California 94305 Abstract Bandwidth is a fundamental concept
More informationSpeeding Up the ESG Algorithm
Speeding Up the ESG Algorithm Yousef Kilani 1 and Abdullah. Mohdzin 2 1 Prince Hussein bin Abdullah Information Technology College, Al Al-Bayt University, Jordan 2 Faculty of Information Science and Technology,
More informationModule 4. Constraint satisfaction problems. Version 2 CSE IIT, Kharagpur
Module 4 Constraint satisfaction problems Lesson 10 Constraint satisfaction problems - II 4.5 Variable and Value Ordering A search algorithm for constraint satisfaction requires the order in which variables
More informationUNIT 4 Branch and Bound
UNIT 4 Branch and Bound General method: Branch and Bound is another method to systematically search a solution space. Just like backtracking, we will use bounding functions to avoid generating subtrees
More informationThis is the search strategy that we are still using:
About Search This is the search strategy that we are still using: function : if a solution has been found: return true if the CSP is infeasible: return false for in : if : return true return false Let
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition,
More information3 No-Wait Job Shops with Variable Processing Times
3 No-Wait Job Shops with Variable Processing Times In this chapter we assume that, on top of the classical no-wait job shop setting, we are given a set of processing times for each operation. We may select
More informationA CSP Search Algorithm with Reduced Branching Factor
A CSP Search Algorithm with Reduced Branching Factor Igor Razgon and Amnon Meisels Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, 84-105, Israel {irazgon,am}@cs.bgu.ac.il
More informationCSPs: Search and Arc Consistency
CSPs: Search and Arc Consistency CPSC 322 CSPs 2 Textbook 4.3 4.5 CSPs: Search and Arc Consistency CPSC 322 CSPs 2, Slide 1 Lecture Overview 1 Recap 2 Search 3 Consistency 4 Arc Consistency CSPs: Search
More informationBranch & Bound (B&B) and Constraint Satisfaction Problems (CSPs)
Branch & Bound (B&B) and Constraint Satisfaction Problems (CSPs) Alan Mackworth UBC CS 322 CSP 1 January 25, 2013 P&M textbook 3.7.4 & 4.0-4.2 Lecture Overview Recap Branch & Bound Wrap up of search module
More informationKalev Kask and Rina Dechter. Department of Information and Computer Science. University of California, Irvine, CA
GSAT and Local Consistency 3 Kalev Kask and Rina Dechter Department of Information and Computer Science University of California, Irvine, CA 92717-3425 fkkask,dechterg@ics.uci.edu Abstract It has been
More information/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang
600.469 / 600.669 Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 9.1 Linear Programming Suppose we are trying to approximate a minimization
More informationHeuristic Backtracking Algorithms for SAT
Heuristic Backtracking Algorithms for SAT A. Bhalla, I. Lynce, J.T. de Sousa and J. Marques-Silva IST/INESC-ID, Technical University of Lisbon, Portugal fateet,ines,jts,jpmsg@sat.inesc.pt Abstract In recent
More informationA generic framework for solving CSPs integrating decomposition methods
A generic framework for solving CSPs integrating decomposition methods L. Blet 1,3, S. N. Ndiaye 1,2, and C. Solnon 1,3 1 Université de Lyon - LIRIS 2 Université Lyon 1, LIRIS, UMR5205, F-69622 France
More informationConstraint Satisfaction Problems. slides from: Padhraic Smyth, Bryan Low, S. Russell and P. Norvig, Jean-Claude Latombe
Constraint Satisfaction Problems slides from: Padhraic Smyth, Bryan Low, S. Russell and P. Norvig, Jean-Claude Latombe Standard search problems: State is a black box : arbitrary data structure Goal test
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Chapter 5 Section 1 3 Constraint Satisfaction 1 Outline Constraint Satisfaction Problems (CSP) Backtracking search for CSPs Local search for CSPs Constraint Satisfaction
More informationHeuristic (Informed) Search
Heuristic (Informed) Search (Where we try to choose smartly) R&N: Chap., Sect..1 3 1 Search Algorithm #2 SEARCH#2 1. INSERT(initial-node,Open-List) 2. Repeat: a. If empty(open-list) then return failure
More informationLecture 6: Constraint Satisfaction Problems (CSPs)
Lecture 6: Constraint Satisfaction Problems (CSPs) CS 580 (001) - Spring 2018 Amarda Shehu Department of Computer Science George Mason University, Fairfax, VA, USA February 28, 2018 Amarda Shehu (580)
More informationHybrid Constraint Solvers
Hybrid Constraint Solvers - An overview Why Hybrid Solvers CP and SAT: Lazy Clause Generation CP and LP: Reification of Linear Constraints Conclusions 9 November 2011 Pedro Barahona - EPCL - Hybrid Solvers
More informationBacktracking and Branch-and-Bound
Backtracking and Branch-and-Bound Usually for problems with high complexity Exhaustive Search is too time consuming Cut down on some search using special methods Idea: Construct partial solutions and extend
More information4 Search Problem formulation (23 points)
4 Search Problem formulation (23 points) Consider a Mars rover that has to drive around the surface, collect rock samples, and return to the lander. We want to construct a plan for its exploration. It
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Tuomas Sandholm Carnegie Mellon University Computer Science Department [Read Chapter 6 of Russell & Norvig] Constraint satisfaction problems (CSPs) Standard search problem:
More informationOptimization I : Brute force and Greedy strategy
Chapter 3 Optimization I : Brute force and Greedy strategy A generic definition of an optimization problem involves a set of constraints that defines a subset in some underlying space (like the Euclidean
More informationSearch and Optimization
Search and Optimization Search, Optimization and Game-Playing The goal is to find one or more optimal or sub-optimal solutions in a given search space. We can either be interested in finding any one solution
More informationHomework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon)
CS121 Introduction to Artificial Intelligence Winter 2011 Homework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon) How to complete
More informationUnrestricted Backtracking Algorithms for Satisfiability
From: AAAI Technical Report FS-01-04. Compilation copyright 2001, AAAI (www.aaai.org). All rights reserved. Unrestricted Backtracking Algorithms for Satisfiability I. Lynce, L. Baptista and J. Marques-Silva
More informationValidating Plans with Durative Actions via Integrating Boolean and Numerical Constraints
Validating Plans with Durative Actions via Integrating Boolean and Numerical Constraints Roman Barták Charles University in Prague, Faculty of Mathematics and Physics Institute for Theoretical Computer
More informationSearch. Krzysztof Kuchcinski. Department of Computer Science Lund Institute of Technology Sweden.
Search Krzysztof Kuchcinski Krzysztof.Kuchcinski@cs.lth.se Department of Computer Science Lund Institute of Technology Sweden January 12, 2015 Kris Kuchcinski (LTH) Search January 12, 2015 1 / 46 Search
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. S. Russell and P. Norvig. Artificial Intelligence:
More informationConstraint Satisfaction Problems
Last update: February 25, 2010 Constraint Satisfaction Problems CMSC 421, Chapter 5 CMSC 421, Chapter 5 1 Outline CSP examples Backtracking search for CSPs Problem structure and problem decomposition Local
More informationConflict-based Statistics
Conflict-based Statistics Tomáš Müller 1, Roman Barták 1 and Hana Rudová 2 1 Faculty of Mathematics and Physics, Charles University Malostranské nám. 2/25, Prague, Czech Republic {muller bartak}@ktiml.mff.cuni.cz
More informationConstraint Satisfaction Problems: A Deeper Look
Constraint Satisfaction Problems: A Deeper Look The last problem set covered the topic of constraint satisfaction problems. CSP search and solution algorithms are directly applicable to a number of AI
More informationUninformed Search Methods
Uninformed Search Methods Search Algorithms Uninformed Blind search Breadth-first uniform first depth-first Iterative deepening depth-first Bidirectional Branch and Bound Informed Heuristic search Greedy
More information7 Temporal Models (20 points)
7 Temporal Models (20 points) 1. For the Rain-Umbrella HMM model (from class and Figure 15.2 in AIMA) with 2 time periods, show how variable elimination operates to answer the following query P (R 1 U
More informationGeometric data structures:
Geometric data structures: Machine Learning for Big Data CSE547/STAT548, University of Washington Sham Kakade Sham Kakade 2017 1 Announcements: HW3 posted Today: Review: LSH for Euclidean distance Other
More informationConsistency and Set Intersection
Consistency and Set Intersection Yuanlin Zhang and Roland H.C. Yap National University of Singapore 3 Science Drive 2, Singapore {zhangyl,ryap}@comp.nus.edu.sg Abstract We propose a new framework to study
More informationSatisfiability-Based Algorithms for 0-1 Integer Programming
Satisfiability-Based Algorithms for 0-1 Integer Programming Vasco M. Manquinho, João P. Marques Silva, Arlindo L. Oliveira and Karem A. Sakallah Cadence European Laboratories / INESC Instituto Superior
More informationChronological Backtracking Conflict Directed Backjumping Dynamic Backtracking Branching Strategies Branching Heuristics Heavy Tail Behavior
PART III: Search Outline Depth-first Search Chronological Backtracking Conflict Directed Backjumping Dynamic Backtracking Branching Strategies Branching Heuristics Heavy Tail Behavior Best-First Search
More information: Principles of Automated Reasoning and Decision Making Midterm
16.410-13: Principles of Automated Reasoning and Decision Making Midterm October 20 th, 2003 Name E-mail Note: Budget your time wisely. Some parts of this quiz could take you much longer than others. Move
More informationStructures and Strategies For Space State Search
Structures and Strategies For Space State Search 3.0 Introduction 3.1 Graph Theory 3.2 Strategies for Space State Search 3.3 Using Space State to Represent Reasoning with the Predicate Calculus AI Classnotes
More informationSimple mechanisms for escaping from local optima:
The methods we have seen so far are iterative improvement methods, that is, they get stuck in local optima. Simple mechanisms for escaping from local optima: I Restart: re-initialise search whenever a
More informationReduced branching-factor algorithms for constraint satisfaction problems
Reduced branching-factor algorithms for constraint satisfaction problems Igor Razgon and Amnon Meisels Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, 84-105, Israel {irazgon,am}@cs.bgu.ac.il
More informationMathematical Programming Formulations, Constraint Programming
Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 Mathematical Programming Formulations, Constraint Programming 1. Special Purpose Algorithms 2. Constraint Programming Marco Chiarandini DM87 Scheduling,
More informationCombining constraint programming and local search to design new powerful heuristics
MIC2003: The Fifth Metaheuristics International Conference 028-1 Combining constraint programming and local search to design new powerful heuristics Narendra Jussien Olivier Lhomme École des Mines de Nantes
More informationConstraint Satisfaction
Constraint Satisfaction Philipp Koehn 1 October 2015 Outline 1 Constraint satisfaction problems (CSP) examples Backtracking search for CSPs Problem structure and problem decomposition Local search for
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Chapter 5 Chapter 5 1 Outline CSP examples Backtracking search for CSPs Problem structure and problem decomposition Local search for CSPs Chapter 5 2 Constraint satisfaction
More informationLecture 18. Questions? Monday, February 20 CS 430 Artificial Intelligence - Lecture 18 1
Lecture 18 Questions? Monday, February 20 CS 430 Artificial Intelligence - Lecture 18 1 Outline Chapter 6 - Constraint Satisfaction Problems Path Consistency & Global Constraints Sudoku Example Backtracking
More informationSpezielle Themen der Künstlichen Intelligenz
Spezielle Themen der Künstlichen Intelligenz 2. Termin: Constraint Satisfaction Dr. Stefan Kopp Center of Excellence Cognitive Interaction Technology AG A Recall: Best-first search Best-first search =
More information10/11/2017. Constraint Satisfaction Problems II. Review: CSP Representations. Heuristic 1: Most constrained variable
//7 Review: Constraint Satisfaction Problems Constraint Satisfaction Problems II AIMA: Chapter 6 A CSP consists of: Finite set of X, X,, X n Nonempty domain of possible values for each variable D, D, D
More informationCS-171, Intro to A.I. Mid-term Exam Winter Quarter, 2016
CS-171, Intro to A.I. Mid-term Exam Winter Quarter, 016 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT: The exam will begin on the next page. Please, do not turn the page until told. When you are told to begin
More informationChapter 6 Constraint Satisfaction Problems
Chapter 6 Constraint Satisfaction Problems CS5811 - Artificial Intelligence Nilufer Onder Department of Computer Science Michigan Technological University Outline CSP problem definition Backtracking search
More informationGSAT and Local Consistency
GSAT and Local Consistency Kalev Kask Computer Science Department University of California at Irvine Irvine, CA 92717 USA Rina Dechter Computer Science Department University of California at Irvine Irvine,
More informationWhat is Search For? CSE 473: Artificial Intelligence. Example: N-Queens. Example: N-Queens. Example: Map-Coloring 4/7/17
CSE 473: Artificial Intelligence Constraint Satisfaction Dieter Fox What is Search For? Models of the world: single agent, deterministic actions, fully observed state, discrete state space Planning: sequences
More informationMassively Parallel Seesaw Search for MAX-SAT
Massively Parallel Seesaw Search for MAX-SAT Harshad Paradkar Rochester Institute of Technology hp7212@rit.edu Prof. Alan Kaminsky (Advisor) Rochester Institute of Technology ark@cs.rit.edu Abstract The
More informationEfficient memory-bounded search methods
Efficient memory-bounded search methods Mikhail Simin Arjang Fahim CSCE 580: Artificial Intelligence Fall 2011 Dr. Marco Voltorta Outline of The Presentation Motivations and Objectives Background - BFS
More informationAnnouncements. Today s Menu
Announcements 1 Today s Menu Finish up (Chapter 9) IDA, IDA* & RBFS Search Efficiency 2 Related Algorithms Bi-Directional Search > Breadth-First may expand less nodes bidirectionally than unidirectionally
More informationData Structures (CS 1520) Lecture 28 Name:
Traeling Salesperson Problem (TSP) -- Find an optimal (ie, minimum length) when at least one exists A (or Hamiltonian circuit) is a path from a ertex back to itself that passes through each of the other
More informationExploiting the Power of Local Search in a Branch and Bound Algorithm for Job Shop Scheduling
Exploiting the Power of Local Search in a Branch and Bound Algorithm for Job Shop Scheduling Matthew J. Streeter and Stephen F. Smith Computer Science Department and Center for the Neural Basis of Cognition
More informationSatisfiability. Michail G. Lagoudakis. Department of Computer Science Duke University Durham, NC SATISFIABILITY
Satisfiability Michail G. Lagoudakis Department of Computer Science Duke University Durham, NC 27708 COMPSCI 271 - Spring 2001 DUKE UNIVERSITY Page 1 Why SAT? Historical Reasons The first NP-COMPLETE problem
More informationCSC384 Test 1 Sample Questions
CSC384 Test 1 Sample Questions October 27, 2015 1 Short Answer 1. Is A s search behavior necessarily exponentially explosive?. That is, does its search time always grow at least exponentially with the
More informationExample: Map-Coloring. Constraint Satisfaction Problems Western Australia. Example: Map-Coloring contd. Outline. Constraint graph
Example: Map-Coloring Constraint Satisfaction Problems Western Northern erritory ueensland Chapter 5 South New South Wales asmania Variables, N,,, V, SA, Domains D i = {red,green,blue} Constraints: adjacent
More informationConstraint (Logic) Programming
Constraint (Logic) Programming Roman Barták Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic bartak@ktiml.mff.cuni.cz Sudoku Combinatorial puzzle, whose goal is to enter
More informationCS 188: Artificial Intelligence Fall 2008
CS 188: Artificial Intelligence Fall 2008 Lecture 4: CSPs 9/9/2008 Dan Klein UC Berkeley Many slides over the course adapted from either Stuart Russell or Andrew Moore 1 1 Announcements Grading questions:
More informationAnnouncements. CS 188: Artificial Intelligence Fall Large Scale: Problems with A* What is Search For? Example: N-Queens
CS 188: Artificial Intelligence Fall 2008 Announcements Grading questions: don t panic, talk to us Newsgroup: check it out Lecture 4: CSPs 9/9/2008 Dan Klein UC Berkeley Many slides over the course adapted
More informationGeneral Methods and Search Algorithms
DM811 HEURISTICS AND LOCAL SEARCH ALGORITHMS FOR COMBINATORIAL OPTIMZATION Lecture 3 General Methods and Search Algorithms Marco Chiarandini 2 Methods and Algorithms A Method is a general framework for
More informationConstraint Satisfaction Problems (CSPs)
1 Hal Daumé III (me@hal3.name) Constraint Satisfaction Problems (CSPs) Hal Daumé III Computer Science University of Maryland me@hal3.name CS 421: Introduction to Artificial Intelligence 7 Feb 2012 Many
More informationOn Computing Minimum Size Prime Implicants
On Computing Minimum Size Prime Implicants João P. Marques Silva Cadence European Laboratories / IST-INESC Lisbon, Portugal jpms@inesc.pt Abstract In this paper we describe a new model and algorithm for
More information3 SOLVING PROBLEMS BY SEARCHING
48 3 SOLVING PROBLEMS BY SEARCHING A goal-based agent aims at solving problems by performing actions that lead to desirable states Let us first consider the uninformed situation in which the agent is not
More informationConstraint Satisfaction Problems
Revised by Hankui Zhuo, March 14, 2018 Constraint Satisfaction Problems Chapter 5 Chapter 5 1 Outline CSP examples Backtracking search for CSPs Problem structure and problem decomposition Local search
More informationHeuristic-Based Backtracking for Propositional Satisfiability
Heuristic-Based Backtracking for Propositional Satisfiability A. Bhalla, I. Lynce, J.T. de Sousa, and J. Marques-Silva Technical University of Lisbon, IST/INESC-ID, Lisbon, Portugal {ateet,ines,jts,jpms}@sat.inesc.pt
More informationCrossword Puzzles as a Constraint Problem
Crossword Puzzles as a Constraint Problem Anbulagan and Adi Botea NICTA and Australian National University, Canberra, Australia {anbulagan,adi.botea}@nicta.com.au Abstract. We present new results in crossword
More informationOutline. Best-first search
Outline Best-first search Greedy best-first search A* search Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing search Genetic algorithms Constraint Satisfaction Problems
More informationLimited Discrepancy Search. William D. Harvey and Matthew L. Ginsberg CIRL University of Oregon. Eugene, Oregon U.S.A.
Limited Discrepancy Search William D. Harvey and Matthew L. Ginsberg CIRL 1269 University of Oregon Eugene, Oregon 97403 U.S.. ginsberg@cs.uoregon.edu bstract Many problems of practical interest can be
More informationEECS 219C: Computer-Aided Verification Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley
EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving Sanjit A. Seshia EECS, UC Berkeley Project Proposals Due Friday, February 13 on bcourses Will discuss project topics on Monday Instructions
More informationOverview of Tabu Search
Overview of Tabu Search The word tabu (or taboo) comes from Tongan, a language of Polynesia, where it was used by the aborigines of Tonga island to indicate things that cannot be touched because they are
More informationGames and Adversarial Search II Alpha-Beta Pruning (AIMA 5.3)
Games and Adversarial Search II Alpha-Beta Pruning (AIMA 5.) Some slides adapted from Richard Lathrop, USC/ISI, CS 7 Review: The Minimax Rule Idea: Make the best move for MAX assuming that MIN always replies
More informationCSE 473: Artificial Intelligence
CSE 473: Artificial Intelligence Constraint Satisfaction Luke Zettlemoyer Multiple slides adapted from Dan Klein, Stuart Russell or Andrew Moore What is Search For? Models of the world: single agent, deterministic
More informationA Uniform View of Backtracking
A Uniform View of Backtracking Fahiem Bacchus 1 Department. of Computer Science, 6 Kings College Road, University Of Toronto, Toronto, Ontario, Canada, M5S 1A4, fbacchus@cs.toronto.edu? Abstract. Backtracking
More informationUnrestricted Nogood Recording in CSP search
Unrestricted Nogood Recording in CSP search George Katsirelos and Fahiem Bacchus Department of Computer Science, University Of Toronto, Toronto, Ontario, Canada [gkatsi,fbacchus]@cs.toronto.edu Abstract.
More informationCS W4701 Artificial Intelligence
CS W4701 Artificial Intelligence Fall 2013 Chapter 6: Constraint Satisfaction Problems Jonathan Voris (based on slides by Sal Stolfo) Assignment 3 Go Encircling Game Ancient Chinese game Dates back At
More informationBasic Search Algorithms
Basic Search Algorithms Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract The complexities of various search algorithms are considered in terms of time, space, and cost
More informationCONSTRAINT-BASED SCHEDULING: AN INTRODUCTION FOR NEWCOMERS. Roman Barták
In Proceedings of 7th IFAC Workshop on Intelligent Manufacturing Systems (IMS 2003), Elsevier Science, 2003 (to appear). CONSTRAINT-BASED SCHEDULING: AN INTRODUCTION FOR NEWCOMERS Roman Barták Charles
More informationNormal Forms for Boolean Expressions
Normal Forms for Boolean Expressions A NORMAL FORM defines a class expressions s.t. a. Satisfy certain structural properties b. Are usually universal: able to express every boolean function 1. Disjunctive
More informationImproving the Efficiency of Depth-First Search by Cycle Elimination
Improving the Efficiency of Depth-First Search by Cycle Elimination John F. Dillenburg and Peter C. Nelson * Department of Electrical Engineering and Computer Science (M/C 154) University of Illinois Chicago,
More informationConstraint Satisfaction Problems
Constraint Satisfaction Problems Look-Back Malte Helmert and Stefan Wölfl Albert-Ludwigs-Universität Freiburg June 5, 2007 S. Wölfl, M. Helmert (Universität Freiburg) Constraint Satisfaction Problems June
More informationParallel Computing in Combinatorial Optimization
Parallel Computing in Combinatorial Optimization Bernard Gendron Université de Montréal gendron@iro.umontreal.ca Course Outline Objective: provide an overview of the current research on the design of parallel
More informationAustralia Western Australia Western Territory Northern Territory Northern Australia South Australia South Tasmania Queensland Tasmania Victoria
Constraint Satisfaction Problems Chapter 5 Example: Map-Coloring Western Northern Territory South Queensland New South Wales Tasmania Variables WA, NT, Q, NSW, V, SA, T Domains D i = {red,green,blue} Constraints:
More informationLookahead Saturation with Restriction for SAT
Lookahead Saturation with Restriction for SAT Anbulagan 1 and John Slaney 1,2 1 Logic and Computation Program, National ICT Australia Ltd., Canberra, Australia 2 Computer Sciences Laboratory, Australian
More informationLaboratory Module X B TREES
Purpose: Purpose 1... Purpose 2 Purpose 3. Laboratory Module X B TREES 1. Preparation Before Lab When working with large sets of data, it is often not possible or desirable to maintain the entire structure
More informationHybrid Constraint Programming and Metaheuristic methods for Large Scale Optimization Problems
Hybrid Constraint Programming and Metaheuristic methods for Large Scale Optimization Problems Fabio Parisini Tutor: Paola Mello Co-tutor: Michela Milano Final seminars of the XXIII cycle of the doctorate
More informationThe log-support encoding of CSP into SAT
The log-support encoding of CSP into SAT Marco Gavanelli 1 Dept. of Engineering, Ferrara University, WWW home page: http://www.ing.unife.it/docenti/marcogavanelli/ Abstract. Various encodings have been
More information