[SciPy-user] Minimize a bounded convex function

Geoffrey Zhu zyzhu2000@gmail....
Thu Oct 18 19:08:54 CDT 2007

Hi Everyone,

I am trying to minimize a convex function f(x) that is not defined
when x<=0 or when x>=1.5. I am trying to use scipy.optimize.golden(),
but when the minimal point is very close to zero, golden() will call
my target function on the undefined region. Is there any way to ensure
that the optimizer will only look for answers within the domain?


More information about the SciPy-user mailing list