code: def fail_routine(self, mes=("Failed to converge")):
      self.break_routine = True
      self.res.success = False
      self.X_min = [None]
      self.res.message = mes
  
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 27 for calling the SHGO obj's underlying member method code with example usage: obj.fail_routine(mes) without return types