Optimization techniques, specially evolutionary algorithms, have been widely used for solving various scientific and engineering optimization problems because of their flexibility and simplicity. Human behavior-based optimization (HBBO) is a powerfull metaheuristic optimization method that uses the human behavior as the main source of inspiration. Since in reality every individual finds his success in one specific way, in this algorithm, after generating the initial individuals, all of them spread in different fields. In each field, all individuals try to improve themselves by means of education process, and after that, they find a random advisor from the whole society and start to consult with him. In addition, as it happens in the real society that the beliefs of some people may alter and they change their job or educational field, in this algorithm, by considering a field changing probability, in some fields, an individual may find another way suitable and change his field. Finally, the stopping criteria will be checked, and if one of them reaches, the algorithm stops.
This algorithm consists of the five steps as follows:
- Step 1: Initialization
- Step 2: Education
- Step 3: Consultation
- Step 4: Field changing probability
- Step 5: Finalization
The provided codes models the above steps according to the procedures written in the following paper:
[Reference] Seyed-Alireza Ahmadi, "Human behavior-based optimization: a novel metaheuristic approach to solve complex optimization problems", in Neural Computing and Applications, vol. 28, no. 1, pp. 233–244, Dec. 2017.
****************** HOW TO USE ******************
To use the codes, open the HBBO.m and adjust the following settings and parameters:
VarMin=[-10, -10, -10, -10, -10];
VarMax=[10, 10, 10, 10, 10];