Alternative Search Formulations and Applications

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Informed search algorithms
Informed search algorithms
Informed search algorithms
Constraint Satisfaction Problems Russell and Norvig: Chapter
Constraint Satisfaction Problems
Local Search Algorithms Chapter 4. Outline Hill-climbing search Simulated annealing search Local beam search Genetic algorithms Ant Colony Optimization.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Search I: Chapter 3 Aim: achieving generality Q: how to formulate a problem as a search problem?
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Constraint Satisfaction problems (CSP)
Constraint Processing and Programming Introductory Exemple Javier Larrosa.
1 Tree Searching Strategies Updated: 2010/12/27. 2 The procedure of solving many problems may be represented by trees. Therefore the solving of these.
Constraint Satisfaction Problems. Constraint satisfaction problems (CSPs) Standard search problem: – State is a “black box” – any data structure that.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
CS121 Heuristic Search Planning CSPs Adversarial Search Probabilistic Reasoning Probabilistic Belief Learning.
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
Brute Force Search Depth-first or Breadth-first search
Constraint Satisfaction Problems
Constraint Satisfaction Problems
COSC 4426 Topics in Computer Science II Discrete Optimization Good results with problems that are too big for people or computers to solve completely
CPS 270: Artificial Intelligence More search: When the path to the solution doesn’t matter Instructor: Vincent.
CS 484 – Artificial Intelligence1 Announcements Homework 2 due today Lab 1 due Thursday, 9/20 Homework 3 has been posted Autumn – Current Event Tuesday.
Constraint Satisfaction Problems Chapter 6. Review Agent, Environment, State Agent as search problem Uninformed search strategies Informed (heuristic.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Searching by Constraint CMSC Artificial Intelligence January 24, 2008.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
Chapter 5 Constraint Satisfaction Problems
Artificial Intelligence Tutorials
Problem Reduction So far we have considered search strategies for OR graph. In OR graph, several arcs indicate a variety of ways in which the original.
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Computing & Information Sciences Kansas State University Friday, 08 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 7 of 42 Friday, 08 September.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
1 Constraint Satisfaction Problems (CSP). Announcements Second Test Wednesday, April 27.
CMPT 463. What will be covered A* search Local search Game tree Constraint satisfaction problems (CSP)
Artificial Intelligence Chapter 11 Alternative Search Formulations and Applications.
Cse 150, Fall 2012Gary Cottrell: Many slides borrowed from David Kriegman! Constraint Satisfaction Problems Introduction to Artificial Intelligence CSE.
CS 561, Session 8 1 This time: constraint satisfaction - Constraint Satisfaction Problems (CSP) - Backtracking search for CSPs - Local search for CSPs.
ECE 448, Lecture 7: Constraint Satisfaction Problems
Constraint Satisfaction Problems (CSPs)
Instructor: Vincent Conitzer
Computer Science cpsc322, Lecture 14
Constraint Propagation
Computer Science cpsc322, Lecture 14
Biointelligence Lab School of Computer Sci. & Eng.
Chapter 3: Finite Constraint Domains
Notes 6: Constraint Satisfaction Problems
Constraint Satisfaction Problems
Artificial Intelligence
Biointelligence Lab School of Computer Sci. & Eng.
Constraint satisfaction problems
Constraint Satisfaction Problems. A Quick Overview
Chapter 5. Advanced Search
Artificial Intelligence
Lecture 9 Administration Heuristic search, continued
Constraint Satisfaction
Constraint Satisfaction Problems
CS 8520: Artificial Intelligence
Tree Searching Strategies
CSC 380: Design and Analysis of Algorithms
Constraint Satisfaction Problems
Constraint satisfaction problems
Constraint Satisfaction Problems (CSP)
Presentation transcript:

Alternative Search Formulations and Applications Chapter 11.

Outline Assignment Problems Constraint Propagation Constructive Methods Heuristic Repair Function Optimization

Assignment Problems Assigning values to variables subject to constraints Examples Eight-Queens problem Crossword puzzles

Eight-Queens Problem No queen can be placed so that it can capture any of the others, according to the rules of chess X An obvious data structure is 8-by-8 array containing queen(1) or empty(0)

Eight-Queens Problem (cont’d) We can solve constraint-satisfaction problems by graph-search methods Constructive method Repair approach Function optimization

Constructive Method Begin with no assignments Each operator adds a queen to the array in such a way that the resulting array satisfies constraints among its queens Constraint propagation technique helps markedly in reducing the size of the search space

Constraint Propagation (four-queens problem) Each variable constrains all of the others, so all of the nodes have arcs to all other nodes A directed constraint arc(i,j), variable labeling i is constrained by the value of the variable labeling j

Constraint Propagation (cont’d) Circle: Values eliminated by first making arc(q2,q3) consistent Box: Values eliminated by next making arc(q3,q4) consistent

Heuristic Repair Starts with a proposed solution, which most probably does not satisfy the constraints The operators change a data structure so that it violates fewer constraints

Function Optimization Hill-climbing Traversing by moving from one point to that “adjacent” point having the highest elevation To solve local maxima problem Several separate hill-climbing, stating at different locations(choose the highest of these) Simulated annealing (choose by probability distribution)

Solving the Two-Color Problem (Hill Climbing) 1. Set the current node, n, to a randomly selected node, n0. 2. Generate the successors of n. 3. If Vb<V(n), exit with n as the best node found so far. 4. Otherwise,set n to nb, and go to step 2.