Greedy

checkFluxConsistency(model, epsilon)[source]

Tries to test for flux consistent reactions in one solve

USAGE:

[fluxConsistent, sol] = checkFluxConsistency (model, epsilon)

INPUTS:
  • model – cobra model structure with fields:

    • .S - m x n stoichiometric matrix

    • .b - m x 1 right hand side vector

  • epsilon – flux threshold

OUTPUTS:
  • fluxConsistent – empty

  • sol – result of solveCobraLP function

testFluxConsistency[source]

Test script to check flux consistency in one LP; does not work yet.