zoukankan      html  css  js  c++  java
  • [Octave] optimset()

    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.

  • 相关阅读:
    SQL数据转移
    怎么将控制台的打印输出到文本文件中
    用来控制 XML 序列化的属性
    excel内容转成xml
    HTTP状态码
    char、varchar、nchar、nvarchar的区别
    C# Cookie编程
    android的原理--为什么我们不需要手动关闭程序
    HTTP协议及HTTP包
    HTTP 方法:GET 对比 POST
  • 原文地址:https://www.cnblogs.com/KennyRom/p/6528169.html
Copyright © 2011-2022 走看看