-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example on System of Fractional Differential Equations returned ‘ERROR: LoadError: UndefVarError: FODEProblem
not defined’
#113
Comments
Can you share an MWE? There should not be such errors since all the APIs are all standards now |
julia> using FractionalDiffEq julia> function chua!(du, x, p, t) julia> α = [0.93, 0.99, 0.92]; julia> x0 = [0.2; -0.1; 0.1]; julia> tspan = (0, 100); julia> p = [10.725, 10.593, 0.268, -1.1726, -0.7872] julia> prob = FODEProblem(chua!, α, x0, tspan, p) julia> sol = solve(prob, BDF(), dt=0.01) (v1.9) pkg> pin FractionalDiffEq |
`julia> using FractionalDiffEq, Plots [ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] |
The version of FractionalDiffEq.jl is way too old, could you upgrade the this package to the latest version and then try again? |
`julia> using FractionalDiffEq julia> function chua!(du, x, p, t) julia> α = [0.93, 0.99, 0.92]; julia> x0 = [0.2; -0.1; 0.1]; julia> tspan = (0, 100); julia> p = [10.725, 10.593, 0.268, -1.1726, -0.7872] julia> prob = FODEProblem(chua!, α, x0, tspan, p) julia> sol = solve(prob, BDF(), dt=0.01) 在我安装了0.5.0版本后无定义的问题得到了解决,但是BDF()好像是只能求解阶数一样的微分方程 |
是的,BDF算法是只支持同阶次FODE的求解的,你可以尝试一下PECE或者PITrap等算法 |
My Julia version is 1.9.4
FractionalDiffeq version is 0.3.5
The text was updated successfully, but these errors were encountered: