code: def finite_time(self):
      if self.disp:
          logging.info(
              f"Time elapsed = {time.time() - self.init} "
              f"/ {self.maxtime}"
          )
      if (time.time() - self.init) >= self.maxtime:
          self.stop_global = True
  
imports: from collections import namedtuple
  import time
  import logging
  import warnings
  import sys
  import numpy
  from scipy import spatial
  from scipy.optimize import OptimizeResult, minimize, Bounds
  from scipy.optimize._optimize import MemoizeJac
  from scipy.optimize._constraints import new_bounds_to_old
  from scipy.optimize._minimize import standardize_constraints
  from scipy._lib._util import _FunctionWrapper
  from scipy.optimize._shgo_lib._complex import Complex
label_desc: Use image node_id 11 for calling the SHGO obj's underlying member method code with example usage: obj.finite_time() without return types