diff NEWS @ 26137:1ae11ca7dceb

fminunc.m: Change algorithm defaults to match Matlab. * NEWS: Announce changes. * fminunc.m: Rewrite documentation. Change default options to match Matlab (TolX -> 1e-6 from 1e-7, TolFun -> 1e-6 from 1e-7, FinDiffType -> "forward" from "central", "MaxFunEVals" -> 100*number of variables from Inf. Adjust BIST tests to pass with new tolerances.
author Rik <rik@octave.org>
date Sun, 25 Nov 2018 21:15:51 -0800
parents f6f16b842d5d
children 247126168d23
line wrap: on
line diff
--- a/NEWS	Sun Nov 25 19:22:37 2018 +0100
+++ b/NEWS	Sun Nov 25 21:15:51 2018 -0800
@@ -67,6 +67,16 @@
         MaxIter      |      500       |     Inf
         TolX         |     1e-4       |     1e-8
 
+ ** The fminunc function has changed defaults for Matlab compatibility.
+    This *may* result in existing code producing different results.
+
+          Option     |  New Default   |  Old Default
+      ------------------------------------------------
+        FinDiffType  |   "forward"    |   "central"
+        MaxFunEvals  | 100*length(x0) |     Inf
+        TolX         |     1e-6       |     1e-7
+        TolFun       |     1e-6       |     1e-7
+
  ** Figure graphic objects have a new property "Number" which is
     read-only and will return the handle (number) of the figure.
     However, if the property "IntegerHandle" has been set to "off" then