Breaking changes
-
Changed the default steady-state method to
integrationOnly
(by @dweindl in #2574)The default mode for computing steady states and sensitivities at steady state was changed to
integrationOnly
(from previouslyintegrateIfNewtonFails
).This was done for a more robust default behavior. For example, the evaluation in https://doi.org/10.1371/journal.pone.0312148 shows that - at least for some models - Newton's method may easily lead to physically impossible solutions.
To keep the previous behavior, use:
amici_model.setSteadyStateComputationMode(amici.SteadyStateComputationMode.integrateIfNewtonFails) amici_model.setSteadyStateSensitivityMode(amici.SteadyStateSensitivityMode.integrateIfNewtonFails)
Fixes
-
PEtab import: Fixed potentially incorrect sensitivities with observable/state-dependent sigmas.
This was fixed for all cases amici can handle, others cases will now result inValueError
s (#2563). -
Fixed potentially incorrect disabling of Newton's method
-
Fixed
ModelStateDerived
copy ctor, where previously dangling pointers could lead to crashes in some situations -
Added missing simulation status codes
-
Check for unsupported observable IDs in sigma expressions
Features
Full Changelog: v0.27.0...v0.28.0