Traditional-based search space.

class opytimizer.spaces.search.SearchSpace

A SearchSpace class for agents, variables and methods related to the search space.


Initialization method.

  • n_agents – Number of agents.
  • n_variables – Number of decision variables.
  • lower_bound – Minimum possible values.
  • upper_bound – Maximum possible values.
  • mapping – String-based identifiers for mapping variables’ names.
_initialize_agents() → None

Initializes agents with their positions and defines a best agent.