> I'm supplying a random point x_lower close to a minimum and another at > x_lower+some small value. This works quite well whenever x_lower is on > the left-hand side of the minimum I'm trying to bracket (that is, the > true x_min is > x_lower) but fails whenever x_lower is on the right-hand > side of the minimum (true x_min < x_lower).
It sounds as if the undesired behavior occurs when the bracket [x_lower, x_lower+delta] does not bracket the minimum x_min. And that the routine is finding the smallest f(x) in the initial bracket, only stopping when the bracket is too small to stably continue. Is this the case? If so, what behavior did you expect? - Rhys
