Skip to content

Commit 23526d8

Browse files
authored
Remove Symbolics sparsity detector (#295)
1 parent d820d89 commit 23526d8

File tree

5 files changed

+6
-39
lines changed

5 files changed

+6
-39
lines changed

DifferentiationInterface/docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ links = InterLinks(
2323
"ADTypes" => "https://sciml.github.io/ADTypes.jl/stable/",
2424
"SparseConnectivityTracer" => "https://adrianhill.de/SparseConnectivityTracer.jl/stable/",
2525
"SparseMatrixColorings" => "https://gdalle.github.io/SparseMatrixColorings.jl/stable/",
26+
"Symbolics" => "https://symbolics.juliasymbolics.org/stable/",
2627
)
2728

2829
cp(joinpath(@__DIR__, "..", "README.md"), joinpath(@__DIR__, "src", "index.md"); force=true)

DifferentiationInterface/docs/src/operators.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,11 @@ When computing sparse Jacobians or Hessians, it is possible to take advantage of
160160
For this to work, three ingredients are needed (read [this survey](https://epubs.siam.org/doi/10.1137/S0036144504444711) to understand why):
161161

162162
1. An underlying (dense) backend
163-
2. A sparsity pattern detector like [`TracerSparsityDetector`](@extref SparseConnectivityTracer.TracerSparsityDetector) from [SparseConnectivityTracer.jl](https://github.com/adrhill/SparseConnectivityTracer.jl)
164-
3. A coloring algorithm like [`GreedyColoringAlgorithm`](@extref SparseMatrixColorings.GreedyColoringAlgorithm) from [SparseMatrixColorings.jl](https://github.com/gdalle/SparseMatrixColorings.jl)
163+
2. A sparsity pattern detector like:
164+
- [`TracerSparsityDetector`](@extref SparseConnectivityTracer.TracerSparsityDetector) from [SparseConnectivityTracer.jl](https://github.com/adrhill/SparseConnectivityTracer.jl)
165+
- [`SymbolicsSparsityDetector`](https://symbolics.juliasymbolics.org/dev/manual/sparsity_detection/) from [Symbolics.jl](https://github.com/JuliaSymbolics/Symbolics.jl)
166+
3. A coloring algorithm like:
167+
- [`GreedyColoringAlgorithm`](@extref SparseMatrixColorings.GreedyColoringAlgorithm) from [SparseMatrixColorings.jl](https://github.com/gdalle/SparseMatrixColorings.jl)
165168

166169
These ingredients can be combined within the [`AutoSparse`](@extref ADTypes.AutoSparse) wrapper, which DifferentiationInterface.jl re-exports.
167170
Note that for sparse Hessians, you need to put the `SecondOrder` backend inside `AutoSparse`, and not the other way around.

DifferentiationInterface/ext/DifferentiationInterfaceSymbolicsExt/DifferentiationInterfaceSymbolicsExt.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,5 @@ myvec(x::AbstractArray) = vec(x)
3838

3939
include("onearg.jl")
4040
include("twoarg.jl")
41-
include("detector.jl")
4241

4342
end

DifferentiationInterface/ext/DifferentiationInterfaceSymbolicsExt/detector.jl

Lines changed: 0 additions & 15 deletions
This file was deleted.

DifferentiationInterface/test/Single/Symbolics/detector.jl

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)