CPU approximate-Cholesky preconditioner for graph-Laplacian / SDDM linear systems
Project description
apxchol (Python, CPU)
Approximate-Cholesky preconditioner for graph-Laplacian / SDDM linear systems.
pip install apxchol
Prebuilt wheels: Linux x86_64 (manylinux), CPython 3.10–3.14. CPU only.
import apxchol
solver = apxchol.solver(A) # scipy sparse SPD Laplacian or SDDM; factor once
res = solver.solve(b, tol=1e-8, maxiter=500)
res.x, res.iters, res.residual, res.converged
z = solver.apply(r) # M^{-1} r
M = solver.aslinearoperator() # use as M= in scipy.sparse.linalg.cg
res = apxchol.solve(A, b) # one-shot convenience
Laplacian vs SDDM is auto-detected: singular Laplacians get a rank-(n−1)
factor with native null-space handling; SDDM systems get the full-rank factor.
The factor is built once per solver(A) and reused across right-hand sides;
solve runs the library's OpenMP-parallel PCG (threads via OMP_NUM_THREADS).
Defaults only — tuning parameters, GPU, and 64-bit indices (n or nnz ≥ 2³¹) are not exposed in this version.
License
Interim academic-evaluation license: free for academic research and
evaluation; redistribution and commercial use prohibited. See LICENSE.
From source (requires repository access)
The wheel build compiles the library's two core translation units directly; building from a repo checkout works the same way:
pip install -e python # from the repository root
pytest python/tests -v
Source builds use -O3 -march=native (the distributed wheels are built
portable). If your environment requires --no-build-isolation, first
pip install pybind11 scikit-build-core.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apxchol-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: apxchol-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 430.4 kB
- Tags: CPython 3.14, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae65a02cfab2a87fda1a79cbff006163de10184484e67f2904da461a758a75ed
|
|
| MD5 |
e69fb1cd9847a151a9c7e9b8ff396116
|
|
| BLAKE2b-256 |
d1ece238fa014cfc64d30b0b6e00c69fa6fcbc28e80e4551968d9fda21007d83
|
Provenance
The following attestation bundles were made for apxchol-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on AlgOptGroup/Scalable-Approximate-Cholesky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apxchol-0.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
ae65a02cfab2a87fda1a79cbff006163de10184484e67f2904da461a758a75ed - Sigstore transparency entry: 1806798728
- Sigstore integration time:
-
Permalink:
AlgOptGroup/Scalable-Approximate-Cholesky@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/AlgOptGroup
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file apxchol-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: apxchol-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 430.3 kB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46c9c547a2b35bf482407609324ed4d948507d6bc7468e9aee21a6daef499801
|
|
| MD5 |
b32bb584a1b297960623e7c2b685206c
|
|
| BLAKE2b-256 |
bb4a6885579d7ac1793b4daaa54d35d2b976e7501e364679cb976203bd7ece11
|
Provenance
The following attestation bundles were made for apxchol-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on AlgOptGroup/Scalable-Approximate-Cholesky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apxchol-0.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
46c9c547a2b35bf482407609324ed4d948507d6bc7468e9aee21a6daef499801 - Sigstore transparency entry: 1806798554
- Sigstore integration time:
-
Permalink:
AlgOptGroup/Scalable-Approximate-Cholesky@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/AlgOptGroup
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file apxchol-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: apxchol-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 430.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f946c86f322647ec3836aae5aa0bdab5da20326274fc37d2d372c3d5984c46c
|
|
| MD5 |
5238f4f7ee02a6883d27ce5874c1dd33
|
|
| BLAKE2b-256 |
9909e86ae499e6571757ec34792e1695ab16b11b7a7bc7638660beeef127b504
|
Provenance
The following attestation bundles were made for apxchol-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on AlgOptGroup/Scalable-Approximate-Cholesky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apxchol-0.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
4f946c86f322647ec3836aae5aa0bdab5da20326274fc37d2d372c3d5984c46c - Sigstore transparency entry: 1806798792
- Sigstore integration time:
-
Permalink:
AlgOptGroup/Scalable-Approximate-Cholesky@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/AlgOptGroup
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file apxchol-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: apxchol-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 429.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34f2b0340f9b6617d376329158c570ce2076452dd875a697cb2e81a3354643f5
|
|
| MD5 |
e8a62340148fe92a28292286ac339a78
|
|
| BLAKE2b-256 |
4763fa2748201f31d2d1a45b47fbd9da7d8c3e08a37b4c862b4c4fdf5a75ef96
|
Provenance
The following attestation bundles were made for apxchol-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on AlgOptGroup/Scalable-Approximate-Cholesky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apxchol-0.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
34f2b0340f9b6617d376329158c570ce2076452dd875a697cb2e81a3354643f5 - Sigstore transparency entry: 1806798866
- Sigstore integration time:
-
Permalink:
AlgOptGroup/Scalable-Approximate-Cholesky@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/AlgOptGroup
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file apxchol-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: apxchol-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20395ae0ef3243b8904573a7d7899db68460ad52a1dcbb5186bab23c59e03e56
|
|
| MD5 |
a65706473890dac8d1d36dcbd739bb37
|
|
| BLAKE2b-256 |
9ddf176e504ad346e2845379a8611e81438625575a817c9d84f8ea04a7535c99
|
Provenance
The following attestation bundles were made for apxchol-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on AlgOptGroup/Scalable-Approximate-Cholesky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apxchol-0.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
20395ae0ef3243b8904573a7d7899db68460ad52a1dcbb5186bab23c59e03e56 - Sigstore transparency entry: 1806798658
- Sigstore integration time:
-
Permalink:
AlgOptGroup/Scalable-Approximate-Cholesky@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/AlgOptGroup
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@692ef6ff7eafdf515b916989c3e644dae44f27d2 -
Trigger Event:
release
-
Statement type: