Skip to main content

QSA

Module: opytimizer.optimizers.single_objective.social.qsa

A QSA class, inherited from Optimizer.

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

References: J. Zhang et al. Queuing search algorithm: A novel metaheuristic algorithm for solving engineering optimization problems. Applied Mathematical Modelling (2018).

Constructor​

QSA(params: Optional[Dict[str, Any]] = None) -> None

Parameters​

ParameterTypeDefaultDescription
paramsOptional[Dict[str, Any]]None—

Methods​

update​

update(self, space: opytimizer.core.space._SingleObjectiveSpace, function: opytimizer.core.function.Function, iteration: int, n_iterations: int) -> None

Wraps Queue Search Algorithm over all agents and variables.

Parameters​

ParameterTypeDefaultDescription
spaceopytimizer.core.space._SingleObjectiveSpaceSpace containing agents and update-related information.
functionopytimizer.core.function.FunctionA Function object that will be used as the objective function.
iterationintCurrent iteration.
n_iterationsintMaximum number of iterations.