opytimizer.optimizers.population.pvs

Passing Vehicle Search.

class opytimizer.optimizers.population.pvs.PVS(params: Optional[Dict[str, Any]] = None)

A PVS class, inherited from Optimizer.

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

References

P. Savsani and V. Savsani. Passing vehicle search (PVS): A novel metaheuristic algorithm. Applied Mathematical Modelling (2016).

__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, function: opytimizer.core.function.Function) → None

Wraps Passing Vehicle Search 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.