Ethunxxx
Ethunxxx

Reputation: 1337

Difference between scipy.optimize.fmin_powell() and scipy.optimize.minimize(..., method='Powell')

What is the difference between scipy.optimize.fmin_powell() and scipy.optimize.minimize() with the method specified as 'Powell'?

Upvotes: 2

Views: 826

Answers (1)

jakevdp
jakevdp

Reputation: 86330

The only difference between the two is the interface. Under the hood they are doing the exact same computations.

The minimize() function is a more recently-added wrapper (available since scipy version 0.14) that provides a more convenient uniform interface for the various solvers available in scipy.optimize. minimize(method='powell') and fmin_powell() both internally call the same _minimize_powell() private function that does the bulk of the work.

Upvotes: 5

Related Questions