非线性联立方程遗传算法中的代码

发布于 2024-09-24 04:06:26 字数 380 浏览 1 评论 0原文

我需要求解三个非线性联立方程

y1 = exp(-(r1 +r2)*t)
y2 = (r1/((r3+r4)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r3+r4]*t)]
y3 = (r1/((r5+r6)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r5+r6]*t)]

,其中 y1y2y3t 已知且 的目标是找到r1r2...r6。 我需要使用遗传算法来做到这一点。有人可以给我 codz 吗?

I need to solve three nonlinear simultaneous equations

y1 = exp(-(r1 +r2)*t)
y2 = (r1/((r3+r4)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r3+r4]*t)]
y3 = (r1/((r5+r6)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r5+r6]*t)]

where y1, y2, y3 and t is known and i aim to find r1, r2... r6.
I need to do this using genetic algorithm. Can someone provide me teh codz.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蒲公英的约定 2024-10-01 04:06:26

遗传算法不能完全解决此类问题
遗传算法可以给你 y1, y2, y3 的范围
欲了解更多信息,请参阅本文
http://citeseerx.ist .psu.edu/viewdoc/download?doi=10.1.1.80.2373&rep=rep1&type=pdf

genetic algorithm can't solve such problems completely
genetic algorithm can give you a range for y1, y2, y3
for more information see this paper
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.80.2373&rep=rep1&type=pdf

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文