- Research letter
- Open Access
- Published:

# Meta-heuristic algorithms as tools for hydrological science

*Geoscience Letters*
**volume 1**, Article number: 4 (2014)

## Abstract

In this paper, meta-heuristic optimization techniques are introduced and their applications to water resources engineering, particularly in hydrological science are introduced. In recent years, meta-heuristic optimization techniques have been introduced that can overcome the problems inherent in iterative simulations. These methods are able to find good solutions and require limited computation time and memory use without requiring complex derivatives. Simulation-based meta-heuristic methods such as Genetic algorithms (GAs) and Harmony Search (HS) have powerful searching abilities, which can occasionally overcome the several drawbacks of traditional mathematical methods. For example, HS algorithms can be conceptualized from a musical performance process and used to achieve better harmony; such optimization algorithms seek a near global optimum determined by the value of an objective function, providing a more robust determination of musical performance than can be achieved through typical aesthetic estimation. In this paper, meta-heuristic algorithms and their applications (focus on GAs and HS) in hydrological science are discussed by subject, including a review of existing literature in the field. Then, recent trends in optimization are presented and a relatively new technique such as Smallest Small World Cellular Harmony Search (SSWCHS) is briefly introduced, with a summary of promising results obtained in previous studies. As a result, previous studies have demonstrated that meta-heuristic algorithms are effective tools for the development of hydrological models and the management of water resources.

## Background

Optimization is the process of ensuring that an object or system is as useful or effective as possible; that is, optimization involves finding the best solutions to satisfy specific objectives and conditions. In conventional theoretical problems, traditional mathematical techniques such as linear programming (LP), non-linear programming (NLP), and dynamic programming (DP) can guarantee global optima in simple idealized models. However, in real world problems, factors such as non-linearity and complexity produce obstacles to obtaining global optima.

Heuristic algorithms can be used to overcome such shortcomings of mathematical techniques and produce distinguished outcomes when applied to specific problems; however, they remain inapplicable in a broad range of situations. To address this, meta-heuristic optimization techniques based on iterative simulations have been introduced, allowing appropriate solutions to be found using limited computation time and memory and without requiring any complex derivatives. Many meta-heuristic algorithms that combine rules and randomness mimicking natural phenomena have been developed, including ant colony optimization (ACO), genetic algorithms (GAs), particle swarm optimization (PSO), simulated annealing (SA), and tabu search (TS). Such simulation-based meta-heuristic methods have powerful searching abilities, often allowing them to overcome the several drawbacks of traditional mathematical methods. For example, harmony search (HS) algorithms can be conceptualized based on musical performances (e.g., by a jazz trio or an orchestra) and used to improve harmony. Typically, musical performers aim for a near-optimal state (i.e., fantastic harmony) that is determined by aesthetic estimation; conversely, optimization algorithms seek a best state (i.e., a global optimum, represented by the minimum cost or maximum benefit or efficiency) that can be determined according to the values of objective functions. Aesthetic estimation is achieved by practicing the set of sounds achieved by a combination of instruments, whereas the value of the objective function is evaluated by investigating the set of the values produced by composed variables. Moreover, just as “better” aesthetic sounds can be achieved through practice, the minimization/maximization of the objective function can be achieved by repeated iterations [1, 2].

Here, meta-heuristic optimization techniques are introduced and their applications are discussed with reference to recent trends in water resources engineering, particularly in hydrological science. In Section 2, meta-heuristic algorithms and their applications to hydrological science are discussed by subject, including a review of existing literature in the field. In Section 3, HS algorithms and their application in hydrological science are described. Then, in Section 4, recent trends in optimization are presented and relatively new technique such as Smallest Small World Cellular Harmony Search (SSWCHS) is briefly introduced with a summary of promising results obtained in previous studies. Finally, Section 5 presents concluding remarks.

## Methods

### Meta-heuristic algorithms and their applications in hydrological science

A meta-heuristic is a higher level procedure that can be used to find a near global optimal solution to optimization problems that include incomplete or imperfect information or limited computation capacity. Meta-heuristics often make few assumptions about the optimization problem being solved, which makes them suitable for a wide variety of problems. Moreover, because they can search through large sets of feasible solutions, meta-heuristics can often find good solutions with less computational effort than traditional iterative methods or simple heuristics [3, 4].

In hydrological science, meta-heuristics such as ACO, GAs, PSO, SA, and TS are used in various sub-disciplines. GAs (which are search algorithms based on natural evolutionary mechanisms) are the most widely known meta-heuristic algorithms and were initially proposed by Holland [5]; they are also utilized more widely in hydrological science than any other algorithm. Figure 1 describes historical applications of GAs in various sub-disciplines of hydrological science. First, Savic and Walters [6] applied a GA to minimize the cost of a water distribution system, illustrating the potential of GAs as tools for planning of water distribution networks. Subsequently, Wang and Zheng [7] coupled a GA and SA to obtain the optimal pumping rate for a groundwater system, finding that their GA-based model was able to obtain almost identical solutions to other programming methods (or even offer improvements). Similarly, Samuel and Jha [8] developed computer code to optimize various aquifer parameters under different hydrogeological conditions using the GA technique. GAs have also been applied in water resources management: Sharif and Wardlaw [9] developed an optimal multi-reservoir system using a GA; Wardlaw and Bhaktikul [10] investigated problems with water allocation in an irrigation system; and Chen et al. [11] forecasted stream flow to help ensure more effective use of water resources. Recently, a methodology for determining the optimum reuse discharges of agriculture drainage water was proposed by Fleifle et al. [12]. Water-related disasters such as drought [13] and flood [14] have also been solved using GAs; for example, Sen and Oztopal [15] adopted a GA to achieve the optimum classification of rainy and non-rainy day occurrences based on selected hydrological data. In the field of rainfall–runoff modeling, Nasseri et al. [16] forecasted rainfall using a GA coupled with artificial neural networks, and Ragab et al. [17] used a GA to conduct parameter estimation for rainfall–runoff models. Recently, optimal control of sediment has become a key issue in watershed management. Accordingly, some studies have investigated the use of GAs as an optimization tool [18–20]. At present, water quality issues (from the environmental perspective) are some of the most pressing optimization problems that can be solved by meta-heuristic algorithms. For instance, Maringanti et al. [21] utilized a GA to investigate best management practices (BMPs) in a watershed and select optimal locations for nonpoint-source pollution control. Additionally, GAs have been used to solve a chlorine injection optimization problem in a water distribution system [22] and to predict the distribution of suitable habitats for selected species in deep water [23]. Based on the various applications described above, it is clear that GA optimization techniques are effective tools for the development of hydrological models and management of water resources. Other meta-heuristic algorithms (including ACO, PSO, SA, and TA) have also been applied in hydrological sciences, although their applications are much more limited than those of GAs. Since the 2000s, the application of meta-heuristic algorithms has focused on a few key fields, particularly reservoir operation, groundwater management, and water distribution network design. Nevertheless, other meta-heuristic techniques have the potential to exhibit good performance in various hydrological sectors based on the positive results achieved for GAs.

### Harmony search algorithms as a tool in hydrological science

As discussed above, HS algorithms can be used to achieve better harmony in the process of musical performance, unlike other meta-heuristic algorithms. Musical performances seek fantastic harmony, which is typically determined by aesthetic estimation, whereas optimization algorithms seek a global optimum that can be determined from the value of an objective function. HS algorithms preserve the history of past vectors and can vary the adaptation rate during computation. Moreover, as with GAs, HS algorithms manage several vectors simultaneously, although HS algorithms are different from GAs in many respects. HS algorithms offer two primary advantages: 1) they produce a new vector after considering all existing vectors, rather than considering only two parent vectors (as in GAs); and 2) they do not require the initial values of decision variables to be specified. Thus, it can be generally said HS algorithms offer more flexibility and better solutions than GAs.

Since the HS algorithm was first developed in 2001, it has been applied to various engineering problems and has garnered increasing attention globally. According to Google Scholar, the study that introduced the concept of the HS algorithm has been cited over 1,200 times (prior to August 2013). In case of major literature, the number of citation is increased up to 541 times in Web of science (Science Citation Index Expanded (SCIE), Social Science Citation Index (SSCI), Arts & Humanities Citation Index (A&HCI)). Approximately 50% of the existing literature pertaining to HS algorithms relates to the fields of civil engineering and mathematics/algorithms (Figure 2); thus, it is clear that HS algorithms have been utilized in various ways, both applied (e.g., engineering) and theoretical.

Applications of HS algorithms in hydrological science can be divided by discipline, as with other meta-heuristic algorithms, and the first hydrological applications of the HS technique were described in 2001. HS algorithms were applied to minimize the cost of a pipe network during the design process and to estimate parameters for the non-linear Muskingum routing model [1, 2]. Subsequently, Paik et al. [24] developed a parameter calibration method for rainfall–runoff models and demonstrated how adopting powerful meta-heuristic optimization algorithms such as HS algorithms can enable researchers to focus on aspects of the rainfall–runoff model other than parameter calibration. Ayvaz [25] first introduced HS algorithms to aquifer modeling, using the technique to determine aquifer parameters and the zonal structure of these parameters based on a given set of observations of piezometric head. More recently, Kougias and Theodossiou [26] solved problems related to dam operation using HS techniques; in particular, they investigated the optimum operation of a four-reservoir system over one day, with the aim of maximizing the daily benefits obtained from the reservoir system. The studies cited here represent only a small portion of the existing literature in this field, yet their results demonstrate the potential for use of HS algorithms in solving complex optimization problems successfully and efficiently.

## Results and discussion

### Recent trends in optimization in hydrological science

The latest trends in meta-heuristic optimization in hydrological science can be classified into three primary categories as follows: 1) Hybrid algorithms involve combinations of existing algorithms and are designed to increase the possibility of solving complex problems by adopting the favorable properties of different optimization methods. 2) Recently, an automatic assignment technique has been developed for the setting of algorithm parameters. Existing meta-heuristic algorithms require decision-makers to set some parameters, and the efficiency of many processes can be affected considerably by parameter selection. Moreover, setting parameters often involves time-consuming tasks such as sensitivity analyses. However, in recent years, algorithms have been developed that do not require any parameters to be set; such algorithms can change parameters automatically based on factors such as the value of an objective function or the number of iterations. These algorithms have been shown to achieve similar results to those obtained using more traditional meta-heuristic algorithms and can be very useful tools for decision-makers. 3) A particularly interesting branch of optimization research focuses on the expansion from single-objective to multi-objective optimization. Multi-objective optimization seeks to obtain the Pareto-optimal sets between conflicting objectives, where Pareto-optimal sets comprise the sets of solutions that are better than all other solutions for at least one objective; these sets were referred to as non-dominated or Pareto-optimal solutions by Pareto [27]. Multi-objective optimization is effective for use in real-world problems, particularly because most real practical problems involve many trade-offs between objectives.

Here, a relatively new hybrid version of HS algorithm, the Smallest Small World Cellular Harmony Search (SSWCHS), is introduced. Lim et al. [28] proposed an improved HS algorithm that uses the cellular automata theory and topological structure of the smallest small-world network (Figure 3). A cellular automaton is a discrete model utilized in many fields, including computation theory, mathematics, physics, complexity science, and theoretical biology. SSWCHS uses the concept of cellular automaton space arranged into regularly spaced grid cells, where individual cells are updated simultaneously in each discrete time step and each cell is a finite state machine. Each cell entered the state of its own and neighboring and, then, printout the state in the next time step. In the case of the smallest small-world network, it can be expressed by two parameters: the average path length (L), which measures the efficiency of communication or the time required to travel between nodes; and the clustering coefficient (C), which represents the degree of local order. The average path length (L) is defined as the average number of links in the shortest path between a pair of nodes in the network. Then, the clustering coefficient (C) can be defined as the probability that two nodes connected to a common node are also connected to each other. On this basis, short average path lengths and high clustering coefficients lead to good exploration efficiency and good exploitation effects, respectively (Figure 3). Therefore, a new hybrid HS algorithm (SSWCHS) can have high clustering coefficient (from smallest small-world) and short characteristic path length (from cellular automata theory). In addition, unlike most previous studies focusing on improvements to HS algorithms, SSWCHS modifies the memory structure itself. The flowchart of the SSWCHS is shown in Figure 4.

The developed algorithm has been applied in assessment of the optimal design of a pipe network designed to supply water to Hanoi (Figure 5), where it was used to determine the minimum cost of constructing sufficient pipelines to satisfy the water pressure requirements at all nodes. Although most of the algorithms investigated produced similar optimal values (Table 1), SSWCHS showed a superior performance than the other techniques in terms of the number of iterations required to reach the optimal value. The results prove that the developed algorithm displays better exploration and exploitation efficiencies.

## Conclusions

In this paper, meta-heuristic optimization techniques are introduced and recent trends in their application in water resources engineering particularly hydrological science are discussed. The information presented here can be summarized as follows: 1) In hydrological science, GAs is the most widely utilized meta-heuristic algorithm. 2) Several previous studies have shown that meta-heuristic techniques can be used as effective tools for the development of hydrological models and the management of water resources. 3) Some recent trends in optimization in hydrological science (e.g., hybrid algorithms, parameter-free techniques, multi-objective optimization) have the potential to provide efficient solutions to real-world problems. 4) Hybrid type algorithms, the SSWCHS algorithm for example, can produce very competitive solutions with less iteration than other algorithms. It is recommended that meta-heuristic algorithms be utilized as tools for pertinent studies in hydrological science.

## References

Geem ZW, Kim JH, Loganathan GV: A new heuristic optimization algorithm: harmony search.

*Simulation*2001, 76(2):60–68. 10.1177/003754970107600201Kim J, Geem Z, Kim E: Parameter estimation of the nonlinear Muskingum model using harmony search.

*J Am Water Resour Assoc*2001, 37(5):1131–1138. 10.1111/j.1752-1688.2001.tb03627.xBianchi L, Marco D, Luca MG, Walter JG: A survey on metaheuristics for stochastic combinatorial optimization.

*Nat Comput*2009, 8(2):239–287. 10.1007/s11047-008-9098-4Blum C, Roli A: Metaheuristics in combinatorial optimization: overview and conceptual comparison.

*ACM Comput Surv*2003, 35(3):268–308. 10.1145/937503.937505Holland JH:

*Adaptation in Natural and Artificial Systems*. Ann Arbor: University of Michigan Press; 1975.Savic D, Walters G: Genetic algorithms for least-cost design of water distribution networks.

*J Water Res Pl-ASCE*1997, 123: 67–77. 10.1061/(ASCE)0733-9496(1997)123:2(67)Wang M, Zheng C: Ground water management optimization using genetic algorithms and simulated annealing: formulation and comparison.

*J Am Water Resour Assoc*1998, 34: 519–530. 10.1111/j.1752-1688.1998.tb00951.xSamuel M, Jha M: Estimation of aquifer parameters from pumping test data by genetic algorithm optimization technique.

*J Irrig Drain E-ASCE*2003, 129: 348–359. 10.1061/(ASCE)0733-9437(2003)129:5(348)Sharif M, Wardlaw R: Multireservoir systems optimization using genetic algorithms: case study.

*J Comput Civ Eng*2000, 14: 255–263. 10.1061/(ASCE)0887-3801(2000)14:4(255)Wardlaw R, Bhaktikul K: Application of a genetic algorithm for water allocation in an irrigation system.

*Irrig Drain*2001, 50: 159–170. 10.1002/ird.9Chen C, Liu C, Su H: A nonlinear time series analysis using two-stage genetic algorithms for streamflow forecasting.

*Hydrol Process*2008, 22: 3697–3711. 10.1002/hyp.6973Fleifle AE, Valeriano OCS, Nagy HM, Elfetiany FA, Tawfik A, Elzeir M: Simulation-optimization model for intermediate reuse of agriculture drainage water in Egypt.

*J Environ Eng-ASCE*2013, 139: 391–401. 10.1061/(ASCE)EE.1943-7870.0000605Merabtene T, Kawamura A, Jinno K, Olsson J: Risk assessment for optimal drought management of an integrated water resources system using a genetic algorithm.

*Hydrol Process*2002, 16: 2189–2208. 10.1002/hyp.1150Yazdi J, Neyshabouri SAAS: A simulation-based optimization model for flood management on a watershed scale.

*Water Resour Manage*2012, 26: 4569–4586. 10.1007/s11269-012-0167-1Sen Z, Oztopal A: Genetic algorithms for the classification and prediction of precipitation occurrence.

*Hydrolog Sci J*2001, 46: 255–267. 10.1080/02626660109492820Nasseri M, Asghari K, Abedini MJ: Optimized scenario for rainfall forecasting using genetic algorithm coupled with artificial neural network.

*Expert Syst Appl*2008, 35: 1415–1421. 10.1016/j.eswa.2007.08.033Ragab R, Austin B, Moidinis D: The HYDROMED model and its application to semi-arid Mediterranean catchments with hill reservoirs 1: the rainfall-runoff model using a genetic algorithm for optimisation.

*Hydrol Earth Syst Sc*2001, 5: 543–553.Altunkaynak A: Sediment load prediction by genetic algorithms.

*Adv Eng Software*2009, 40: 928–934. 10.1016/j.advengsoft.2008.12.009Nicklow J, Muleta M: Watershed management technique to control sediment yield in agriculturally dominated areas.

*Water Int*2001, 26: 435–443. 10.1080/02508060108686935Nicklow J, Ozkurt O, Bringer J: Control of channel bed morphology in large-scale river networks using a genetic algorithm.

*Water Resour Manage*2003, 17: 113–132. 10.1023/A:1023609806431Maringanti C, Chaubey I, Popp J: Development of a multiobjective optimization tool for the selection and placement of best management practices for nonpoint source pollution control.

*Water Resour Res*2009, 45: W06406.Gibbs MS, Maier HR, Dandy GC: Comparison of genetic algorithm parameter setting methods for chlorine injection optimization.

*J Water Res Pl-ASCE*2010, 136: 288–291. 10.1061/(ASCE)WR.1943-5452.0000033Tong R, Purser A, Guinan J, Unnithan V: Modeling the habitat suitability for deep-water gorgonian corals based on terrain variables.

*Ecol Inform*2013, 13: 123–132.Paik K, Kim JH, Kim HS, Lee DR: A conceptual rainfall‒runoff model considering seasonal variation.

*Hydrol Process*2005, 19(19):3837–3850. 10.1002/hyp.5984Ayvaz MT: Simultaneous determination of aquifer parameters and zone structures with fuzzy c-means clustering and meta-heuristic harmony search algorithm.

*Adv Water Resour*2007, 30(11):2326–2338. 10.1016/j.advwatres.2007.05.009Kougias IP, Theodossiou NP: Application of the harmony search optimization algorithm for the solution of the multiple dam system scheduling.

*Optim Eng*2013, 14(2):331–344. 10.1007/s11081-011-9183-xPareto V:

*Cours d’economie Politique*. Lausanne, Switzerland: Rouge; 1896.Lim S, Yoo DG, Kim JH: Smallest-small-world cellular harmony search for optimization of unconstrained benchmark problems.

*J Appl Math*2013, 635608: 9. http://dx.doi.org/10.1155/2013/635608Fujiwara O, Khang DB: A two phase decomposition method for optimal design of looped water distribution networks.

*Water Resour Res*1990, 26(4):539–549. 10.1029/WR026i004p00539Zecchin AC, Simpson AR, Maier HR, Leonard M, Roberts AJ, Berrisford MJ: Application of two ant colony optimization algorithms to water distribution system optimization.

*Math Comput Model*2006, 44: 451–468. 10.1016/j.mcm.2006.01.005Perelman L, Ostfeld A: An adaptive heuristic cross-entropy algorithm for optimal design of water distribution systems.

*Eng Optimiz*2007, 39(4):413–428. 10.1080/03052150601154671Lin MD, Liu YH, Liu GF, Chu CW: Scatter search heuristic for least-cost design of water distribution networks.

*Eng Optimiz*2007, 39(7):857–876. 10.1080/03052150701503611Geem ZW: Particle-swarm harmony search for water network design.

*Eng Optimiz*2009, 41(4):297–311. 10.1080/03052150802449227Reca J, Martínez J, Gil C, Baños R: Application of several meta-heuristic techniques to the optimization of real looped water distribution networks.

*Water Resour Manage*2008, 22(10):1367–1379. 10.1007/s11269-007-9230-8

## Acknowledgements

This work was supported by the National Research Foundation of Korean (NRF) grant funded by the Korean government (MSIP) (No. 2013R1A2A1A01013886).

## Author information

### Authors and Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

### Authors’ contributions

Dr. DGY carried out the survey of previous studies, participated in the sequence alignment and drafted the manuscript. Prof. JHK conceived the original idea of the study, and helped to write the final manuscript. Both authors read and approved the final manuscript.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Yoo, D.G., Kim, J.H. Meta-heuristic algorithms as tools for hydrological science.
*Geosci. Lett.* **1**, 4 (2014). https://doi.org/10.1186/2196-4092-1-4

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/2196-4092-1-4

### Keywords

- Meta-heuristic algorithm
- Harmony search algorithm
- Hydrological sciences