Merged
Conversation
a363327 to
a594acf
Compare
…(v8.0.0) This PR removes all default algorithm selection logic from DifferentialEquations.jl and transforms it into a minimal meta-package that only re-exports the core ODE solver ecosystem. Closes SciML#1086 ## Major Changes (v8.0.0 - Breaking Release) ### Removed source files (9): - ❌ `src/default_solve.jl` - ❌ `src/default_arg_parsing.jl` - ❌ `src/sde_default_alg.jl` - ❌ `src/dae_default_alg.jl` - ❌ `src/dde_default_alg.jl` - ❌ `src/discrete_default_alg.jl` - ❌ `src/rode_default_alg.jl` - ❌ `src/steady_state_default_alg.jl` - ❌ `src/bvp_default_alg.jl` ### Removed test files (7): - ❌ All `test/default_*_alg_test.jl` files ### Minimal dependencies: **Before (17 deps):** BoundaryValueDiffEq, DelayDiffEq, DiffEqBase, DiffEqCallbacks, DiffEqNoiseProcess, JumpProcesses, LinearAlgebra, LinearSolve, NonlinearSolve, OrdinaryDiffEq, Random, RecursiveArrayTools, Reexport, SciMLBase, SteadyStateDiffEq, StochasticDiffEq, Sundials **After (3 deps):** OrdinaryDiffEq, Reexport, SciMLBase ### Updated: - ✏️ `src/DifferentialEquations.jl` - Now only re-exports SciMLBase and OrdinaryDiffEq - ✏️ `Project.toml` - Version bumped to 8.0.0, minimal dependencies - ✏️ `test/runtests.jl` - Minimal test suite - ✏️ Julia compat bumped to 1.10 ## Context DifferentialEquations.jl is now a minimal meta-package. Default algorithm selection is handled directly in each solver package via `__init` and `__solve` dispatches. Users requiring other solver types (SDEs, DDEs, DAEs, BVPs, etc.) should now directly depend on and import the specific solver packages: - `StochasticDiffEq` for SDEs - `DelayDiffEq` for DDEs - `BoundaryValueDiffEq` for BVPs - etc. ## Related PRs - **SDE:** SciML/StochasticDiffEq.jl#633 - **DDE:** SciML/DelayDiffEq.jl#326, SciML#334 ## Breaking Changes - **Version 8.0.0** - Major breaking release - No longer re-exports all solver packages - Users must explicitly add and import solver packages they need - `using DifferentialEquations` now only provides ODE solving capabilities 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
a594acf to
157da34
Compare
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.
Summary
This PR removes the default SDE algorithm selection from DifferentialEquations.jl, as it has been moved to StochasticDiffEq.jl.
Closes #1086 (partial - for SDE portion)
Changes
src/sde_default_alg.jl- SDE default algorithm logicsde_default_alg.jlfromsrc/DifferentialEquations.jltest/default_sde_alg_test.jl- SDE default algorithm teststest/runtests.jlContext
This is part of the ongoing effort to modularize DifferentialEquations.jl by moving default solver logic to their respective packages (see #1086). The SDE default algorithm is now handled directly in StochasticDiffEq.jl via
__initand__solvedispatches when no algorithm is specified.Related PRs
Breaking Changes
None - this is purely an internal refactoring. The user-facing API remains unchanged. Users can still call
solve(sde_problem)without specifying an algorithm and the appropriate default will be selected by StochasticDiffEq.jl.Test Plan
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com