首页 > 其他 > 详细

[Octave] optimset()

时间:2017-03-09 22:47:50      阅读:291      评论:0      收藏:0      [点我收藏+]

Create options struct for optimization functions.

 

optimset(‘parameter‘, value, ...);
%设置所有参数及其值,未设置的为默认值

optimset(optimfun);
%设置与最优化函数有关的参数为默认

optimset(old, ‘parmeter‘, ‘value‘, ... );
%复制已有的设置,并修改特定项

optimset(old, new);
%两项合并

  

GradObj

When set to "on", the function to be minimized must return a second argument which is the gradient, or first derivative, of the function at the point X.  If set to "off" [default], the gradient is computed via finite differences.

 

 

MaxIter

Maximum number of algorithm iterations before optimization stops.  Must be a positive integer.

[Octave] optimset()

原文:http://www.cnblogs.com/KennyRom/p/6528169.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!