opytimizer.optimizers.social.isa

Interactive Search Algorithm.

class opytimizer.optimizers.social.isa.ISA(params: Optional[Dict[str, Any]] = None)

An ISA class, inherited from Optimizer.

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

References

A. Mortazavi, V. Toğan and A. Nuhoğlu. Interactive search algorithm: A new hybrid metaheuristic optimization algorithm. Engineering Applications of Artificial Intelligence (2018).

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

Initialization method.

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

Inertia weight.

tau

Tendency factor.

local_position

Array of velocities.

velocity

Array of velocities.

compile(space: opytimizer.core.space.Space) → None

Compiles additional information that is used by this optimizer.

Parameters:space – A Space object containing meta-information.
evaluate(space: opytimizer.core.space.Space, function: opytimizer.core.function.Function) → None

Evaluates the search space according to the objective function.

Parameters:
  • space – A Space object that will be evaluated.
  • function – A Function object that will be used as the objective function.
update(space: opytimizer.core.space.Space, function: opytimizer.core.function.Function) → None

Wraps Interactive Search Algorithm over all agents and variables.

Parameters:
  • space – Space containing agents and update-related information.
  • function – A Function object that will be used as the objective function.