Skip to content

fix: fractionOfOptimum of getPfbaEnzymes for a negative optimum - #25

Merged
edkerk merged 1 commit into
developfrom
fix/pfba-negative-objective
Nov 2, 2026
Merged

edkerk merged 1 commit into
developfrom
fix/pfba-negative-objective

Conversation

@edkerk

@edkerk edkerk commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

getPfbaEnzymes with fractionOfOptimum below 1 lets the objective fall by 1 - fractionOfOptimum * 0.999999 times the magnitude of its optimum, for a negative optimum as for a positive one. Maximising a nutrient exchange gives a negative optimum; the fixed bound then lay above the optimum and the call returned minimising enzyme usage was infeasible. The documentation of the option states the behaviour.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

Unit test results

73 tests   73 ✅  12s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 9200be7.

@edkerk
edkerk merged commit faed353 into develop Nov 2, 2026
2 checks passed
@edkerk
edkerk deleted the fix/pfba-negative-objective branch November 2, 2026 10:48
@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