LSODA.jl

LSODA.jl is a wrapper package that provides access to the LSODA algorithm within the SciML interface. LSODA is a well-known method which uses automatic switching to solve both stiff and non-stiff equations.

Note that this package is not automatically included with DifferentialEquations.jl. To use the following algorithms, you must install and use LSODA.jl:

using Pkg
Pkg.add("LSODA")
import LSODA

These methods can be used independently of the rest of DifferentialEquations.jl.

ODE Solver APIs

LSODA.lsodaType

lsoda(f::Function, y0::Vector{Float64}, tspan::Vector{Float64}; userdata::Any=nothing, reltol::Union{Float64,Vector}=1e-4, abstol::Union{Float64,Vector}=1e-10)

Solves a set of ordinary differential equations using the LSODA algorithm. The vector field encoded in an inplace f::Function needs to have the self-explanatory arguments f(t, y, ydot, data)