Kvothe
Kvothe

Reputation: 285

Difference between minimize(method=’BFGS’) and scipy.optimize.fmin_bfgs

What is the main difference between minimize(method=’BFGS’) and scipy.optimize.fmin_bfgs? In which situations should one be preferred over the other?

Upvotes: 0

Views: 469

Answers (1)

sascha
sascha

Reputation: 33522

It's the same function.

Choose the interface you prefer, minimize usually being easier to use also allowing to swap out the algorithm if needed.

Upvotes: 2

Related Questions