commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <>
Subject [jira] Commented: (MATH-177) Provide a general minimizing package with a classical Gauss-Newton algorithm
Date Sun, 18 Jan 2009 15:48:59 GMT


Luc Maisonobe commented on MATH-177:

The Brent minimizer class has been added in trunk in the new minimization package as of r735475.
Some tests have been added, but they fail unless very loose threshold are used. The algorithm
also seems to be very slow for now. This seems to be due to the fact the parabolic fitting
is in fact
never used during the tests, only the golden section part is used leading to a very large
number of
iterations (between 45 and 50) and low accuracy.

I didn't investigate the problem. This may be due to the refactoring I did to fit the new
interfaces and
our current coding style.

Gilles, could you review what I have done ?

> Provide a general minimizing package with a classical Gauss-Newton algorithm
> ----------------------------------------------------------------------------
>                 Key: MATH-177
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Mick
>            Assignee: Luc Maisonobe
>             Fix For: 2.0
>         Attachments:,,
> Currently the math API provides least squares only method for minimizing (solving). The
limitation to least-squares problems comes from the Levenberg-Marquardt algorithm. A more
general minimizer (not for quadratic forms) could be implemented by refactoring this with
a classical GN, steepest descent and also conjugate gradient. We could use them as a basis
for some least-squares solvers (and also keep the very efficient and specialized Levenberg-Marquardt
> Based on email exchange with Luc Maisonobe entitled [math] Minimizer on 1/15/08.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message