geatpy

Results 172 comments of geatpy

@zypruc 您好,NSGAII处理约束的方法见下文:K. Deb, A. Pratap, S. Agarwal and T. Meyarivan, "A fast and elitist multiobjective genetic algorithm: NSGA-II," in IEEE Transactions on Evolutionary Computation, vol. 6, no. 2, pp. 182-197,...

方法:玄学调参(比如调交叉、变异算子里的所有可调参数);换其他算法(比如换成NSGA3或者MOEA/D等);针对特定的问题设计在特定问题下效果更加好的改进算法(做到这一步可以发更好的paper了)。

没有内置的EDA算法呢。这个工具箱划的界限很清晰,只包含进化算法。

@rockming https://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp Hello, try to reinstall numpy.

It's a problem of your scipy. Reinstall the package "scipy" until you can run the following command successfully: `from scipy.special import comb`

因为前面版本开发没有很注意向下兼容的问题,所以使用的时候最好还是统一版本。

先验知识也有弊端,如果不改进环境选择策略,就会容易让进化算法陷入先验知识的局部最优当中。

打开调用的算法类 -> 注释掉里面调用的交叉、变异算子 -> 自定义Python函数实现自适应交叉、变异算子 -> 调用。

这个只跟使用的算法有关,跟用什么库、工具箱是无关的。