Skip to main content

SBXCrossover

Module: opytimizer.utils.operators

Simulated Binary Crossover (SBX) operating on Agents (CPU).

Follows the bounded SBX of Deb's NSGA-II reference implementation.

References: K. Deb and R. B. Agrawal, "Simulated binary crossover for continuous search space," Complex Systems, vol. 9, no. 2, pp. 115-148, 1995.

Constructor​

SBXCrossover(eta: int = 20, rate: float = 1.0, gene_rate: float = 0.5, n_offspring: int = 2)

Parameters​

ParameterTypeDefaultDescription
etaint20Distribution index (larger values keep children closer to parents).
ratefloat1.0Probability of applying the crossover to a pair of parents.
gene_ratefloat0.5Probability of recombining each variable of a pair. The standard value (0.5) preserves building blocks; recombining every variable (1.0) severely slows down convergence.
n_offspringint2Number of children returned by a single-pair call.