forum.alglib.net http://forum.alglib.net/ |
|
Non-linear optimization problem near a local optimum http://forum.alglib.net/viewtopic.php?f=2&t=2509 |
Page 1 of 1 |
Author: | johan [ Tue Jul 07, 2015 6:03 pm ] |
Post subject: | Non-linear optimization problem near a local optimum |
Problem (this is not a "homework" problem but a "minimum working example" of the problem that I think I have. My problem can only be solved using least-square-ish approaches): Using f(x) = sin(x), find the solution for f(x) = 0 using the Levenberg-Marquardt (LM) argorithm that is closest to x = 0.9 * (pi/2) as initial guess. Hence, a local optimum is searched for. The expected solution is x = 0. However, the alglib implementation of LM yields -18.85, which numerically represents -6 * pi. Further, assume that:
Questions:
<update>: The following can help to obtain the correct solution:
But what if bounds and/or step size information is not available? ==== Many thanks in advance! |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |