Skip to content

Follow-ups from the RAVEN 3 Guide review - #8

Merged
edkerk merged 1 commit into
developfrom
fix/review-followups
Oct 19, 2026
Merged

edkerk merged 1 commit into
developfrom
fix/review-followups

Conversation

@edkerk

@edkerk edkerk commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Follow-ups from the RAVEN 3 Guide review.

  • GLPK MILPs through COBRA: optimizeProb also solves MILPs with the COBRA Toolbox's GLPK interface (setRavenSolver('cobra') with GLPK as COBRA's MILP solver), with the same RAVEN:glpkMILP warning that recommends Gurobi. getMinNrFluxes accepts it too.
  • scaleBiomassFraction: a targetTotal name-value argument sets the biomass total that balanceOut brings the components to (default 1 g/gDW), as target_total does in raven-toolbox's scale_biomass.
  • gapReport: always reports the metabolites that can be produced or consumed with the boundary closed, as raven-toolbox's gap_report does. Without an unconstrained field it closes the reactions getExchangeRxns returns; it stops with RAVEN:infeasibleModel when the closed model is infeasible.
  • Tests: MILP tests run on the bundled GLPK when neither Gurobi nor SCIP is available, so CI covers them.
  • Clean-up: CONTRIBUTING.md, the documentation workflow and docs/v3_review.md refer to develop and RAVEN 3; the asset-download error links to CompMetEng/RAVEN issues; two comments describe current behaviour only.

- optimizeProb solves MILPs with the COBRA Toolbox's GLPK as well, with
  the same RAVEN:glpkMILP warning as the bundled GLPK; getMinNrFluxes no
  longer refuses it.
- scaleBiomassFraction takes a targetTotal for the balanced biomass total.
- gapReport always reports the metabolites produced or consumed with the
  boundary closed, closing the reactions getExchangeRxns returns when the
  model has no unconstrained field, and stops when that closed model is
  infeasible.
- MILP tests run on the bundled GLPK when neither Gurobi nor SCIP is
  available.
- CONTRIBUTING, the documentation workflow and docs/v3_review.md refer to
  develop and RAVEN 3; the asset download error points to CompMetEng.
@github-actions

Copy link
Copy Markdown
Contributor

Function test results

422 tests   415 ✅  2m 12s ⏱️
 24 suites    7 💤
  1 files      0 ❌

Results for commit aabdf16.

@edkerk
edkerk merged commit 4be3d6a into develop Oct 19, 2026
4 checks passed
@edkerk
edkerk deleted the fix/review-followups branch October 19, 2026 07:08
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