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

Define error code for failed factorization #95

Open
mtanneau opened this issue Apr 18, 2021 · 0 comments
Open

Define error code for failed factorization #95

mtanneau opened this issue Apr 18, 2021 · 0 comments

Comments

@mtanneau
Copy link
Member

Currently, failed factorizations are handled in the IPM solver via a try ... catch block that intercepts PosDefExceptions and increases regularizations.

It would be more flexible/general to have KKT.update! return a status code, which would be used to flag numerical issues, etc.
This would allow to do away with the try ... catch, which is not the most compiler-friendly approach.

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

1 participant