Biointelligence Lab School of Computer Sci. & Eng.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

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.
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.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
Constraint Satisfaction Problems
Constraint Satisfaction Problems
Constraint Satisfaction Definition. A constraint is a formula of the form: (x = y) (x  y) (x = red) (x  red) Where x and y are variables that can take.
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.
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.
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.
1 Constraint Satisfaction Problems (CSP). Announcements Second Test Wednesday, April 27.
Artificial Intelligence Chapter 11 Alternative Search Formulations and Applications.
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
Constraint Satisfaction Problem
CS 188: Artificial Intelligence
Computer Science cpsc322, Lecture 14
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Constraint Propagation
Computer Science cpsc322, Lecture 14
Notes 6: Constraint Satisfaction Problems
Constraint Satisfaction Problems
Artificial Intelligence
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence Chapter 10 Planning, Acting, and Learning
Artificial Intelligence Chapter 9 Heuristic Search
Artificial Intelligence Chapter 8 Uninformed Search
Biointelligence Lab School of Computer Sci. & Eng.
Adaptive Cooperative Systems Chapter 6 Markov Random Fields
Constraint satisfaction problems
Constraint Satisfaction Problems. A Quick Overview
Chapter 5. Advanced Search
Artificial Intelligence
Artificial Intelligence Chapter 7 Agents That Plan
Lecture 9 Administration Heuristic search, continued
Artificial Intelligence Chapter 10 Planning, Acting, and Learning
Constraint Satisfaction
Constraint Satisfaction Problems
CS 8520: Artificial Intelligence
Tree Searching Strategies
Constraint Satisfaction Problems
Constraint satisfaction problems
Constraint Satisfaction Problems (CSP)
Presentation transcript:

Artificial Intelligence Chapter 11 Alternative Search Formulations and Applications Biointelligence Lab School of Computer Sci. & Eng. Seoul National University

(c) 2000-2002 SNU CSE Biointelligence Lab Outline Assignment Problems Constraint Propagation Constructive Methods Heuristic Repair Function Optimization (c) 2000-2002 SNU CSE Biointelligence Lab

(c) 2000-2002 SNU CSE Biointelligence Lab Assignment Problems Assigning values to variables subject to constraints Examples Eight-Queens problem Crossword puzzles (c) 2000-2002 SNU CSE Biointelligence Lab

(c) 2000-2002 SNU CSE Biointelligence Lab Eight-Queens Problem 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-2002 SNU CSE Biointelligence Lab

Eight-Queens Problem (Cont’d) We can solve constraint-satisfaction problems by graph-search methods Constructive method Repair approach Function optimization (c) 2000-2002 SNU CSE Biointelligence Lab

(c) 2000-2002 SNU CSE Biointelligence Lab 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-2002 SNU CSE Biointelligence Lab

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-2002 SNU CSE Biointelligence Lab

Constraint Propagation (Cont’d) Constraint Graph with q1 = 1 Constraint Graph with q1 = 2 (c) 2000-2002 SNU CSE Biointelligence Lab

(c) 2000-2002 SNU CSE Biointelligence Lab 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 Repair Steps for the Eight-Queens Problem (c) 2000-2002 SNU CSE Biointelligence Lab

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-2002 SNU CSE Biointelligence Lab

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. (c) 2000-2002 SNU CSE Biointelligence Lab