← sources

TorchDAE: Implicit DAE Solvers with Index Reduction and Adjoint Sensitivity [P]

source: reddit (reddit:MachineLearning)published 2026-06-03 11:57ingested 2026-06-04 09:47

retained text

<!-- SC_OFF --><div class="md"><p>Hello everyone,</p> <p>I've been working on a PyTorch library for solving Differential Algebraic Equations (DAEs) that supports vectorized execution and GPU acceleration.</p> <p>The library implements several algorithms that are not currently available in the Python ecosystem, including Generalized-Alpha integration, Dummy Derivatives index reduction, and adjoint sensitivity methods for DAEs.</p> <p>My motivation was to enable differentiable DAE simulation workflows in PyTorch for applications such as system identification, scientific machine learning, and physics-informed modeling.</p> <p>I'd be very interested in feedback on the numerical methods, API design, and potential ML use cases.</p> <p>GitHub: <a href="https://github.com/yousef-rafat/torchdae">https://github.com/yousef-rafat/torchdae</a></p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Otaku_7nfy"> /u/Otaku_7nfy </a> <br /> <span><a href="https://www.reddit.com/r/MachineLearning/comments/1tvn4ux/torchdae_implicit_dae_solvers_with_index/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/MachineLearning/comments/1tvn4ux/torchdae_implicit_dae_solvers_with_index/">[comments]</a></span>

document fetched 2026-06-04 09:47