-
Notifications
You must be signed in to change notification settings - Fork 23
Add Safeguards to EulerCore to reduce undefined behavior for SDE models #1165
Copy link
Copy link
Closed
Labels
class::featureA feature to be implemented for some part of the softwareA feature to be implemented for some part of the softwareclass::performancePerformance related issuesPerformance related issuesloc::backendThis issue concerns the C++ backend implementation.This issue concerns the C++ backend implementation.model::odeThis issue concerns any kind of ODE-based model.This issue concerns any kind of ODE-based model.model::sdeThis issue concerns any kind of stochastic differential equation-based model.This issue concerns any kind of stochastic differential equation-based model.
Metadata
Metadata
Labels
class::featureA feature to be implemented for some part of the softwareA feature to be implemented for some part of the softwareclass::performancePerformance related issuesPerformance related issuesloc::backendThis issue concerns the C++ backend implementation.This issue concerns the C++ backend implementation.model::odeThis issue concerns any kind of ODE-based model.This issue concerns any kind of ODE-based model.model::sdeThis issue concerns any kind of stochastic differential equation-based model.This issue concerns any kind of stochastic differential equation-based model.
Type
Projects
Status
Done (Total)
Motivation / Current Behaviour
As of now SDE models have to implement checks for whether flows/derivatives result in overflows in the compartments (negative compartments or compartments greater than population size). The current implementation can also result in undefined behavior by floating point operations (see Issue #1009)
Enhancement description
Adapting the EulerCore (potentially writing a EulerMaruyamaCore) one can use vectorized functions to add those safeguards and other modifications into the core. Potential modifications are:
Additional context
No response
Checklist