Skip to content

get_conc_control_coeffs takes the finite-difference coefficients by default - #76

Merged
edkerk merged 1 commit into
developfrom
fix/conc-control-coeffs-finite-difference
Oct 31, 2026
Merged

edkerk merged 1 commit into
developfrom
fix/conc-control-coeffs-finite-difference

Conversation

@edkerk

@edkerk edkerk commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

get_conc_control_coeffs raises one usage bound by fold_change (2), re-solves and divides the rise of the optimum by the rise of the bound, as GECKO's getConcControlCoeffs does. method="shadow_price" reads the reduced cost of the usage reactions instead, which is unreliable at a degenerate vertex. The finite-difference path needs one solve per protein, so each iteration of flexibilize_enz_concs, which calls it, takes minutes on a genome-scale ecModel.

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

…efault, as getConcControlCoeffs does

method="shadow_price" keeps the reduced-cost path.
@edkerk
edkerk merged commit d982091 into develop Oct 31, 2026
5 checks passed
@edkerk
edkerk deleted the fix/conc-control-coeffs-finite-difference branch October 31, 2026 20:56
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