geatpy icon indicating copy to clipboard operation
geatpy copied to clipboard

Evolutionary algorithm toolbox and framework with high performance for Python

Results 145 geatpy issues
Sort by recently updated
recently updated
newest added

开发者您好: 想请教一下您:这个优化算法如何重启呢?如果计算机停了,如何接着上一次的运算继续运算呢? 谢谢。

我的目标函数是训练好的神经网络 很奇怪,多目标优化获得的目标值和我神经网络输出的结果不一样。这是为什么? 比如,优化的得到的是x1=40,x2=10,x3=50,目标值y=5 但是实际上,我这组x直接带入神经网络得到的y是2

能否提供一个所有版本的二进制依赖文件的下载地址。开发的时候可以对各个 Python 版本在各个平台进行测试。我可以 PR 一个用 GitHub Workflow 的版本。也可以写一些测试,提高代码的测试率。

比如我需要对50个编码进行排列,那么就有50个变量,在编写目标函数的时候如何处理?一个个从x1写到x50似乎不太现实

**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...

def aimFunc(self, pop): # aimFunc里面你可以用任何方式给ObjV赋值,所以最后只要给Objv赋值,并且符合Geatpy数据结构格式就可以 ''' 功能:计算种群的目标函数 输入:实例,种群 mask是种群中的一个解 输出:种群的目标函数值 ''' Vars = pop.Phen # 得到决策变量矩阵,种群的表现型矩阵 all_mask_F = [] for solution in Vars: mask_F = [] for i in range(len(solution)):...

**Describe the bug** 请问如何在Jupyter里显示动画? **To Reproduce** Steps to reproduce the behavior: 1. 在Jupyter的一个单元格里,把drawing从1改为2后 2. 运行 3. 循环出现新的空白图,以及一串说明: No artists with labels found to put in legend. Note that artists whose...

由于想循环优化多行数据,所以想把drawing都保存在同一个路径下面,而不是像现在这样根据时间生成。