code: def objective(x):
      from numpy import abs, sum, cos, product, sqrt
  
      sum_jx = 0.0
      for j in range(len(x)):
          sum_jx = sum_jx + (j + 1) * x[j] ** 2
      return -abs(
          (sum(cos(x) ** 4) - 2.0 * product(cos(x) ** 2)) / sqrt(sum_jx)
      )
  
imports: from mystic.constraints import and_
  from mystic.symbolic import generate_constraint, generate_solvers, generate_penalty, generate_conditions, simplify, symbolic_bounds
label_desc: Use image node_id 1 for calling a global function with example usage: objective(x) and returns: unknown