Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4304

Hill Climbing

Hill Climbing
TechnicalHigh supportAlgorithms
Included
account_tree

Updated 2026-07-28

Loading revision record…

Summary

Hill Climbing is a local search method that uses a heuristic approach, an improvement over depth-first search, which utilizes feedback information to help generate solution decisions. Algorithms that solve convex problems through hill climbing include the simplex method for linear programming and binary search. Hill climbing generally has the following problems: local maxima. Plateaus: also called flat tops, once the search reaches a plateau, it cannot determine the best direction, leading to random walks and reduced search efficiency. Ridges: the search may oscillate back and forth on both sides of a ridge, making very small progress. Solution: random-restart hill climbing.

Definition

Hill Climbing is a local search method that uses a heuristic approach, an improvement over depth-first search, which utilizes feedback information to help generate solution decisions. Algorithms that solve convex problems through hill climbing include the simplex method for linear programming and binary search. Hill climbing generally has the following problems: local maxima. Plateaus: also called flat tops, once the search reaches a plateau, it cannot determine the best direction, leading to random walks and reduced search efficiency. Ridges: the search may oscillate back and forth on both sides of a ridge, making very small progress. Solution: random-restart hill climbing.

How to use

Hill Climbing is a local search method that uses a heuristic approach, an improvement over depth-first search, which utilizes feedback information to help generate solution decisions. Algorithms that solve convex problems through hill climbing include the simplex method for linear programming and binary search. Hill climbing generally has the following problems: local maxima. Plateaus: also called flat tops, once the search reaches a plateau, it cannot determine the best direction, leading to random walks and reduced search efficiency. Ridges: the search may oscillate back and forth on both sides of a ridge, making very small progress. Solution: random-restart hill climbing.

Mechanism

Local search optimization algorithm: starting from a solution, it moves step by step in the direction that improves the objective within the neighborhood until no further improvement is possible (local optimum); simple but prone to getting stuck in local extrema.

Practice

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • When tuning parameters, adjust slightly each time and observe the metric; use random-restart hill climbing to avoid getting stuck at a local peak.

Common pitfalls

  • Treating it as a global optimum; getting stuck in a local optimum without knowing how to escape.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E7%88%AC%E5%B1%B1%E7%AE%97%E6%B3%95ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS