You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use relax_lc (same is in the example with relax_dgo). I am using EColi_BL21 from the package replicating the relax_dgo example. Is it possible to fix on my side?
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 ?
Hi! Thanks for supporting this package,
I am trying to use relax_lc (same is in the example with relax_dgo). I am using EColi_BL21 from the package replicating the relax_dgo example. Is it possible to fix on my side?
Description of the error:
If I don't constrain the biomass function
mytfa.reactions.get_by_id(biomass_rxn).lower_bound = 0.0
I get the following error
If I constrain the biomass reaction
mytfa.reactions.get_by_id(biomass_rxn).lower_bound = 0.5*fba_value
I got the following error
The text was updated successfully, but these errors were encountered: