Hill-climbing algorithm is an algorithm which is made in use in those techniques of cluster analysis which seek to find the partition of n individuals into g clusters by optimizing some numerical index of the clustering. Since it is not possible to consider every partition of n individuals into g groups (because of the enormous number of the partitions), the algorithm starts with some given initial partition and considers individuals in turn for moving into the other clusters, creating the move if it causes an improvement in the value of the clustering index. The procedure is continued until no move of the single individual causes an improvement.