code: def hartmann3_01(x):
      """Hartmann function in 3D with alpha."""
      # pylint: disable=bad-whitespace
      x = np.array(x)
      A = np.array(
          [[3.0, 10, 30], [0.1, 10, 35], [3.0, 10, 30], [0.1, 10, 35]],
          dtype=np.float64,
      )
      P = 1e-4 * np.array(
          [
              [3689, 1170, 2673],
              [4699, 4387, 7470],
              [1091, 8732, 5547],
              [381, 5743, 8828],
          ],
          dtype=np.float64,
      )
      log_sum_terms = (A * (P - x) ** 2).sum(axis=1)
      alpha = np.array([1.0, 1.2, 3.0, 3.2])
      return alpha.dot(np.exp(-log_sum_terms))
  
file_path: dragonfly/examples/synthetic/multiobjective_hartmann/multiobjective_hartmann.py
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: hartmann3_01(x) and returns: alpha