[SciPy-user] Can scipy resolve this problem?

zhang chi zhangchipr@gmail....
Wed Jan 7 02:18:26 CST 2009


Thank you.

"step" I mean if x1 $\in$ [2,5], the x1 $\in$ [2,3,4,5]

On Wed, Jan 7, 2009 at 4:15 PM, Robert Kern <robert.kern@gmail.com> wrote:

> On Wed, Jan 7, 2009 at 02:05, zhang chi <zhangchipr@gmail.com> wrote:
> > hi
> >     I want to get the minimum value of a derivative free optimization
> > problem.  The function F(x1,x2) can't be given the expression, but the
> > function can be realized using python language.  Where x1 $\in$ [1,100],
> and
> > x2 $\in$ [50,80]. Can scipy resolve this problem?
>
> Use fmin_tnc, fmin_l_bfgs_b, or fmin_slsqp for plain bounds like this.
>
> > I have tried the cobyla,
> > but it cannot find the minimum value.
> > By the way, the step of x1 and x2 is 1.
>
> What do you mean by "the step"?
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20090107/ad929172/attachment.html 


More information about the SciPy-user mailing list