Controls
Presets
Parameters
Model checks
The science
Flux balance analysis. A cell is described by a stoichiometric matrix S (metabolites x reactions). At steady state no metabolite accumulates, S v = 0, and each flux vj has bounds (uptake limits, capacity, a forced maintenance drain). Among all flux vectors that satisfy this, FBA picks the one that maximises an objective, here the biomass flux v5 = the growth rate mu. That is a linear program, solved here by a two-phase simplex method (Bland's rule).
The toy network. Glucose is split by glycolysis into 2 pyruvate + 2 ATP. Pyruvate is either respired (P + 3 O2 gives 14 ATP; with glycolysis one glucose yields 30 ATP, the textbook 30-32 range) or leaked as acetate through overflow metabolism (1 ATP per pyruvate). Biomass needs 7 glucose-equivalents of carbon, 2 pyruvate and GAM ATP per gram; maintenance burns ATP continuously. When oxygen or respiratory capacity is scarce the cell is forced into the cheaper but wasteful overflow route, the same logic behind the Crabtree/overflow effect seen in yeast and E. coli. Closed forms follow from carbon and ATP bookkeeping: aerobic mu = (30 Vglc - ATPM)/(238 + GAM); oxygen or capacity limited mu = (4 Vglc + 13 r0 - ATPM)/(30 + GAM) with r0 = min(VO2/3, capacity); the LP optimum is the smaller of the two.
Shadow prices. The dual variable of a bound is the marginal growth gained per extra unit of that bound (for example d mu/d Vglc). They are read from the final simplex tableau and checked by re-solving with the bound nudged. A zero shadow price means the constraint is not limiting. Strong duality (primal optimum = dual objective with all reduced costs of the right sign) certifies optimality.
Simplifications. Seven reactions and four metabolites, not a genome-scale model; stoichiometries, GAM (growth-associated ATP) and the ATP maintenance value are round illustrative numbers in the spirit of E. coli core models, not fitted or verified against a named model; no redox cofactors, regulation or enzyme-cost (proteome) limits, which real overflow explanations also rely on; no dynamics, FBA gives the steady-state optimum only. Five independent checks: mass balance and bounds, LP duality certificate, exhaustive vertex enumeration of the flux polytope, the hand-derived closed form and finite-difference shadow prices.