Ask Your Question
0

How does one provide initial step size for fmin in scipy?

asked 2011-03-17 17:36:34 +0100

Shashank gravatar image

I am trying to minimize a funtion f(x,y) over a domain that is considerably large for x than y. Also the domain of y is much less than one. I want to minimize the function using simplex algorithm provided in scipy - fmin. The same algorithm in gsl has a option of providing inital step size. However, I don't see that option in scipy. Is there a way to provide a initial step-size, or any other python implementation of function minimization that just requires the function not its derivatives in which I can provide the initial step size?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-03-17 19:57:31 +0100

Felix Lawrence gravatar image

scipy.optimize.fmin_powell seems to do what you want - specify direc. There's also a pretty good summary page of the optimization routines available in scipy.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-03-17 17:36:34 +0100

Seen: 2,586 times

Last updated: Mar 17 '11