class_docstr: An Agent class for all optimization techniques.
class_docstr_tok: ["An","Agent","class","for","all","optimization","techniques","."]
code: def lb(self, lb: np.ndarray) -> None:
      if not isinstance(lb, np.ndarray):
          raise e.TypeError("`lb` should be a numpy array")
      if not lb.shape:
          lb = np.expand_dims(lb, -1)
      if lb.shape[0] != self.n_variables:
          raise e.SizeError(
              "`lb` should be the same size as `n_variables`"
          )
  
      self._lb = lb
  
imports: import time
  from typing import Dict, List, Optional, Union
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  from opytimizer.utils import logging
label_desc: Use image node_id 11 for calling the Agent obj's underlying member method code with example usage: obj.lb(lb) without return types