Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scipy.optimize.fmin lacks the optional argument "initial_simplex" #522

Closed
tttom opened this issue Sep 11, 2019 · 3 comments
Closed

scipy.optimize.fmin lacks the optional argument "initial_simplex" #522

tttom opened this issue Sep 11, 2019 · 3 comments

Comments

@tttom
Copy link

tttom commented Sep 11, 2019

Hi all,

It appears that scipy.optimize.fmin doesn't recognize the initial_simplex argument. This optional input argument is documented here.

Specifically, I call the fmin function as:
## py
import scipy.optimize
scipy.optimize.fmin(lambda x: x**2, 0.0, initial_simplex=[[0.0], [1.0]])
on https://alpha.iodide.io/tryit

I am a bit surprised that something this specific is not implemented while nearly everything else runs perfectly fine with pyodine. Am I missing something? If not, does anybody know where the issue lies?

Thanks,

Tom

@rth
Copy link
Member

rth commented Sep 11, 2019

We are unfortunately using a somewhat outdated version of scipy 0.17, so the right documentation for that function would be https://docs.scipy.org/doc/scipy-0.17.0/reference/generated/scipy.optimize.fmin.html

Updating scipy would be good, but it would require some effort and working around Fortran issues #184

@tttom
Copy link
Author

tttom commented Sep 11, 2019

Thanks for the quick answer!

@rth
Copy link
Member

rth commented Jan 3, 2022

This should be resolved in the next release with #2065

@rth rth closed this as completed Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants