Skip to content

Conversation

@AayushSabharwal
Copy link
Member

Requires SciML/SciMLBase.jl#867

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

@mtkbuild sys = ODESystem(
[D(x) ~ p * y + q * t, x^3 + y^3 ~ 5], t; initialization_eqs = [p^2 + q^3 ~ 3])

# FIXME: solve for du0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should always be updating du0?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initialization solves for du0, but we don't have an initializeprob_du0map which OrdinaryDiffEq can use to set the du0 of DAEProblem

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then it doesn't actually initialize right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it doesn't apparently. Realized this while writing these tests. I think I have a way to fix it without breaking

@AayushSabharwal AayushSabharwal merged commit eda23d4 into SciML:master Nov 27, 2024
41 of 42 checks passed
@AayushSabharwal AayushSabharwal deleted the as/daeprob-init branch November 27, 2024 12:07
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