Skip to content

Feature request: Ingest sympy representation of ModelingToolkit and return PyTorch tensor with gradients and events #115

@djinnome

Description

@djinnome

@djinnome says:

If we can represent the ODE symbolically as something that the Modeling toolkit can handle, then symbolic gradients and events computed in Julia can be passed back to PyTorch?

Should we create an issue on DiffEqPy?

On August 16, 2023, @ChrisRackauckas said

Sure. I think there’s a few issues asking for exactly this same thing already though. Whenever I go to a conference I hear this question.

@djinnome says:
Seems like issues #57 and #67 are fairly old open issues that seem to touch upon the input and output aspects of this issue.

@ChrisRackauckas wrote:

modelingtoolkitize(prob)
ODEProblem(sys, dstar_jac=true)

@djinnome says:
Can you add a github action to expose this issue on the DARPA-ASKEM integration project by tagging this issue with the integration label?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions