code: def func(x):
      curve = func_value(x[0:3])
      return -(sum(np.dot(curve, production)) - Q + x[3])
  
imports: from mystic.solvers import diffev2, fmin_powell
  from mystic.penalty import quadratic_inequality
  from mystic.monitors import VerboseMonitor
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: func(x) and returns: unknown