Skip to content

Implement and document custom constraints#850

Merged
pnkraemer merged 22 commits into
mainfrom
custom-constraint
Feb 17, 2026
Merged

Implement and document custom constraints#850
pnkraemer merged 22 commits into
mainfrom
custom-constraint

Conversation

@pnkraemer
Copy link
Copy Markdown
Owner

  • Fix the display of the tutorials
  • Raise errors for linearisations that don't support high-order ODEs instead of silently failing
  • Introduce a probdiffeq.constraint_root_ts1 which implements custom constraints
  • Write a custom_information_operator tutorial that explains how/why the custom root is beneficial
  • Make dense the default SSM factorisation because it offers the most methods
  • Always implement an update during initialisation to accomodate non-perfect initial Taylor coefficients (eg those for custom constraints)
  • Optionally shift the STD of the initial taylor coefficients by a small value to enable updates without nans during initialisation
  • Implement different ways of error normalisation (scale then norm, norm then scale) to enable constraints whose dimension doesn't match that of the ODE

Should be fully backwards compatible.

@pnkraemer pnkraemer added the enhancement New feature or request label Feb 17, 2026
@pnkraemer pnkraemer merged commit a41affc into main Feb 17, 2026
10 checks passed
@pnkraemer pnkraemer deleted the custom-constraint branch February 17, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant