code: def compute_integrated_acquisition(acquisition, x):
      """
      Used to compute the acquisition function when samples of the hyper-parameters have been generated (used in GP_MCMC model).
  
      :param acquisition: acquisition function with GpyOpt model type GP_MCMC.
      :param x: location where the acquisition is evaluated.
      """
  
      acqu_x = 0
  
      for i in range(acquisition.model.num_hmc_samples):
          acquisition.model.model.kern[
              :
          ] = acquisition.model.hmc_samples[i, :]
          acqu_x += acquisition.acquisition_function(x)
  
      acqu_x = acqu_x / acquisition.model.num_hmc_samples
      return acqu_x
  
file_path: GPyOpt/GPyOpt/util/general.py
imports: import numpy
  from scipy.special import erfc
  import time
  from ..core.errors import InvalidConfigError
label_desc: Use image node_id 1 for calling a global function with example usage: compute_integrated_acquisition(acquisition, x) and returns: acqu_x