code: def square(m: tp.Any) -> float:
      return pyomo.quicksum((m.x[i] - 0.5) ** 2 for i in m.x)
  
file_path: nevergrad/nevergrad/functions/pyomo/test_core.py
imports: import typing
  import os
  import numpy
  import pyomo.environ
  import nevergrad
  from .None import core
label_desc: Use image node_id 2 for calling a global function with example usage: square(m) and returns: pyomo