1 / 5

Hill-climbing Search

Hill-climbing Search. Goal: Optimizing an objective function. Can be applied to “goal” predicate type of problems. BSAT with objective function number of clauses satisfied. Intuition: Always move to a better state. Some Hill-Climbing Algo’s.

summer
Download Presentation

Hill-climbing Search

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Hill-climbing Search • Goal: Optimizing an objective function. • Can be applied to “goal” predicate type of problems. • BSAT with objective function number of clauses satisfied. • Intuition: Always move to a better state

  2. Some Hill-Climbing Algo’s • Start State = empty state or random state or special state • Until (no improvement) • Steepest Ascent: find best successor • OR (greedy): select first improving successor • Go to that successor • Repeat the above process some number of times (Restarts). • Can be done with partial solutions or full solutions.

  3. Local (Iterative) Improving • Initial state = full candidate solution • Random or “nearest neighbor selection” • Greedy hill-climbing: • if up, do it • if flat, probabilistically decide to accept move • Not necessary for homework • Otherwise need to limit number of flat moves • if down, don’t do it • We are gradually expanding the possible moves.

  4. TSP Notes • Only use “up” moves • It is not necessary to compute the entire tour lengths after an operator applies. Instead compute change in length- most of the path length stays the same. • You keep applying the operators until no improvement occurs.

  5. Uncross Problem

More Related