[SciPy-user] Minimize a bounded convex function

Geoffrey Zhu zyzhu2000 at gmail.com
Thu Oct 18 20:08:54 EDT 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?

Thanks,
Geoffrey



More information about the SciPy-User mailing list