[Math] Comments on the new optim API (Was: [CANCEL][VOTE] ...)

2012-12-18 Thread Gilles Sadowski
On Tue, Dec 18, 2012 at 01:24:06PM -0500, Konstantin Berlin wrote: -1 Per issue MATH-902: Its hard for me to read all the code, but at first pass it seems that in BOBYQAOptimizer, maybe for others, no convergence criterion is set. So there is actually no way to set the maximum number of

Re: [Math] Comments on the new optim API (Was: [CANCEL][VOTE] ...)

2012-12-18 Thread Konstantin Berlin
I see that BOBYQAOptimizer calls getEvaluations(). The too many evaluations exception can be caught on the doOptimizations level, and the currentBest value can be extracted. I would like to stress my original point. In an expensive optimization it is not clear a priori if you always have the