G5BAIM Artificial Intelligence Methods Graham Kendall Hill Climbing.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Heuristic Search techniques
G5BAIM Artificial Intelligence Methods
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
© J. Christopher Beck Lecture 17: Tabu Search.
CS 480 Lec 3 Sept 11, 09 Goals: Chapter 3 (uninformed search) project # 1 and # 2 Chapter 4 (heuristic search)
G5BAIM Artificial Intelligence Methods Graham Kendall Blind Searches.
Local search algorithms
Local search algorithms
Two types of search problems
Iterative improvement algorithms Prof. Tuomas Sandholm Carnegie Mellon University Computer Science Department.
Local Search Algorithms
Using Search in Problem Solving
Local Search and Stochastic Algorithms Solution tutorial 4.
Introduction to Artificial Intelligence Heuristic Search Ruth Bergman Fall 2002.
Review Best-first search uses an evaluation function f(n) to select the next node for expansion. Greedy best-first search uses f(n) = h(n). Greedy best.
Randomized Algorithms. Introduction Algorithm uses a random number to make at least one decision Running time depends on input and random numbers generated.
Beyond Classical Search (Local Search) R&N III: Chapter 4
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 5 Jim Martin.
Informed Search Next time: Search Application Reading: Machine Translation paper under Links Username and password will be mailed to class.
Introduction to Simulated Annealing 22c:145 Simulated Annealing  Motivated by the physical annealing process  Material is heated and slowly cooled.
G5BAIM Artificial Intelligence Methods Tabu Search.
Local Search and Optimization
Artificial Intelligence Problem solving by searching CSC 361
1 Local search and optimization Local search= use single current state and move to neighboring states. Advantages: –Use very little memory –Find often.
CS 484 – Artificial Intelligence1 Announcements Homework 2 due today Lab 1 due Thursday, 9/20 Homework 3 has been posted Autumn – Current Event Tuesday.
Dr. Shazzad Hosain Department of EECS North South Universtiy Lecture 03 – Part A Local Search.
G5BAIM Artificial Intelligence Methods Graham Kendall History.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Artificial Intelligence LECTURE 4 ARTIFICIAL INTELLIGENCE LECTURES BY ENGR. QAZI ZIA.
1 CS 2710, ISSP 2610 Chapter 4, Part 2 Heuristic Search.
Iterative Improvement Algorithm 2012/03/20. Outline Local Search Algorithms Hill-Climbing Search Simulated Annealing Search Local Beam Search Genetic.
G5BAIM Artificial Intelligence Methods
G5BAIM Artificial Intelligence Methods Graham Kendall Searching.
Princess Nora University Artificial Intelligence Chapter (4) Informed search algorithms 1.
Biologically inspired algorithms BY: Andy Garrett YE Ziyu.
Search (continued) CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
The Travelling Salesperson Problem A salesperson needs to visit London, Nottingham, Manchester and Leeds, he lives in Birmingham. Find the shortest route.
When A* doesn’t work CIS 391 – Intro to Artificial Intelligence A few slides adapted from CS 471, Fall 2004, UBMC (which were adapted from notes by Charles.
Local search algorithms In many optimization problems, the state space is the space of all possible complete solutions We have an objective function that.
Searching for Solutions
Chapter 4 (Section 4.3, …) 2 nd Edition or Chapter 4 (3 rd Edition) Local Search and Optimization.
Lecture 6 – Local Search Dr. Muhammad Adnan Hashmi 1 24 February 2016.
Local Search Algorithms and Optimization Problems
G5AIAI Introduction to AI Graham Kendall Heuristic Searches.
© J. Christopher Beck Lecture 16: Local Search.
Unit 2 Day 11 FOCS – Human Computer Interaction. Tower Building Presentation Explain your solution.
Escaping Local Optima. Where are we? Optimization methods Complete solutions Partial solutions Exhaustive search Hill climbing Exhaustive search Hill.
Artificial Intelligence Chapter 11 Alternative Search Formulations and Applications.
Dept. Computer Science, Korea Univ. Intelligent Information System Lab A I (Artificial Intelligence) Professor I. J. Chung.
Games: Expectimax MAX MIN MAX Prune if α ≥ β. Games: Expectimax MAX MIN MAX
CSCI 4310 Lecture 10: Local Search Algorithms
G5BAIM Artificial Intelligence Methods
Artificial Intelligence (CS 370D)
CS621: Artificial Intelligence
Heuristic search INT 404.
Biointelligence Lab School of Computer Sci. & Eng.
Hill-climbing Search Goal: Optimizing an objective function.
אלגוריתמים המבצעים שיפור איטרטיבי Hill climbing Simulated annealing
ALGORITHMS.
Depth-First Searches Introduction to AI.
Lecture 9: Tabu Search © J. Christopher Beck 2005.
Search Exercise Search Tree? Solution (Breadth First Search)?
BEST FIRST SEARCH -OR Graph -A* Search -Agenda Search CSE 402
G5BAIM Artificial Intelligence Methods
The travelling salesman problem
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence
Depth-First Searches.
Presentation transcript:

G5BAIM Artificial Intelligence Methods Graham Kendall Hill Climbing

G5BAIM Hill Climbing Hill Climbing

G5BAIM Hill Climbing Hill Climbing - Algorithm 1.Pick a random point in the search space 2.Consider all the neighbours of the current state 3.Choose the neighbour with the best quality and move to that state 4.Repeat 2 thru 4 until all the neighbouring states are of lower quality 5.Return the current state as the solution state

G5BAIM Hill Climbing Hill Climbing - Algorithm Function HILL-CLIMBING(Problem) returns a solution state Inputs:Problem, problem Local variables:Current, a node Next, a node Current = MAKE-NODE(INITIAL-STATE[Problem]) Loop do Next = a highest-valued successor of Current If VALUE[Next] < VALUE[Current] then return Current Current = Next End

G5BAIM Hill Climbing Hill Climbing

G5BAIM Hill Climbing Hill Climbing

G5BAIM Artificial Intelligence Methods Graham Kendall End of Hill Climbing