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 __future__ import division, print_function, absolute_import
  import numpy
  import time
  import logging
  import warnings
  from scipy import spatial
  from scipy.optimize import OptimizeResult, minimize
  from scipy.optimize._shgo_lib import sobol_seq
  from scipy.optimize._shgo_lib.triangulation import Complex
label_desc: Use image node_id 25 for calling the SHGO obj's underlying member method code with example usage: obj.fail_routine(mes) without return types