On Mon, May 16, 2011 at 12:44:45PM +0200, Dr. Dietmar Wolz wrote:
> Nikolaus Hansen, Luc and me discussed this issue in Toulouse.
> We have two options to handle this kind of failure in tests of stochastic
> optimization algorithms:
> 1) fixed random seed - but this reduces  the value of the test 
> 2) Using the RetryRunner - preferred solution
> 
> @Retry(3) should be sufficient for all tests.

In fact, I've only ever seen "testMaximize" and (less often) "testRosen"
fail. So, for the time being, I'd add "@Retry" to those only.

> Shall I prepare a patch?

It is not necessary; I'll make this trivial change.


Thanks,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to