You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We have support for linear functions (via LinearOperator) to partially bypass some of the nonlinear solver logic. Affine functions (via AffineOperator) currently do not bypass this logic.
Describe the solution you’d like
For linear and affine ODE problems we can completely skip the Newton logic for a large variety of stiff solvers. This can save us some memory for large problems coming from e.g. PDE semidiscretizations.
Describe alternatives you’ve considered
Right now the only way I see is to go with a custom integrator+custom solver type similar to https://github.com/SciML/SimpleDiffEq.jl/ . We can probably setup some benchmarks on this matter to explore how much the gains are.
Additional context
Nope.
The text was updated successfully, but these errors were encountered:
termi-official
changed the title
Support for affine functions to bypass nonlinear solver
Support for affine functions to bypass nonlinear solver if applicable
Apr 23, 2025
Is your feature request related to a problem? Please describe.
We have support for linear functions (via LinearOperator) to partially bypass some of the nonlinear solver logic. Affine functions (via AffineOperator) currently do not bypass this logic.
Describe the solution you’d like
For linear and affine ODE problems we can completely skip the Newton logic for a large variety of stiff solvers. This can save us some memory for large problems coming from e.g. PDE semidiscretizations.
Describe alternatives you’ve considered
Right now the only way I see is to go with a custom integrator+custom solver type similar to https://github.com/SciML/SimpleDiffEq.jl/ . We can probably setup some benchmarks on this matter to explore how much the gains are.
Additional context
Nope.
The text was updated successfully, but these errors were encountered: