Artificial Intelligence Chapter 11 Alternative Search Formulations and Applications.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Informed search algorithms
Constraint Satisfaction Problems Russell and Norvig: Chapter
Local Search Jim Little UBC CS 322 – CSP October 3, 2014 Textbook §4.8
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?
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Artificial Intelligence Chapter 9 Heuristic Search Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Problem Solving by Searching
CPSC 322, Lecture 14Slide 1 Local Search Computer Science cpsc322, Lecture 14 (Textbook Chpt 4.8) February, 3, 2010.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
1 Chapter 5 Advanced Search. 2 Chapter 5 Contents l Constraint satisfaction problems l Heuristic repair l The eight queens problem l Combinatorial optimization.
Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002.
Artificial Intelligence
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
Brute Force Search Depth-first or Breadth-first search
Constraint Satisfaction Problems
Constraint Satisfaction Problems
Search CSE When you can’t use A* Hill-climbing Simulated Annealing Other strategies 2 person- games.
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.
Informed search algorithms
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.
1 Shanghai Jiao Tong University Informed Search and Exploration.
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.
Informed search algorithms Chapter 4. Best-first search Idea: use an evaluation function f(n) for each node –estimate of "desirability"  Expand most.
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
Local Search Algorithms
For Wednesday Read chapter 6, sections 1-3 Homework: –Chapter 4, exercise 1.
For Wednesday Read chapter 5, sections 1-4 Homework: –Chapter 3, exercise 23. Then do the exercise again, but use greedy heuristic search instead of A*
Chapter 5 Constraint Satisfaction Problems
Local Search and Optimization Presented by Collin Kanaley.
Artificial Intelligence Tutorials
1 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering
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.
4/11/2005EE562 EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 4, 4/11/2005 University of Washington, Department of Electrical Engineering Spring 2005.
A General Introduction to Artificial Intelligence.
Feng Zhiyong Tianjin University Fall  Best-first search  Greedy best-first search  A * search  Heuristics  Local search algorithms  Hill-climbing.
Best-first search Idea: use an evaluation function f(n) for each node –estimate of "desirability"  Expand most desirable unexpanded node Implementation:
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.
Lecture 6 – Local Search Dr. Muhammad Adnan Hashmi 1 24 February 2016.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 5 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Artificial Intelligence Chapter 7 Agents That Plan Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
CMPT 463. What will be covered A* search Local search Game tree Constraint satisfaction problems (CSP)
Alternative Search Formulations and Applications
Cse 150, Fall 2012Gary Cottrell: Many slides borrowed from David Kriegman! Constraint Satisfaction Problems Introduction to Artificial Intelligence CSE.
Instructor: Vincent Conitzer
Computer Science cpsc322, Lecture 14
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence Chapter 9 Heuristic Search
Artificial Intelligence Chapter 8 Uninformed Search
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence
Artificial Intelligence Chapter 7 Agents That Plan
Constraint Satisfaction
CS 8520: Artificial Intelligence
Constraint Satisfaction Problems
Presentation transcript:

Artificial Intelligence Chapter 11 Alternative Search Formulations and Applications

(c) 2000, 2001 SNU CSE Biointelligence Lab2 Outline Assignment Problems Constraint Propagation Constructive Methods Heuristic Repair Function Optimization

(c) 2000, 2001 SNU CSE Biointelligence Lab3 Assignment Problems Assigning values to variables subject to constraints Examples  Eight-Queens problem  Crossword puzzles

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

(c) 2000, 2001 SNU CSE Biointelligence Lab5 Eight-Queens Problem (cont’d) We can solve constraint-satisfaction problems by graph-search methods  Constructive method  Repair approach  Function optimization

(c) 2000, 2001 SNU CSE Biointelligence Lab6 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

(c) 2000, 2001 SNU CSE Biointelligence Lab7 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

(c) 2000, 2001 SNU CSE Biointelligence Lab8 Constraint Propagation (cont’d)  Circle: Values eliminated by first making arc(q 2,q 3 ) consistent  Box: Values eliminated by next making arc(q 3,q 4 ) consistent

(c) 2000, 2001 SNU CSE Biointelligence Lab9 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

(c) 2000, 2001 SNU CSE Biointelligence Lab10 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)

(c) 2000, 2001 SNU CSE Biointelligence Lab11 Solving the Two-Color Problem (Hill Climbing) 1. Set the current node, n, to a randomly selected node, n Generate the successors of n. 3. If V b <V(n), exit with n as the best node found so far. 4. Otherwise,set n to n b, and go to step 2.