wwong
10-01-2007, 03:29 PM
Hello there.
I've been working on data fitting using the BoundedLeastSquares without providing a Jacobian, and it's been finding good solutions most of the time. It takes a while to find a solution though. To speed things up, I tried supplying the Jacobian. Unfortunately, now the solutions aren't as good because it frequently terminates early with a message to the effect of "com.imsl.math.BoundedLeastSquares: Scaled step tolerance satisfied; the current point may be an approximate local solution, or the algorithm is making very slow progress and is not near a solution, or "scaledStepTol" is too big.". The size of the problem is around 1000 functions (one function per data point) and a cap of around 300 variables. Are there things I can do with the tolerance settings or scale settings to improve the results? I would imagine that providing the Jacobian would come up with a solution as good as the one without the Jacobian, but faster.
Thanks.
Warren
I've been working on data fitting using the BoundedLeastSquares without providing a Jacobian, and it's been finding good solutions most of the time. It takes a while to find a solution though. To speed things up, I tried supplying the Jacobian. Unfortunately, now the solutions aren't as good because it frequently terminates early with a message to the effect of "com.imsl.math.BoundedLeastSquares: Scaled step tolerance satisfied; the current point may be an approximate local solution, or the algorithm is making very slow progress and is not near a solution, or "scaledStepTol" is too big.". The size of the problem is around 1000 functions (one function per data point) and a cap of around 300 variables. Are there things I can do with the tolerance settings or scale settings to improve the results? I would imagine that providing the Jacobian would come up with a solution as good as the one without the Jacobian, but faster.
Thanks.
Warren