-
Notifications
You must be signed in to change notification settings - Fork 19
Add KLUWrapper #296
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
Merged
Merged
Add KLUWrapper #296
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
4afaf7e
Add KLUWrapper submodule: direct libklu wrapper with sparse-RHS solve
claude 7ab42a3
Migrate ABA/PTDF/LODF/Virtual{PTDF,LODF,MODF} to KLULinSolveCache
claude 246d430
Use solve_sparse! in Ward reduction; add KLU wrapper tests
claude 8f1b91d
Simplify KLU wrapper and add KLULinSolvePool primitive
claude f9305ac
Make VirtualMODF parallel-safe via KLULinSolvePool
claude ab752d6
make the changes usable
jd-lara 5e685f5
handle bad cases in the wrapper
jd-lara af2af37
update testing
jd-lara 14b6644
improve pool safety
jd-lara 53c4c2b
extend usage to the other matrices
jd-lara 22b9d06
fix the pool bug
jd-lara a1f1c77
fix performance degratation
jd-lara 60527c9
fix testing
jd-lara fe4eef5
address luke's comment
jd-lara 76d41f0
add more testing
jd-lara dd8aa33
improve the testing
jd-lara 903393d
fix docs
jd-lara 1424602
add windows protection with gc
jd-lara ee1dcb2
add more measurements in KLU
jd-lara 786209b
add more measurements
jd-lara 9698d65
make windows serial
jd-lara daf1781
do some clean up in the use of the solver
jd-lara c45c096
extend use of the pool to other matrices
jd-lara 10c3d9b
make diagnostics optional
jd-lara b20414a
use the "solver" in the woodbury kernel
jd-lara bfe8dfe
fix tests
jd-lara f8ab02b
fix docstring issues
jd-lara 3eb99e4
address PR comments
jd-lara 2eb6f1f
implement other sentinel and invariance changes
jd-lara 0b5ef78
add testing as requested in the PR comments
jd-lara c717843
add lock on windows
jd-lara f567e27
add a retry survival mechanism
jd-lara 43a0940
more improvements
jd-lara 512870f
undo the addition of pools and keep the safeguards on KLU
jd-lara febc439
remove AA from deps
jd-lara 11d66ad
simplify caches
jd-lara 3325d75
use of isnothing clean ups
jd-lara eac003a
add mixed branch types
jd-lara a51ab82
add methods for mixed parallel types
jd-lara 4fa3a9b
add testing
jd-lara d5b95fb
add different methods for max calculation of the ratings
jd-lara 561b615
add missing methods for MixedBranchParallel
jd-lara 9599145
PR comments
jd-lara b46a349
add new methods for IS changes
jd-lara 49300db
bump PSY version
jd-lara c19b994
address PR comments
jd-lara File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Internals | ||
|
|
||
| The symbols documented on this page are **internal** to `PowerNetworkMatrices` and are | ||
| not part of the public API. They are documented here so that the published manual covers | ||
| every docstring shipped with the package, but they may change at any time without notice | ||
| and should not be relied on by downstream packages. | ||
|
|
||
| ## `KLUWrapper` | ||
|
|
||
| `PowerNetworkMatrices.KLUWrapper` is a thin, allocation-aware wrapper over `libklu` | ||
| (provided by `SuiteSparse_jll`) used internally for sparse linear solves. None of these | ||
| symbols are exported from `PowerNetworkMatrices`. | ||
|
|
||
| ```@autodocs | ||
| Modules = [PowerNetworkMatrices.KLUWrapper] | ||
| ``` |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.