Giter VIP home page Giter VIP logo

mattfa's Issues

The question about function relaxModelWithDGoSlacks

Hello!
I'm now trying the matTFA on matlab. When I running the code: [GFModelMaster, conflict] = PrepareForGapFilling(sourceModel,{modelDB},'',0,flagTFA,{},[],thermoData); it gives me this error:
It is possible to obtain TFA-feasible solutions with the original DGo values calculated by GCM!
Wrong use of relaxModelWithDGoSlacks
retry

Error in convToTFA (line 646)
[model, relaxedDGoVarsValues, modelwDGoSlackVars] = relaxModelWithDGoSlacks(model, minObjSolVal, []);

Error in convToTFAStru4gf (line 29)
model = convToTFA(model, DBThermo, rxnsNoThermo,'DGo',[], 0.95*sol.f, [], [], 0);

Error PrepareForGapFilling (line 94)
model4 = convToTFAStru4gf(model3,DBThermo,flagTFA,rxnsNoThermo,metabData);

To be honest, I'm fresh on this function. So how can I check and maintain my DGo value?

Best,
Peng

Cannot open .mat files

I cannot open any of the models in the tutorials or the thermodynamic data file. The error is the same for all
% Not a binary MAT-file. Try load -ASCII to read as text.
and when I use ascii I get this error:
%Unknown text on line number 1 of ASCII file small_ecoli.mat "version".
It seems like I am missing something. could asist me on this?

Question about

Hi

I have run the matTFA for 'GSmodel_Ecoli.mat'. It fails because of infeasibility. I was wondering if the codes works fine on your systems? if not, please let me know what might be the cause of this error?

Thank you

Relaxation of DGo_MECDPS : 28.391 +- 2.256 (sigma) ---> 28.391 +- 72.256
Relaxation of DGo_REPHACCOAI : 16.774 +- 4.121 (sigma) ---> 16.774 +- 2
4.121
It was not possible to obtain TFA-feasible solutions with the original DGo values calculated by GCM!
We had to relax the following DGo ranges as follows:

ans =

'varName'           'LB-before'    'UB-before'    'LB-relaxed'    'UB-relaxed'
'DGo_MECDPS'        [  26.1357]    [  30.6469]    [   12.6021]    [   44.1805]
'DGo_REPHACCOAI'    [  12.6529]    [  20.8957]    [    8.5316]    [   25.0171]

Error using relaxModelWithDGoSlacks (line 171)
Although we relaxed the DGo variables it was not possible to find a feasible solution!

Error in convToTFA (line 645)
[model, relaxedDGoVarsValues, modelwDGoSlackVars] = relaxModelWithDGoSlacks(model, minObjSolVal,
rxnNameListNoDGoRelax);

Error in tutorial_GEM (line 53)
tmp = convToTFA(prepped_m,ReactionDB,[],'DGo');

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.