-
Notifications
You must be signed in to change notification settings - Fork 729
似乎无法基于先验解继续寻优 #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
请根据代码自行检查修改框架代码。Geatpy主要只提供和维护EA算子。 |
好的,谢谢您的回复。可能是算法机制的导致先验解无法保留,应该不是函数没有起作用 |
进一步测试发现原因在于算法的调用方式。使用[Best, population] = myAlgorithm.run(prophetPop)的方式调用算法模板不会丢失先验解,而使用res = ea.optimize(myAlgorithm, prophets=prophetPop)的调用方式会丢失,可能是es.optimize调用方式中的prophets=prophetPop未起作用 |
您好,最后是怎么实现基于先验解来继续寻优的呢? |
抱歉先前回答有误。 """===============================1.根据先验知识创建先知种群=============================""" |
开发者您好,我在计算时输入的prophetChrom是比较优的解,但是为什么保留不下来,不能基于其再寻优呢?无论是哪个进化算法似乎都在重新搜索而产生比先验解更差的解。
The text was updated successfully, but these errors were encountered: