Math-based algorithms¶
clypto.native.collection.math_based ships 17 optimizer classes across 12 modules.
Batch and parallel evaluation lists which of them evaluate a whole batch at once.
Module |
Class |
Summary |
Source |
|---|---|---|---|
|
The original version of: Arithmetic Optimization Algorithm (AOA) |
||
|
The original version of: Cross-Entropy Method (CEM) |
||
|
The original version of: Chaos Game Optimization (CGO) |
||
|
The original version of: Circle Search Algorithm (CircleSA) |
||
|
The original version of: Gradient-Based Optimizer (GBO) |
||
|
The original version of: Hill Climbing (HC) |
||
|
The developed version: Swarm-based Hill Climbing (S-HC) |
||
|
The original version of: weIghted meaN oF vectOrs (INFO) |
||
|
The original version of: Pareto-like Sequential Sampling (PSS) |
||
|
The original version of: RUNge Kutta optimizer (RUN) |
||
|
The developed version: Sine Cosine Algorithm (SCA) |
||
|
The original version of: Sine Cosine Algorithm (SCA) |
||
|
- |
||
|
The agent factory of |
||
|
The original version of: QLE Sine Cosine Algorithm (QLE-SCA) |
||
|
The original version of: Success History Intelligent Optimizer (SHIO) |
||
|
The original version of: Tabu Search (TS) |
Modules¶
AOA¶
OriginalAOA¶
The original version of: Arithmetic Optimization Algorithm (AOA)
Hyper-parameters
alpha (int): [3, 8], fixed parameter, sensitive exploitation parameter, Default: 5,
miu (float): [0.3, 1.0], fixed parameter , control parameter to adjust the search process, Default: 0.5,
moa_min (float): [0.1, 0.4], range min of Math Optimizer Accelerated, Default: 0.2,
moa_max (float): [0.5, 1.0], range max of Math Optimizer Accelerated, Default: 0.9,
Reference: [1] Abualigah, L., Diabat, A., Mirjalili, S., Abd Elaziz, M. and Gandomi, A.H., 2021. The arithmetic optimization algorithm. Computer methods in applied mechanics and engineering, 376, p.113609.
CEM¶
OriginalCEM¶
The original version of: Cross-Entropy Method (CEM)
Hyper-parameters
n_best (int): N selected solutions as a samples for next evolution
alpha (float): weight factor for means and stdevs (normal distribution)
Reference: [1] De Boer, P.T., Kroese, D.P., Mannor, S. and Rubinstein, R.Y., 2005. A tutorial on the cross-entropy method. Annals of operations research, 134(1), pp.19-67.
CGO¶
OriginalCGO¶
The original version of: Chaos Game Optimization (CGO)
Reference: [1] Talatahari, S. and Azizi, M., 2021. Chaos Game Optimization: a novel metaheuristic algorithm. Artificial Intelligence Review, 54(2), pp.917-1004.
CircleSA¶
OriginalCircleSA¶
The original version of: Circle Search Algorithm (CircleSA)
Reference: [1] Qais, M. H., Hasanien, H. M., Turky, R. A., Alghuwainem, S., Tostado-Véliz, M., & Jurado, F. (2022). Circle Search Algorithm: A Geometry-Based Metaheuristic Optimization Algorithm. Mathematics, 10(10), 1626.
GBO¶
OriginalGBO¶
The original version of: Gradient-Based Optimizer (GBO)
Hyper-parameters
pr (float): [0.2, 0.8], Probability Parameter, default = 0.5
beta_min (float): Fixed parameter (no name in the paper), default = 0.2
beta_max (float): Fixed parameter (no name in the paper), default = 1.2
Reference: [1] Ahmadianfar, I., Bozorg-Haddad, O. and Chu, X., 2020. Gradient-based optimizer: A new metaheuristic optimization algorithm. Information Sciences, 540, pp.131-159.
HC¶
OriginalHC¶
The original version of: Hill Climbing (HC)
Hyper-parameters
neighbour_size (int): [2, 1000], fixed parameter, sensitive exploitation parameter, Default: 50
Reference: [1] Mitchell, M., Holland, J. and Forrest, S., 1993. When will a genetic algorithm outperform hill climbing. Advances in neural information processing systems, 6.
SwarmHC¶
The developed version: Swarm-based Hill Climbing (S-HC)
Hyper-parameters
neighbour_size (int): [2, pop_size/2], fixed parameter, sensitive exploitation parameter, Default: 10
INFO¶
OriginalINFO¶
The original version of: weIghted meaN oF vectOrs (INFO)
Reference: [1] Ahmadianfar, I., Heidari, A. A., Noshadian, S., Chen, H., & Gandomi, A. H. (2022). INFO: An efficient optimization algorithm based on weighted mean of vectors. Expert Systems with Applications, 195, 116516.
PSS¶
OriginalPSS¶
The original version of: Pareto-like Sequential Sampling (PSS)
Hyper-parameters
acceptance_rate (float): [0.7-0.96], the probability of accepting a solution in the normal range, default=0.9
sampling_method (str): ‘LHS’: Latin-Hypercube or ‘MC’: ‘MonteCarlo’, default=“LHS”
Reference: [1] Shaqfa, M. and Beyer, K., 2021. Pareto-like sequential sampling heuristic for global optimisation. Soft Computing, 25(14), pp.9077-9096.
RUN¶
OriginalRUN¶
The original version of: RUNge Kutta optimizer (RUN)
Reference: [1] Ahmadianfar, I., Heidari, A. A., Gandomi, A. H., Chu, X., & Chen, H. (2021). RUN beyond the metaphor: An efficient optimization algorithm based on Runge Kutta method. Expert Systems with Applications, 181, 115079.
SCA¶
DevSCA¶
The developed version: Sine Cosine Algorithm (SCA)
OriginalSCA¶
The original version of: Sine Cosine Algorithm (SCA)
Reference: [1] Mirjalili, S., 2016. SCA: a sine cosine algorithm for solving optimization problems. Knowledge-based systems, 96, pp.120-133.
QTable¶
QleSCAAgents¶
The agent factory of QleSCA (moved off the optimizer).
QleSCA¶
The original version of: QLE Sine Cosine Algorithm (QLE-SCA)
Hyper-parameters
alpha (float): [0.1-1.0], the is the learning rate in Q-learning, default=0.1
gama (float): [0.1-1.0]: the discount factor, default=0.9
Reference: [1] Hamad, Q. S., Samma, H., Suandi, S. A., & Mohamad-Saleh, J. (2022). Q-learning embedded sine cosine algorithm (QLESCA). Expert Systems with Applications, 193, 116417.
SHIO¶
OriginalSHIO¶
The original version of: Success History Intelligent Optimizer (SHIO)
Reference: [1] Fakhouri, H. N., Hamad, F., & Alawamrah, A. (2022). Success history intelligent optimizer. The Journal of Supercomputing, 1-42.
TS¶
OriginalTS¶
The original version of: Tabu Search (TS)
Hyper-parameters
tabu_size (int): [5, 10] Maximum size of the tabu list.
neighbour_size (int): [5, 100] Size of the neighborhood for generating candidate solutions, Default: 10
perturbation_scale (float): [0.01 - 1] Scale of the perturbations for generating candidate solutions. default = 0.05
Reference: [1] Hajji, O., Brisset, S., & Brochet, P. (2004). A new tabu search method for optimization with continuous parameters. IEEE Transactions on Magnetics, 40(2), 1184-1187.