Closed cymee95 closed 3 years ago
Just to confirm: that only occurs with pfba=True, right? This is related to numerical accuracy issues when changing from QP to LP problems and back. I should allow setting the tolerances for the pFBA solution to stabilize that. One workaround is to set the minimal medium and resolving with pfba=False
this is faster and usually still gives a parsimonious solution.
Just to confirm: that only occurs with pfba=True, right? --> Yes, you're right.
I tested again with fluxes=True
,pfba=False
and it worked well.
Thank you!
PFBA now uses the solver tolerance and allows setting tolerances as well which should help work around that.
Hi. I have a question about cooperative_tradeoff. (micom 0.16.1, cplex 12.10.0) I used medium condition from VMH database and manually added some components to make my community model(over 50 members) could grow.
What I want to look at is exchange reactions of each member. It worked when I run this code with the community model,
com.cooperative_tradeoff(min_growth=0,fraction=0.4, fluxes=False, pfba=True)
But cooperative_tradeoff with fluxes=True returned this result.
com.cooperative_tradeoff(min_growth=0,fraction=0.4, fluxes=True, pfba=True)
Also, I found that if I run with another samples (with different members of microbial community) it sometimes worked with fluxes=True.
I'm trying to find the medium condition which I can apply to multiple samples before I compare exchange fluxes. And this issue keeps occuring and wondering why "fluxes" parameter matters and how to solve it. Thank you!