code: def constant_cost_withGradients(x):
      """
      Constant cost function used by default: cost = 1, d_cost = 0.
      """
      return np.ones(x.shape[0])[:, None], np.zeros(x.shape)
  
file_path: GPyOpt/GPyOpt/core/task/cost.py
imports: from ...models import GPModel
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: constant_cost_withGradients(x) and returns: np,  np