4
$\begingroup$

Can the Levenberg-Marquardt algorithm be used for minimization and not fitting?

Usually we input the derivative of the function we want to fit in the minimizer. Now if I assume I have an objective function $f(t;a,b,c)$ (which I want to minimize with respect to the parameters $a,b,c$). Then I would not see a way to input something equivalent to the derivatives that I input for fitting.

So what should I do in this case?

Why am I asking this question? I have developed some C++ code for fitting with Levenberg-Marquardt, and it's a piece of art that I don't want to lose by starting from scratch with a new minimizer.

What do you think?

$\endgroup$

2 Answers 2

9
$\begingroup$

The Levenberg-Marquardt method can be used to minimize any problem of the form: $ \min f(x)=\sum_{i=1}^{m} f_{i}(x)^{2} $ However, if the objective functino to be minimized is not a sum of squares, then the method is no longer applicable.

$\endgroup$
2
  • $\begingroup$ This is just... sad! $\endgroup$ Commented Nov 26, 2013 at 17:00
  • 1
    $\begingroup$ "no longer applicable" may be a bit strong. Often, the method can still be applied. In practice, it may still be a reasonably fast approach, just not a guaranteed fool-proof one. $\endgroup$
    – André
    Commented Jan 11, 2014 at 19:15
3
$\begingroup$

Take a look at the book by Nocedal and Wright, "Numerical Optimization", to see the Levenberg-Marquardt method in more context than just fitting.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.