This article is about the mathematical algorithm. For other meanings such as the branch of motorsport, see Hillclimbing (disambiguation).
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Hill climbing" – news · newspapers · books · scholar · JSTOR(April 2017) (Learn how and when to remove this message)
In numerical analysis, hill climbing is a mathematical optimization technique which belongs to the family of local search. It is an iterative algorithm that starts with an arbitrary solution to a problem, then attempts to find a better solution by making an incremental change to the solution. If the change produces a better solution, another incremental change is made to the new solution, and so on until no further improvements can be found.
For example, hill climbing can be applied to the travelling salesman problem. It is easy to find an initial solution that visits all the cities but will likely be very poor compared to the optimal solution. The algorithm starts with such a solution and makes small improvements to it, such as switching the order in which two cities are visited. Eventually, a much shorter route is likely to be obtained.
Hill climbing finds optimal solutions for convex problems – for other problems it will find only local optima (solutions that cannot be improved upon by any neighboring configurations), which are not necessarily the best possible solution (the global optimum) out of all possible solutions (the search space). Examples of algorithms that solve convex problems by hill-climbing include the simplex algorithm for linear programming and binary search.[1]: 253 To attempt to avoid getting stuck in local optima, one could use restarts (i.e. repeated local search), or more complex schemes based on iterations (like iterated local search), or on memory (like reactive search optimization and tabu search), or on memory-less stochastic modifications (like simulated annealing).
The relative simplicity of the algorithm makes it a popular first choice amongst optimizing algorithms. It is used widely in artificial intelligence, for reaching a goal state from a starting node. Different choices for next nodes and starting nodes are used in related algorithms. Although more advanced algorithms such as simulated annealing or tabu search may give better results, in some situations hill climbing works just as well. Hill climbing can often produce a better result than other algorithms when the amount of time available to perform a search is limited, such as with real-time systems, so long as a small number of increments typically converges on a good solution (the optimal solution or a close approximation). At the other extreme, bubble sort can be viewed as a hill climbing algorithm (every adjacent element exchange decreases the number of disordered element pairs), yet this approach is far from efficient for even modest N, as the number of exchanges required grows quadratically.
Hill climbing is an anytime algorithm: it can return a valid solution even if it's interrupted at any time before it ends.
^Skiena, Steven (2010). The Algorithm Design Manual (2nd ed.). Springer Science+Business Media. ISBN 978-1-849-96720-4.
In numerical analysis, hillclimbing is a mathematical optimization technique which belongs to the family of local search. It is an iterative algorithm...
Stochastic hillclimbing is a variant of the basic hillclimbing method. While basic hillclimbing always chooses the steepest uphill move, "stochastic hill climbing...
publicized climbing by appearing on television shows and documentaries and writing an autobiography, Climbing Free: My Life in the Vertical World. Hill was a...
of the FIA HillClimb Trophy for Production Cars Winner of the FIA HillClimb Trophy for Competition Cars The first European HillClimbing Championship...
HillClimb Racing is a 2012 2D physics-based racing video game released by the Finnish studio Fingersoft for Android, iOS, Microsoft Windows, and Windows...
The Pikes Peak International HillClimb (PPIHC), also known as The Race to the Clouds, is an annual automobile hillclimb to the summit of Pikes Peak in...
operations. Climbing is done indoors and outdoors, on natural surfaces (e.g. rock climbing and ice climbing), and on artificial surfaces (e.g. climbing walls...
"The Hill We Climb" is a spoken word poem written by American poet Amanda Gorman and recited by her at the inauguration of Joe Biden in Washington, D...
(such as simple hillclimbing) are quite efficient at finding absolute optimum in a limited region. Alternating GA and hillclimbing can improve the efficiency...
Glossary of climbing terms relates to rock climbing (including aid climbing, lead climbing, bouldering, and competition climbing), mountaineering, and...
The Pikes Peak HillClimb Museum (PPHCM) is an American non-profit 501 (C)(3) organization and serves to promote and develop educational awareness of advancements...
method, Goldfeld, Quandt, and Trotter (1966) refer to it as quadratic hill-climbing. Conceptually, in the Levenberg–Marquardt algorithm, the objective function...
most prestigious hillclimbing championship in Great Britain. The British HillClimb Championship was held every year from 1947 to 2019, and resumed in 2021...
The Pititsa hillclimb is an automobile hillclimbing competition which occurs in the village of Pititsa, about 15 km northeast of Patras in Achaea regional...
at the 101st Pikes Peak International HillClimb. The SuperVan 4.2 was designed specifically for hillclimbing, and features large front and rear spoilers...
The Widowmaker hillclimb is an outdoor motorcycle sport event held annually and sometimes semi-annually in Croydon, Utah, United States. It consists of...
Late acceptance hillclimbing, created by Yuri Bykov in 2008 is a metaheuristic search method employing local search methods used for mathematical optimization...
Speed climbing is a climbing discipline in which speed is the ultimate goal. Speed climbing is done on rocks, walls and poles and is only recommended...
other". In hillclimbing, a single rider climbs or tries to climb a road going up a hill in the fastest time or the furthest up the hill before ceasing...
The FIA International HillClimb Cup is an FIA-run motorsport competition held across World on public roads, created in 2014, resulting form the merge...
Rock climbing is a sport in which participants climb up, across, or down natural rock formations or indoor climbing walls. The goal is to reach the summit...
Mont Ventoux HillClimb is a car and motorcycle hillclimbing race course near Avignon in France. The course, up Mont Ventoux, starts from the village of...
The Kop HillClimb is a hillclimb in Princes Risborough, Buckinghamshire. The climb was originally established in 1910 but due to a minor accident involving...
Firle HillClimb is a disused hillclimbing course near Lewes, East Sussex, England, sometimes referred to as Bo Peep HillClimb. The event was celebrated...