[SciPy-user] Can scipy resolve this problem?
Robert Kern
robert.kern at gmail.com
Wed Jan 7 03:15:19 EST 2009
On Wed, Jan 7, 2009 at 02:05, zhang chi <zhangchipr at 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
More information about the SciPy-User
mailing list