Flying Squirrel Optimizer.

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

A FSO class, inherited from Optimizer.

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


G. Azizyan et al. Flying Squirrel Optimizer (FSO): A novel SI-based optimization algorithm for engineering problems. Iranian Journal of Optimization (2019).

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

Initialization method.

Parameters:params – Contains key-value parameters to the meta-heuristics.

Lévy distribution parameter.

update(space: opytimizer.core.space.Space, function: opytimizer.core.function.Function, iteration: int, n_iterations: int) → None

Wraps Flying Squirrel Optimizer over all agents and variables.

  • space – Space containing agents and update-related information.
  • function – A Function object that will be used as the objective function.
  • iteration – Current iteration.
  • n_iterations – Maximum number of iterations.