Skip to content

Fix the adaptive error estimates of MRIGARKERK22a and MIS - #4232

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:multirate-embedded-estimates
Aug 30, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:multirate-embedded-estimates

Conversation

@singhharsh1708

@singhharsh1708 singhharsh1708 commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

MRIGARKERK22a and MIS had no real embedded pair, so their error estimate was a stage difference, O(dt) rather than O(dt^2), and the controller drove the step size to nothing; both now difference against a genuine lower-order solution.

The embedded weights come from the equivalent explicit RK form, A = (I - alpha - gamma)^-1 beta with b = A[s,:]; for MIS2 that b has sum(b) = 1, b.c = 1/2 and b.c^2 = 0.3019, confirming order 2 and no more, and differencing it against the order-1 weights gives sum(b - b~) = 0.

On the split test problem at reltol = abstol of 1e-6, 1e-8 and 1e-10 the step counts are 1578, 15766 and 157640 with errors 3.46e-5, 3.45e-7 and 3.44e-9, the expected order-2 scaling.

AI Disclosure: Claude assisted with this change.

@singhharsh1708
singhharsh1708 force-pushed the multirate-embedded-estimates branch 3 times, most recently from 18bc239 to 0b8e916 Compare August 30, 2026 07:07
@singhharsh1708
singhharsh1708 force-pushed the multirate-embedded-estimates branch from 0b8e916 to 6395f3c Compare August 30, 2026 10:19
@ChrisRackauckas
ChrisRackauckas merged commit ef4cb09 into SciML:master Aug 30, 2026
132 of 133 checks passed
ChrisRackauckas referenced this pull request Aug 31, 2026
Apply Runic v1.10 formatting to the tests added by #4445.



Agent-Harness: Codex (version unknown)
Agent-Model: GPT-5
Agent-Session: unknown

Co-authored-by: ChrisRackauckas-Claude <[email protected]>
Co-authored-by: OpenAI Codex <[email protected]>
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208)
- Give each threaded complex stage its own JVP operator (#4430)
- Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232)
- Skip sparsity prep for matrix-free jac_prototype operators (#4445)
- Format differentiation tests (#4446)
- Fix SciMLBase reexport QA on Julia LTS (#4450)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208)
- Give each threaded complex stage its own JVP operator (#4430)
- Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232)
- Skip sparsity prep for matrix-free jac_prototype operators (#4445)
- Format differentiation tests (#4446)
- Fix SciMLBase reexport QA on Julia LTS (#4450)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
ChrisRackauckas added a commit that referenced this pull request Sep 11, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208)
- Give each threaded complex stage its own JVP operator (#4430)
- Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232)
- Skip sparsity prep for matrix-free jac_prototype operators (#4445)
- Format differentiation tests (#4446)
- Fix SciMLBase reexport QA on Julia LTS (#4450)
- Preserve conditioning in OOP no-init solves (#4438)
- Read the test group from GROUP like the CI passes it (#4447)
- Raise root GPU test timeout (#4449)
- Fix default SDE dt vector lengths (#4454)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants