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
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Problems with Dual type using JuMP, NLopt and DifferentialEquations | 3 | 623 | November 6, 2018 | |
| Solving an optimal control problem with JuMP | 16 | 4721 | March 28, 2020 | |
| The function to optimize in JuMP | 24 | 3884 | August 29, 2017 | |
| Forward differentiation and differential equations with solvers like LSODA, Sundials etc | 2 | 1434 | March 26, 2019 | |
| Partially blackbox optimization with JuMP? | 1 | 1232 | April 22, 2017 |