code: def penalty(x):
      return pf(x)
  
imports: from mystic.constraints import unique, near_integers
  from mystic.symbolic import generate_constraint, generate_solvers, solve
  from mystic.symbolic import generate_penalty, generate_conditions
  from mystic.penalty import quadratic_inequality, quadratic_equality
  from numpy import round, hstack, clip
label_desc: Use image node_id 2 for calling a global function with example usage: penalty(x) and returns: pf