Comments (3)
I agree, it's all a big giant mess.
There are two things that we need to control (i) how the steady state is computed (integration/newton) and (ii) how the sensitivities are computed (integration/newton). As far as I can tell, only newton steadystate + integration sensi does not work (not sure about this for ASA), but everything else should be viable. In the current implementation (i) and (ii) can't be controlled independently by the user, but have to be set via SteadyStateSensitivityMode
and SensitivityMethodPreequilibration
, which adds an additional layer of complexity between pre- and post-equilibration. This leads to very complex checks in
AMICI/src/steadystateproblem.cpp
Line 112 in 81d32e7
AMICI/src/steadystateproblem.cpp
Line 401 in 81d32e7
I believe the reason you think the implementation is inconsistent is because in one case you are looking at controlling (i) vs (ii), but I think the issue with the code is really more fundamental. Any effort to simplify this code is very welcome, I made some attempts at refactoring, but ultimately gave up as Paul still had intentions to fix this himself.
from amici.
I made some attempts at refactoring, but ultimately gave up
i think that was that: #1485
maybe something to be learned from the discussion back then...
from amici.
In the current implementation (i) and (ii) can't be controlled independently by the user, but have to be set via
SteadyStateSensitivityMode
andSensitivityMethodPreequilibration
But SteadyStateSensitivityMode
and SensitivityMethodPreequilibration
don't control (i) at all?
from amici.
Related Issues (20)
- `Benchmark Collection` workflow fails for Lang_PLOSComputBiol2024 HOT 2
- cmake: replace explicit checks for CMAKE_BUILD_TYPE
- TimeCourse Implementation
- Piecewise function HOT 1
- PEtab import: Estimated initial conditions specified via the conditions table aren't handled correctly
- Remove deprecated functionality for PEtab import from individual files instead of petab.Problem
- Replace deprecated `petab.Problem.from_files` in `amici.petab.cli.import_petab._main`
- Handle reserved names in PEtab parameter mapping HOT 3
- 'reduce' is not a member of 'std' std::reduce(idlist.begin(), idlist.end()) HOT 2
- CMake Error during AMICI installation on WSL HOT 4
- Illegal value in CVodeGetDky
- Survey: MATLAB users / continuation of AMICI's MATLAB interface
- Set CMP0167 for CMake 3.30
- GHA: -Werror only for amici repo
- Uncaught C exceptions HOT 7
- Wrong conservation laws for pysb models
- Segmentation fault when importing amici on Mac HOT 9
- Add tests for installing amici under conda
- Test amici with no-GIL Python
- Assertion error in ForwardProblem::getSimulationStateTimepoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amici.