Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are RadauIIA5 and other non-Rosenbrock methods supposed to ignore a broken tGrad? #705

Closed
novalex98 opened this issue Dec 5, 2023 · 1 comment
Labels

Comments

@novalex98
Copy link

I'm trying to solve a difficult problem, and after explicitly implementing tGrad, I tested it on my usual well defined RadauIIA5 test cases. The test passed, so I submitted a bunch of jobs to a high performance computer. The next morning, I found that Rosenbrock23 failed because of a very simple typo in my tGrad functions. In other words, RadauIIA5, and the other methods I ran, just ignored the tGrad argument they received. Based on this thread https://discourse.julialang.org/t/argument-tgrad-in-odefunction-appears-to-have-no-influence-correct/69236 this might be expected behavior, but I wanted to check.

@ChrisRackauckas
Copy link
Member

Yes, only Rosenbrock methods use the tgrad function, the other solvers will ignore it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants