Error using Sundials and JuMP

JuMP assumes differentiability, and the Sundials solvers are not differentiable. You’ll want to use DiffEqFlux for this kind of thing, or directly define the gradient of the ODE via Local Sensitivity Analysis (Automatic Differentiation) · DifferentialEquations.jl

2 Likes