import numpy as np# 定义适应度函数 def fitness_func(x):return sum(x2)# 初始化金豺群体 def init_jackal_population(num_jackals, dim):jackals = []for...