用于多变量全局优化的 Python 模块 [英] Python module for multiple variable global optimization

查看:71
本文介绍了用于多变量全局优化的 Python 模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找实现常用技术的python模块 全局优化(在 N 维中找到函数的全局最小值)没有成功.

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.

如果您听说过在 python 中实现模拟退火或遗传算法,请分享.

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

推荐答案

Scipy 的 optimize 模块有一个 dual_annealing 函数可能适合您的需求.此外,您应该查看 PyEvolve 模块以进行遗传算法.

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

这篇关于用于多变量全局优化的 Python 模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆