class_docstr: Wrapper for DIRECT optimization method. It works partitioning iteratively the domain
  of the function. Only requires f and the box constraints to work.
class_docstr_tok: ["Wrapper","for","DIRECT","optimization","method",".","It","works","partitioning","iteratively","the","domain","of","the","function",".","Only","requires","f","and","the","box","constraints","to","work","."]
code: def __init__(self, bounds, maxiter=1000):
      super(OptDirect, self).__init__(bounds)
      self.maxiter = maxiter
  
imports: import numpy
  from ..core.errors import InvalidVariableNameError
label_desc: Use image node_id 1 to create a new OptDirect object from inherited base classes: Optimizer with example: obj = OptDirect(bounds, maxiter)