关于fmincon函数进行优化
利用fmincon进行非线性有约束优化问题提示
“Optimization terminated: first-order optimality measure less than options.TolFun
and maximum constraint violation is less than options.TolCon.
Active inequalities (to within options.TolCon = 1e-006):
lower upper ineqlin ineqnonlin
2
4
如何关掉
不显示
[ 本帖最后由 lxq 于 2006-9-6 19:56 编辑 ] 干吗要关掉呢,这样不挺好的 ff=optimset;ff.Display='off';或者Display='final'应该可以吧? options=optimset('display',off');
=fmincon('function',x0,A,b,Aeq,beq,lbn,ubn,'nonline',options)
这样就可以了
页:
[1]