appla 发表于 2006-4-7 09:15

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

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

christy 发表于 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.

appla 发表于 2006-4-8 10:13

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

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

happy 发表于 2006-4-8 14:50

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

应该是说在可行域内达到了最优解
页: [1]
查看完整版本: 请问一下在fmincon中exitflag=5的问题?