声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4222|回复: 3

请问一下在fmincon中exitflag=5的问题?

[复制链接]
发表于 2006-4-7 09:15 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
什么意思,怎么解决呢?<BR>Magnitude of directional derivative was less than the specified tolerance and constraint violation was less than options.TolCon. <BR>
回复
分享到:

使用道具 举报

发表于 2006-4-7 17:29 | 显示全部楼层

回复:(appla)请问一下在fmincon中exitflag=5的问题...

exitflagDescribes the exit condition:<BR>&gt; 0The function converged to a solution <BR>= 0The maximum number of function evaluations or iterations was exceeded.<BR>&lt; 0The function did not converge to a solution.
 楼主| 发表于 2006-4-8 10:13 | 显示全部楼层

回复:(darcy)回复:(appla)请问一下在fmincon中e...

<P>谢谢楼上的,但是&gt;0收敛于一点并不意味着就是它的最优解吧,在我的程序中出现过好几次exitflag=5,或者是4,<BR>说它的约束小于给定的TolCon设置,那么=5的时候取得的解可以认为是最优解吗?</P>
发表于 2006-4-8 14:50 | 显示全部楼层

回复:(appla)请问一下在fmincon中exitflag=5的问题...

应该是说在可行域内达到了最优解
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-10-4 05:30 , Processed in 0.051895 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表