code: def distance(feasible_ind, original_ind):
      """A distance function to the feasibility region."""
      return sum(
          (f - o) ** 2 for f, o in zip(feasible_ind, original_ind)
      )
  
file_path: deap/examples/es/cma_mo.py
imports: import numpy
  from deap import algorithms
  from deap import base
  from deap import benchmarks
  from deap.benchmarks.tools import hypervolume
  from deap import cma
  from deap import creator
  from deap import tools
label_desc: Use image node_id 1 for calling a global function with example usage: distance(feasible_ind, original_ind) and returns: sum