のねのBlog

パソコンやソフト開発で起きた問題など書きます。よろしくお願いします。

Octave fmincg options

>> help optimset
'optimset' is a function from the file 
    C:\Octave\Octave-4.2.0\share\octave\4.2.0\m\optimization\optimset.m

 -- optimset ()
 -- OPTIONS = optimset ()
 -- OPTIONS = optimset (PAR, VAL, ...)
 -- OPTIONS = optimset (OLD, PAR, VAL, ...)
 -- OPTIONS = optimset (OLD, NEW)
     Create options structure for optimization functions.

     When called without any input or output arguments, 'optimset'
     prints a list of all valid optimization parameters.

     When called with one output and no inputs, return an options
     structure with all valid option parameters initialized to '[]'.

     When called with a list of parameter/value pairs, return an options
     structure with only the named parameters initialized.

     When the first input is an existing options structure OLD, the
     values are updated from either the PAR/VAL list or from the options
     structure NEW.

     Valid parameters are:
     AutoScaling
     ComplexEqn

Displayは、デフォルトオフなんだ。

     Display
          Request verbose display of results from optimizations.  Values
          are:

          "off" [default]
               No display.

          "iter"
               Display intermediate results for every loop iteration.

          "final"
               Display the result of the final loop iteration.

          "notify"
               Display the result of the final loop iteration if the
               function has failed to converge.
     FinDiffType

FunValCheck
When enabled, display an error if the objective function
returns an invalid value (a complex number, NaN, or Inf).
Must be set to "on" or "off" [default]. Note: the functions
'fzero' and 'fminbnd' correctly handle Inf values and only
complex values or NaN will cause an error in this case.
|