code: def evalXKCD(individual, target_price):
      """Evaluates the fitness and return the error on the price and the time
      taken by the order if the chef can cook everything in parallel."""
      price = 0.0
      times = list()
      for item, number in individual.items():
          price += ITEMS[item][0] * number
          times.append(ITEMS[item][1])
      return abs(price - target_price), max(times)
  
file_path: deap/examples/ga/xkcd.py
imports: import random
  from operator import attrgetter
  from collections import Counter
  import numpy
  from deap import algorithms
  from deap import base
  from deap import creator
  from deap import tools
label_desc: Use image node_id 1 for calling a global function with example usage: evalXKCD(individual, target_price) and returns: abs,  max