Evolutionary-based algorithms

clypto.native.collection.evolutionary_based ships 28 optimizer classes across 9 modules.

Batch and parallel evaluation lists which of them evaluate a whole batch at once.

Module

Class

Summary

Source

BWO

OriginalBWO

The original version of: Black Widow Optimization (BWO)

source

CRO

OCRO

The original version of: Opposition-based Coral Reefs Optimization (OCRO)

source

CRO

OriginalCRO

The original version of: Coral Reefs Optimization (CRO)

source

DE

JADE

The original version of: Differential Evolution (JADE)

source

DE

OriginalDE

The original version of: Differential Evolution (DE)

source

DE

SADE

The original version of: Self-Adaptive Differential Evolution (SADE)

source

DE

SAP_DEAgents

The agent factory of SAP_DE (moved off the optimizer).

source

DE

SAP_DE

The original version of: Differential Evolution with Self-Adaptive Populations (SAP_DE)

source

EP

LevyEP

The developed Levy-flight version: Evolutionary Programming (LevyEP)

source

EP

OriginalEPAgents

The agent factory of OriginalEP (moved off the optimizer).

source

EP

OriginalEP

The original version of: Evolutionary Programming (EP)

source

ES

CMA_ESAgents

The agent factory of CMA_ES (moved off the optimizer).

source

ES

CMA_ES

The original version of: Covariance Matrix Adaptation Evolution Strategy (CMA-ES)

source

ES

LevyES

The developed Levy-flight version: Evolution Strategies (ES)

source

ES

OriginalESAgents

The agent factory of OriginalES (moved off the optimizer).

source

ES

OriginalES

The original version of: Evolution Strategies (ES)

source

ES

Simple_CMA_ES

The simple version of: Covariance Matrix Adaptation Evolution Strategy (Simple-CMA-ES)

source

FPA

OriginalFPA

The original version of: Flower Pollination Algorithm (FPA)

source

GA

BaseGA

The original version of: Genetic Algorithm (GA)

source

GA

EliteMultiGA

The developed elite multipoints-mutation version of: Genetic Algorithm (GA)

source

GA

EliteSingleGA

The developed elite single-point mutation of: Genetic Algorithm (GA)

source

GA

MultiGA

The developed multipoints-mutation version of: Genetic Algorithm (GA)

source

GA

OriginalGA

The fully tuned version of: Genetic Algorithm (GA)

source

GA

SingleGA

The developed single-point mutation of: Genetic Algorithm (GA)

source

MA

OriginalMAAgents

The agent factory of OriginalMA (moved off the optimizer).

source

MA

OriginalMA

The original version of: Memetic Algorithm (MA)

source

SHADE

L_SHADE

The original version of: Linear Population Size Reduction Success-History Adaptation Differential Evolution (LSHADE)

source

SHADE

OriginalSHADE

The original version of: Success-History Adaptation Differential Evolution (OriginalSHADE)

source

Modules

BWO

OriginalBWO

The original version of: Black Widow Optimization (BWO)

Hyper-parameters

  • pp (float): [0, 1], procreating rate, default = 0.6

  • cr (float): [0, 1], cannibalism rate, default = 0.44

  • pm (float): [0, 1], mutation rate, default = 0.4

Reference: [1] Hayyolalam, V. and Pourhaji Kazem, A.A., 2020. Black widow optimization algorithm: A novel meta-heuristic approach for solving engineering optimization problems. Engineering Applications of Artificial Intelligence, 87, 103249.

CRO

OCRO

The original version of: Opposition-based Coral Reefs Optimization (OCRO)

Hyper-parameters

  • po (float): [0.2, 0.5], the rate between free/occupied at the beginning

  • Fb (float): [0.6, 0.9], BroadcastSpawner/ExistingCorals rate

  • Fa (float): [0.05, 0.3], fraction of corals duplicates its self and tries to settle in a different part of the reef

  • Fd (float): [0.05, 0.5], fraction of the worse health corals in reef will be applied depredation

  • Pd (float): [0.1, 0.7], the maximum of probability of depredation

  • GCR (float): [0.05, 0.2], probability for mutation process

  • gamma_min (float): [0.01, 0.1] factor for mutation process

  • gamma_max (float): [0.1, 0.5] factor for mutation process

  • n_trials (int): [2, 10], number of attempts for a larvar to set in the reef

  • restart_count (int): [10, 100], reset the whole population after global best solution is not improved after restart_count times

Reference: [1] Nguyen, T., Nguyen, T., Nguyen, B.M. and Nguyen, G., 2019. Efficient time-series forecasting using neural network and opposition-based coral reefs optimization. International Journal of Computational Intelligence Systems, 12(2), p.1144.

OriginalCRO

The original version of: Coral Reefs Optimization (CRO)

Hyper-parameters

  • po (float): [0.2, 0.5], the rate between free/occupied at the beginning

  • Fb (float): [0.6, 0.9], BroadcastSpawner/ExistingCorals rate

  • Fa (float): [0.05, 0.3], fraction of corals duplicates its self and tries to settle in a different part of the reef

  • Fd (float): [0.05, 0.5], fraction of the worse health corals in reef will be applied depredation

  • Pd (float): [0.1, 0.7], Probability of depredation

  • GCR (float): [0.05, 0.2], probability for mutation process

  • gamma_min (float): [0.01, 0.1] factor for mutation process

  • gamma_max (float): [0.1, 0.5] factor for mutation process

  • n_trials (int): [2, 10], number of attempts for a larvar to set in the reef.

Reference: [1] Salcedo-Sanz, S., Del Ser, J., Landa-Torres, I., Gil-López, S. and Portilla-Figueras, J.A., 2014. The coral reefs optimization algorithm: a novel metaheuristic for efficiently solving optimization problems. The Scientific World Journal, 2014.

DE

JADE

The original version of: Differential Evolution (JADE)

Hyper-parameters

  • miu_f (float): [0.4, 0.6], initial adaptive f, default = 0.5

  • miu_cr (float): [0.4, 0.6], initial adaptive cr, default = 0.5

  • pt (float): [0.05, 0.2], The percent of top best agents (p in the paper), default = 0.1

  • ap (float): [0.05, 0.2], The Adaptation Parameter control value of f and cr (c in the paper), default=0.1

Reference: [1] Zhang, J. and Sanderson, A.C., 2009. JADE: adaptive differential evolution with optional external archive. IEEE Transactions on evolutionary computation, 13(5), pp.945-958.

OriginalDE

The original version of: Differential Evolution (DE)

Hyper-parameters

  • wf (float): [-1., 1.0], weighting factor, default = 0.1

  • cr (float): [0.5, 0.95], crossover rate, default = 0.9

  • strategy (int): [0, 5], there are lots of variant version of DE algorithm,

  • 0: DE/current-to-rand/1/bin

  • 1: DE/best/1/bin

  • 2: DE/best/2/bin

  • 3: DE/rand/2/bin

  • 4: DE/current-to-best/1/bin

  • 5: DE/current-to-rand/1/bin

Reference: [1] Mohamed, A.W., Hadi, A.A. and Jambi, K.M., 2019. Novel mutation strategy for enhancing SHADE and LSHADE algorithms for global numerical optimization. Swarm and Evolutionary Computation, 50, p.100455.

SADE

The original version of: Self-Adaptive Differential Evolution (SADE)

Reference: [1] Qin, A.K. and Suganthan, P.N., 2005, September. Self-adaptive differential evolution algorithm for numerical optimization. In 2005 IEEE congress on evolutionary computation (Vol. 2, pp. 1785-1791). IEEE.

SAP_DEAgents

The agent factory of SAP_DE (moved off the optimizer).

SAP_DE

The original version of: Differential Evolution with Self-Adaptive Populations (SAP_DE)

Hyper-parameters

  • branch (str): [“ABS” or “REL”], gaussian (absolute) or uniform (relative) method

Reference: [1] Teo, J., 2006. Exploring dynamic self-adaptive populations in differential evolution. Soft Computing, 10(8), pp.673-686.

EP

LevyEP

The developed Levy-flight version: Evolutionary Programming (LevyEP)

Hyper-parameters

  • bout_size (float): [0.05, 0.2], percentage of child agents implement tournament selection

OriginalEPAgents

The agent factory of OriginalEP (moved off the optimizer).

OriginalEP

The original version of: Evolutionary Programming (EP)

Hyper-parameters

  • bout_size (float): [0.05, 0.2], percentage of child agents implement tournament selection

Reference: [1] Yao, X., Liu, Y. and Lin, G., 1999. Evolutionary programming made faster. IEEE Transactions on Evolutionary computation, 3(2), pp.82-102.

ES

CMA_ESAgents

The agent factory of CMA_ES (moved off the optimizer).

CMA_ES

The original version of: Covariance Matrix Adaptation Evolution Strategy (CMA-ES)

Reference: [1] Hansen, N., & Ostermeier, A. (2001). Completely derandomized self-adaptation in evolution strategies. Evolutionary computation, 9(2), 159-195.

LevyES

The developed Levy-flight version: Evolution Strategies (ES)

Hyper-parameters

  • lamda (float): [0.5, 1.0], Percentage of child agents evolving in the next generation

Reference: [1] Beyer, H.G. and Schwefel, H.P., 2002. Evolution strategies–a comprehensive introduction. Natural computing, 1(1), pp.3-52.

OriginalESAgents

The agent factory of OriginalES (moved off the optimizer).

OriginalES

The original version of: Evolution Strategies (ES)

Hyper-parameters

  • lamda (float): [0.5, 1.0], Percentage of child agents evolving in the next generation

Reference: [1] Beyer, H.G. and Schwefel, H.P., 2002. Evolution strategies–a comprehensive introduction. Natural computing, 1(1), pp.3-52.

Simple_CMA_ES

The simple version of: Covariance Matrix Adaptation Evolution Strategy (Simple-CMA-ES)

Reference: [1] Hansen, N., & Ostermeier, A. (2001). Completely derandomized self-adaptation in evolution strategies. Evolutionary computation, 9(2), 159-195.

FPA

OriginalFPA

The original version of: Flower Pollination Algorithm (FPA)

Hyper-parameters

  • p_s (float): [0.5, 0.95], switch probability, default = 0.8

  • levy_multiplier: [0.0001, 1000], mutiplier factor of Levy-flight trajectory, depends on the problem

Reference: [1] Yang, X.S., 2012, September. Flower pollination algorithm for global optimization. In International conference on unconventional computing and natural computation (pp. 240-249). Springer, Berlin, Heidelberg.

GA

BaseGA

The original version of: Genetic Algorithm (GA)

Hyper-parameters

  • pc (float): [0.7, 0.95], cross-over probability, default = 0.95

  • pm (float): [0.01, 0.2], mutation probability, default = 0.025

  • selection (str): Optional, can be [“roulette”, “tournament”, “random”], default = “tournament”

  • k_way (float): Optional, set it when use “tournament” selection, default = 0.2

  • crossover (str): Optional, can be [“one_point”, “multi_points”, “uniform”, “arithmetic”], default = “uniform”

  • mutation_multipoints (bool): Optional, True or False, effect on mutation process, default = True

  • mutation (str): Optional, can be [“flip”, “swap”] for multipoints and can be [“flip”, “swap”, “scramble”, “inversion”] for one-point

Reference: [1] Whitley, D., 1994. A genetic algorithm tutorial. Statistics and computing, 4(2), pp.65-85.

EliteMultiGA

The developed elite multipoints-mutation version of: Genetic Algorithm (GA)

Hyper-parameters

  • pc (float): [0.7, 0.95], cross-over probability, default = 0.95

  • pm (float): [0.01, 0.2], mutation probability, default = 0.025

  • selection (str): Optional, can be [“roulette”, “tournament”, “random”], default = “tournament”

  • k_way (float): Optional, set it when use “tournament” selection, default = 0.2

  • crossover (str): Optional, can be [“one_point”, “multi_points”, “uniform”, “arithmetic”], default = “uniform”

  • mutation (str): Optional, can be [“flip”, “swap”] for multipoints

  • elite_best (float/int): Optional, can be float (percentage of the best in elite group), or int (the number of best elite), default = 0.1

  • elite_worst (float/int): Opttional, can be float (percentage of the worst in elite group), or int (the number of worst elite), default = 0.3

  • strategy (int): Optional, can be 0 or 1. If = 0, the selection is select parents from (elite_worst + non_elite_group).

  • pop_size = elite_group (elite_best + elite_worst) + non_elite_group

Reference: [1] Whitley, D., 1994. A genetic algorithm tutorial. Statistics and computing, 4(2), pp.65-85.

EliteSingleGA

The developed elite single-point mutation of: Genetic Algorithm (GA)

Hyper-parameters

  • pc (float): [0.7, 0.95], cross-over probability, default = 0.95

  • pm (float): [0.01, 0.2], mutation probability, default = 0.025

  • selection (str): Optional, can be [“roulette”, “tournament”, “random”], default = “tournament”

  • crossover (str): Optional, can be [“one_point”, “multi_points”, “uniform”, “arithmetic”], default = “uniform”

  • mutation (str): Optional, can be [“flip”, “swap”, “scramble”, “inversion”] for one-point

  • k_way (float): Optional, set it when use “tournament” selection, default = 0.2

  • elite_best (float/int): Optional, can be float (percentage of the best in elite group), or int (the number of best elite), default = 0.1

  • elite_worst (float/int): Opttional, can be float (percentage of the worst in elite group), or int (the number of worst elite), default = 0.3

  • strategy (int): Optional, can be 0 or 1. If = 0, the selection is select parents from (elite_worst + non_elite_group).

  • pop_size = elite_group (elite_best + elite_worst) + non_elite_group

Reference: [1] Whitley, D., 1994. A genetic algorithm tutorial. Statistics and computing, 4(2), pp.65-85.

MultiGA

The developed multipoints-mutation version of: Genetic Algorithm (GA)

Hyper-parameters

  • pc (float): [0.7, 0.95], cross-over probability, default = 0.95

  • pm (float): [0.01, 0.2], mutation probability, default = 0.025

  • selection (str): Optional, can be [“roulette”, “tournament”, “random”], default = “tournament”

  • k_way (float): Optional, set it when use “tournament” selection, default = 0.2

  • crossover (str): Optional, can be [“one_point”, “multi_points”, “uniform”, “arithmetic”], default = “uniform”

  • mutation (str): Optional, can be [“flip”, “swap”] for multipoints

Reference: [1] Whitley, D., 1994. A genetic algorithm tutorial. Statistics and computing, 4(2), pp.65-85.

OriginalGA

The fully tuned version of: Genetic Algorithm (GA)

Hyper-parameters

  • pc (float): [0.7, 0.95], cross-over probability, default = 0.95

  • pm (float): [0.01, 0.2], mutation probability, default = 0.025

  • selection (str): Optional, can be [“roulette”, “tournament”, “random”], default = “tournament”

  • k_way (float): Optional, set it when use “tournament” selection, default = 0.2

  • crossover (str): Optional, can be [“one_point”, “multi_points”, “uniform”, “arithmetic”], default = “uniform”

  • mutation_multipoints (bool): Optional, True or False, effect on mutation process, default = True

  • mutation (str): Optional, can be [“flip”, “swap”] for multipoints and can be [“flip”, “swap”, “scramble”, “inversion”] for one-point

Reference: [1] Whitley, D., 1994. A genetic algorithm tutorial. Statistics and computing, 4(2), pp.65-85.

SingleGA

The developed single-point mutation of: Genetic Algorithm (GA)

Hyper-parameters

  • pc (float): [0.7, 0.95], cross-over probability, default = 0.95

  • pm (float): [0.01, 0.2], mutation probability, default = 0.025

  • selection (str): Optional, can be [“roulette”, “tournament”, “random”], default = “tournament”

  • crossover (str): Optional, can be [“one_point”, “multi_points”, “uniform”, “arithmetic”], default = “uniform”

  • mutation (str): Optional, can be [“flip”, “swap”, “scramble”, “inversion”] for one-point

  • k_way (float): Optional, set it when use “tournament” selection, default = 0.2

Reference: [1] Whitley, D., 1994. A genetic algorithm tutorial. Statistics and computing, 4(2), pp.65-85.

MA

OriginalMAAgents

The agent factory of OriginalMA (moved off the optimizer).

OriginalMA

The original version of: Memetic Algorithm (MA)

Hyper-parameters

  • pc (float): [0.7, 0.95], cross-over probability, default = 0.85

  • pm (float): [0.05, 0.3], mutation probability, default = 0.15

  • p_local (float): [0.3, 0.7], Probability of local search for each agent, default=0.5

  • max_local_gens (int): [5, 25], number of local search agent will be created during local search mechanism, default=10

  • bits_per_param (int): [2, 4, 8, 16], number of bits to decode a real number to 0-1 bitstring, default=4

Reference: [1] Moscato, P., 1989. On evolution, search, optimization, genetic algorithms and martial arts: Towards memetic algorithms. Caltech concurrent computation program, C3P Report, 826, p.1989.

SHADE

L_SHADE

The original version of: Linear Population Size Reduction Success-History Adaptation Differential Evolution (LSHADE)

Hyper-parameters

  • miu_f (float): [0.4, 0.6], initial weighting factor, default = 0.5

  • miu_cr (float): [0.4, 0.6], initial cross-over probability, default = 0.5

Reference: [1] Tanabe, R. and Fukunaga, A.S., 2014, July. Improving the search performance of SHADE using linear population size reduction. In 2014 IEEE congress on evolutionary computation (CEC) (pp. 1658-1665). IEEE.

OriginalSHADE

The original version of: Success-History Adaptation Differential Evolution (OriginalSHADE)

Hyper-parameters

  • miu_f (float): [0.4, 0.6], initial weighting factor, default = 0.5

  • miu_cr (float): [0.4, 0.6], initial cross-over probability, default = 0.5

Reference: [1] Tanabe, R. and Fukunaga, A., 2013, June. Success-history based parameter adaptation for differential evolution. In 2013 IEEE congress on evolutionary computation (pp. 71-78). IEEE.