[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8047] New function for odepkg
From: |
Olaf Till |
Subject: |
[Octave-patch-tracker] [patch #8047] New function for odepkg |
Date: |
Tue, 14 May 2013 12:27:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121207 Iceweasel/3.5.16 (like Firefox/3.5.16) |
Follow-up Comment #4, patch #8047 (project octave):
On Tue, May 14, 2013 at 08:25:56AM +0200, c. wrote:
> <snip>
> Yes it is meant for problems with large, sparse jacobians
> <snip>
> indeed it is a zero-finder but many ptimization functions could made
> to optionally use it when dealing with large problems.
Principally yes, but this probably has some issues:
- It would be an algorithm without constraints (but this could be
o.k. due to its specialization).
- The user could not, as usual, specify a Hessian function of the
parameters directly, but would have to do it indirectly for
this algorithm by specifying a jacobian (for inexact_newton)
of the gradient function (of the outer algorithm).
- A user-specified (in which way whatever) Hessian would not
necessarily be positive definite. This can spoil the outer
algorithm which uses inexact_newton.
- A user-specified Hessian isn't even necessarily non-singular.
I'm not sure that inexact_newton would cope with that.
> <snip>
> so you suggest adding inexact_newton both in odepkg and optim? I
> think it could be done if we make it private in odepkg to avoid
> conflicts ...
Yes, something like that. I don't suggest it, but it would be a way if you
value independence. Which Sebastian seems to do. I think this way would also
be compatible with his suggestion to make inexact_newton rather a configurable
sub-algorithm of an existing solver.
Anyway I think it could be good if this function were also in 'optim'.
Olaf
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8047>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/