geatpy
geatpy copied to clipboard
Evolutionary algorithm toolbox and framework with high performance for Python
有什么官方的文献可以用来引用geatpy嘛?
请问一下目前使用多目标运行计算,运行报错如下 ![image](https://user-images.githubusercontent.com/37931116/146812806-c3ff734e-cac3-4e85-8409-860092663c2a.png) 配置为moea_NSGA2_templet算法,目标函数计算赋值为pop.ObjV = np.vstack([list1, list2]).T,编码方式为Encoding = 'RI' ,目标维数M=2,maxormins = [-1, -1] # 初始化maxormins(目标最小最大化标记列表,1:最小化该目标;-1:最大化该目标)请问一下这个需要怎么解决呢
def __init__(self, problem, population): ea.SoeaAlgorithm.__init__(self, problem, population) # 先调用父类构造方法 if type(population) != list: raise RuntimeError('传入的种群对象列表必须为list类型') self.name = 'multi-SEGA' self.PopNum = len(population) # 种群数目 self.selFunc = 'tour' # 锦标赛选择算子 self.migFr =...
所使用的soea_multi_SEGA_templet进化模板中,最后一个种群的变异率设置为1是否过大?里面使用了压缩变异算子,关于这个算子是否必须要用比较大的变异率?烦请老师解释一下具体原因。
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...
您好,请问在使用单目标进化模板soea_SEGA_templet时,能否直接输出记录每一代的最优结果和目标函数值?还是需要自己编写代码实现?