Comments (1)
Good day Svetlana,
The second error is infeasibility with the Gurobi solver, mishandled by cobra
. Probably the lower bound you ask for is higher than the achievable objective function in the TFA problem. Since this happens at the beginning of the relax_lc
function, this suggests that your TFA model cannot achieve that high a growth rate.
The first error looks like it wants to relax 0 constraints, so the table has 0 elements and no columns, and the column name change is crashing because of that. That is because with a lower bound of 0, there is by definition no relaxation to be made.
These two items (infeasible model at the beginning of the function + no relaxation needed) seem to suggest the TFA model grows much slower than FBA predictions.
Could you try:
- Optimize the tfa model with no relaxation nor extra constraints. Report the solution value
- Ask for relaxation with a very low non-zero lower bound (1e-3 for example). What is the result ?
- When you get infeasibility, run the function
debug_iis
from the debugging module. This will give you a list of infeasible constraints / variable bounds. If there is around or less than 10 of each, can you post them here please ? - Also, are you using DeltaG from eQuilibrator or from the provided `thermo_data' ? how much of your model is covered by thermodynamics ?
Cheers,
Pierre
from pytfa.
Related Issues (20)
- metabolomics integration HOT 3
- Unable to open Matlab models HOT 2
- KeyError and potential solution in sampling tutorial HOT 4
- SEED identifiers in thermo DB
- deltaGerr automatically sets to 2.0 after loading thermo model HOT 2
- Integration with eQuilibrator HOT 8
- tutorial_basics lots of warnings when mytfa.prepare() HOT 2
- Thermo DB as SQLite HOT 1
- tutorial_basic.py ERROR - Relaxation could not complete (no DeltaG relaxation found) HOT 7
- Get new delta G values after adding metabolomics data HOT 1
- Use displacement or not? HOT 1
- Problem with pytfa.relax_dgo due to sympy HOT 2
- CPLEX binaries should not be mandatory for Docker build HOT 6
- KeyError on .convert() HOT 2
- Problem with installation HOT 2
- Comma missing in constraint definition
- Problem with building Docker container HOT 1
- equilibrator-cache replaced quilt with zenodo
- Permission denied when running the docker image HOT 4
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 pytfa.