Python module for multiple variable global optimization

雨燕双飞 提交于 2019-12-20 10:33:39

问题


I have been looking for a python module that implements the common techniques of global optimization (finding the global minimum of a function in N dimensions) without success.

If you heard about a simulated annealing or genetic algorithm implementation in python, please share.


回答1:


Scipy's optimize module has an anneal function that might fit your needs. Also, you should check out the PyEvolve module for doing a genetic algorithm.




回答2:


I'm not an expert, but have you looked at:

  • Scipy's optimize: http://docs.scipy.org/doc/scipy/reference/optimize.html#global
  • NLOpt: http://ab-initio.mit.edu/wiki/index.php/NLopt_Introduction
  • OpenOpt: http://openopt.org/Foreword



回答3:


One of the most common is scipy.optimize.

For genetic algorithms, there's pygene.

Also, the aima-python project has implementations of algorithms described in Russell and Norvig's "Artificial Intelligence: A Modern Approach".



来源:https://stackoverflow.com/questions/4227538/python-module-for-multiple-variable-global-optimization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!