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

Patched conic: sequential gradient restoration algorithm needs to become SciPy-compatible #2

Open
translunar opened this issue Jan 24, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@translunar
Copy link
Collaborator

Right now the patched conic optimization code is written in pure Python.

I attempted to use SciPy to handle the Newton's method portion of the code, but found it to be infeasible because the SciPy implementation of Newton's method doesn't know what to do when the function is undefined on the other side of the root.

I also attempted to use SciPy's minimize_scalar function, but this, too, struggled with undefined function values. I ended up writing my own, for which the code is not terribly clean.

Finally, it's not totally clear to me how to implement SGRA and SCGRA (C for conjugate) in a framework which makes it compatible with SciPy.

Note: "SciPy" here is used interchangeably with "Numpy" since they seem to use the same optimization code.

@translunar translunar added the good first issue Good for newcomers label Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant