-
Notifications
You must be signed in to change notification settings - Fork 3
Keep MC running even when solver fails. #71
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
Conversation
Pull Request Test Coverage Report for Build 17582725066Details
💛 - Coveralls |
4 similar comments
Pull Request Test Coverage Report for Build 17582725066Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 17582725066Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 17582725066Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 17582725066Details
💛 - Coveralls |
|
@lptolik Thanks a lot for discovering this issue and for proposing a fix. We discussed it with @metelkin and reviewed how our current workflow is intended to work. At the moment, we save simulation results even when they don’t finish with a successful retcode (e.g. interrupted by maxiter or other termination conditions). As you pointed out, this approach fails if termination happens at the very first step and no simulation points are saved (empty vectors). We see two possible solutions:
We’re leaning towards option 2, since we have modeling scenarios where interrupted simulations still provide valuable information (e.g. tumor growth reaching a stopping condition). We’ve implemented this alternative fix here: #72 . Let us know what you think about this approach. . |
Code that prevents MC calculation from stop when solver return non-success status.