Switch default solver to scipy.linalg.solve() [#846 issue]#904
Merged
s3alfisc merged 3 commits intopy-econometrics:masterfrom May 19, 2025
Merged
Switch default solver to scipy.linalg.solve() [#846 issue]#904s3alfisc merged 3 commits intopy-econometrics:masterfrom
s3alfisc merged 3 commits intopy-econometrics:masterfrom
Conversation
Member
|
Thanks @AronNemeth ! In principle this looks good, but we seem to run into an rpy2 error. Sometimes these go away by just waiting a bit, so I will run the tests again tomorrow and see if the error vanishes by itself 😅 |
…ite -> Cholesky works
Contributor
Author
|
I updated the test matrix to be symmetric and positive definite, so that Cholesky Decomposition doesn't fail |
s3alfisc
approved these changes
May 19, 2025
Member
s3alfisc
left a comment
There was a problem hiding this comment.
Will merge despite failing workflows. Not sure what is going on there & will debug separately. Thank you @AronNemeth!
damandhaliwal
pushed a commit
to damandhaliwal/pyfixest
that referenced
this pull request
Jun 17, 2025
…sue] (py-econometrics#904) * Solvers: switching to scipy.linalg.solve as default * update test/solvers * Update tests_solvers: new test matrix is symmetric and positive definite -> Cholesky works --------- Co-authored-by: Alexander Fischer <alexander-fischer1801@t-online.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue #846
Changed default solver to Cholesky decomposition implemented in scipy.linalg.solve(A,b, assume_a="pos").