-
Notifications
You must be signed in to change notification settings - Fork 31
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
RDataReporting::residuals with adjoints #2625
Comments
I agree that I don't quite get the relationship to the linked piece of code, it checks for |
That's what's happening. All fine there
That is also correct. But I want to avoid using |
A nicer thing for my particular application (due to memory issues) would be to have another However, this differs from |
Yeah I agree that it sounds like introducing a new mode would be the way to go. |
New mode is fine for me. However, I am not sure if this makes too much sense: Lines 738 to 741 in 2d58f54
Because the respective sensitivity members are only initialized for FSA anyways and would just be skipped later on: Lines 81 to 96 in 2d58f54
Removing that check above would be sufficient in my opinion, and we wouldn't need a new mode. But maybe I am missing something. |
Ah I see, yeah sounds plausible to simply remove that check. |
Unfortunately, it won't work that way. Options
I think, I'd go for option 2. No strong opinion, though. |
the quick and dirty option would be to simply set |
So far, when using adjoint sensitivities, it's only possible to get
ReturnData::y
withRDataReporting::full
.RDataReporting::residuals
is not supported:AMICI/src/solver.cpp
Lines 738 to 741 in 2d58f54
We should either allow that, and just skip the respective sensitivities (or basically just use
ReturnData::initializeResidualReporting(false)
in case of ASA), or introduce a new mode.@FFroehlich : Any preference?
CC @Doresic
The text was updated successfully, but these errors were encountered: