opytimizer.optimizers.social.mvpa¶
Most Valuable Player Algorithm.
A MVPA class, inherited from Optimizer.
This is the designed class to define MVPA-related variables and methods.
References
H. Bouchekara. Most Valuable Player Algorithm: a novel optimization algorithm inspired from sport. Operational Research (2017).
Initialization method.
Parameters: params – Contains key-value parameters to the meta-heuristics.
Maximum number of teams.
Number of players per team.
Compiles additional information that is used by this optimizer.
Parameters: space – A Space object containing meta-information.
Gets a set of agents from a specified team.
Parameters: - agents – List of agents.
- index – Index of team.
Returns: A sorted list of agents that belongs to the specified team.
Return type: (List[Agent])
Wraps Most Valuable Player 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.