octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57113] fminunc return wrong Hessian matrix


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57113] fminunc return wrong Hessian matrix
Date: Mon, 28 Oct 2019 11:52:04 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Update of bug #57113 (project octave):

                  Status:                 Invalid => Confirmed              
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #3:

Matlab online gets the hessian right if x0 is sufficiently large (otherwise
the Hessian is NaN(2)):

[x, fval, info, output, grad, hess] = fminunc (@(x) sum (x.^2), 10*ones
(2,1))

hess = 
[2.0000    0.0000
 0.0000    2.0000]


I'm not an expert in numerical mathematics. But maybe there is something we
can do to at least come closer to Matlab's results?

The Hessian returned by Octave seems to strongly depend on x0.

Please, close again if you think what we have is good enough.

@Giuseppe: Can you please file another bug report if you have an example for
which fminsearch diverges?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57113>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]