code: def drop_tabu_points(xf, tabulist, tabulistsize, tabustrategy):
      """Drop a point from the tabu search list."""
      if len(tabulist) < tabulistsize:
          return tabulist
  
      if tabustrategy == "oldest":
          tabulist.pop(0)
      else:
          distance = np.sqrt(np.sum((tabulist - xf) ** 2, axis=1))
          index = np.argmax(distance)
          tabulist.pop(index)
  
      return tabulist
  
imports: import numpy
  from scipy.optimize import minimize
label_desc: Use image node_id 2 for calling a global function with example usage: drop_tabu_points(xf, tabulist, tabulistsize, tabustrategy) and returns: tabulist, tabulist