Skip to content

The question about function relaxModelWithDGoSlacks #4

@pwzation

Description

@pwzation

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions