geatpy
geatpy copied to clipboard
Evolutionary algorithm toolbox and framework with high performance for Python
如何修改绘图字体
如何修改结果图的字体?或者如何保存迭代过程中,种群的目标函数值?
开发者您好: (1)想请教一下如何设置交叉率:我在下面这个快速入门的文档上看到, http://geatpy.com/index.php/2020/10/19/3-%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A82-6-x/ 在main.py里设置:pc=0.4,就可以了。 但是我在另外一个例子里看到需要写: myAlgorithm.recOper.XOVR = 0.5 # 设置交叉概率 到底采用哪个呢? (2)如何设置变异率呢?我在上面链接的例子里看到:pm=1/Lind, Lind是染色体的长度。这个染色体的长度可以自己设置吗?还是说每个染色体长度都是某个值呢? 谢谢。
想要通过geatpy实现estimation of distribution algorithm(EDA)
**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...
如上所述,近期在做一个问题的模型建立,但约束条件计算方式重复, 想请问大大能否用回圈写入约束条件,有的话能告诉我范例吗?
请教一个使用遗传算法进行单目标优化的问题: 在运行到第一代的时候,目标函数值可以被赋到ObjV这个属性里面,但是只要到了第二代,就没有办法赋值进去,就会报一个objv is illegal的错误,所以对于单目标的优化,ObjV的行数是,种群个数乘以进化代数,然后列数是一列吗?我的矩阵就是这个大小,但是还是说格式不对,所以说objv应该是什么排列格式呢?
Ray provides a simple, universal API for building distributed applications. Meanwhile, it has been widely used in industry. Such as Intel, Mircosoft, Antgroup... https://ray.io/ https://github.com/ray-project/ray I wish that Geatpy and...
请问 为什么我把myAlgorithm.drawing =设置为1代码可以正常运行并结束,但是设置为2的时候就会报“x and y must have same first dimension, but have shapes (50,) and (38, 1)”这样的错误?
请问我训练200轮,卡在199,也弹出了结果图,但是不会进行下一步的save,这是什么原因造成的呢?