Skip to content

getEnzymeBottlenecks ranks by the re-solved change of the objective - #20

Merged
edkerk merged 2 commits into
developfrom
feat/bottlenecks-objective-gain
Oct 31, 2026
Merged

edkerk merged 2 commits into
developfrom
feat/bottlenecks-objective-gain

Conversation

@edkerk

@edkerk edkerk commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Enzymes at their usage bound are solved again with the bound raised by foldChange (default 2, greater than 1) and ranked by the improvement of the objective, objectiveGain; other enzymes have gain 0 without a solve. Ties keep the order of model.ec.enzymes. shadowPrice stays as a reference column and does not affect the order, because at a degenerate optimum it depends on the basis. multipleActive marks an enzyme when another capacity constraint, an enzyme at its bound or the protein pool, is active at the same optimum. The table property UserData holds nResolved and activeConstraints. When no enzyme is at its usage bound, a warning says that no single enzyme limits the objective.

The columns are uniprot, gene, objectiveGain, shadowPrice, flux, capUsage, upperBound, multipleActive.

Parity: CompMetEng/raven-gecko-parity#117.

@github-actions

Copy link
Copy Markdown

Unit test results

70 tests   70 ✅  9s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 84fe193.

@edkerk
edkerk merged commit a9b3b5c into develop Oct 31, 2026
2 checks passed
@edkerk
edkerk deleted the feat/bottlenecks-objective-gain branch October 31, 2026 20:58
@edkerk edkerk mentioned this pull request Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant