Skip to content

Commit 2cf2d5f

Browse files
Update alg_traits.jl
1 parent 798720d commit 2cf2d5f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/alg_traits.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,3 +295,12 @@ initialization.
295295
Defaults to false.
296296
"""
297297
allows_late_binding_tstops(alg::AbstractODEAlgorithm) = false
298+
299+
"""
300+
$(TYPEDSIGNATURES)
301+
302+
Trait declaration for whether the optimization algorithm supports the `init` interface.
303+
304+
Deprecated as this is not an optimization-specific idea and should use the traits for general caching.
305+
"""
306+
supports_opt_cache_interface(alg) = false

0 commit comments

Comments
 (0)