Salp Swarm Algorithm.

class opytimizer.optimizers.swarm.ssa.SSA(params: Optional[Dict[str, Any]] = None)

A SSA class, inherited from Optimizer.

This is the designed class to define SSA-related variables and methods.


S. Mirjalili et al. Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems. Advances in Engineering Software (2017).

__init__(params: Optional[Dict[str, Any]] = None) → None

Initialization method.

Parameters:params – Contains key-value parameters to the meta-heuristics.
update(space: opytimizer.core.space.Space, iteration: int, n_iterations: int) → None

Wraps Salp Swarm Algorithm over all agents and variables.

  • space – Space containing agents and update-related information.
  • iteration – Current iteration.
  • n_iterations – Maximum number of iterations.