class_docstr: 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).
class_docstr_tok: ["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",")","."]
code: def n_teams(self, n_teams: int) -> None:
      if not isinstance(n_teams, int):
          raise e.TypeError("`n_teams` should be an integer")
      if n_teams < 1:
          raise e.ValueError("`n_teams` should be > 0")
  
      self._n_teams = n_teams
  
imports: import copy
  from typing import Any, Dict, List, Optional
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.agent import Agent
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 3 for calling the MVPA obj's underlying member method code with example usage: obj.n_teams(n_teams) without return types