There are numerous examples when the optimization might not have converged to the stopping condition, but the minimum discovered point is better than the starting point that was initially provided. The user should have the ability to at least decide if it is good enough, or use it as a starting point into a different optimization run. This is the behavior that most optimizers have, including MATLAB.
This functionality important when you have a time constraint, where any improvement in result is better than no information at all. There are also non-convex regions of a function where the convergence rate is very slow, and you might want to stop. A simple modification for now is to just let org.apache.commons.math3.exception.TooManyEvaluationsException contain within it the best found solution so far. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org