code: def penalty(x):  # == 0.0
      return x[1] + x[0] - 1.0
  
imports: from cvxqp import objective, bounds, xs, ys
  from mystic.penalty import quadratic_equality
  from mystic.constraints import with_penalty
label_desc: Use image node_id 1 for calling a global function with example usage: penalty(x) and returns: unknown