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?