Unverified Commit 989315a4 authored by St. Elmo's avatar St. Elmo
Browse files

added another example

parent b7f00cf7
Pipeline #43074 passed with stages
in 8 minutes and 36 seconds
...@@ -121,6 +121,20 @@ end ...@@ -121,6 +121,20 @@ end
A variant of [`flux_variability_analysis`](@ref) that returns the individual A variant of [`flux_variability_analysis`](@ref) that returns the individual
maximized and minimized fluxes of all reactions as two dictionaries (of maximized and minimized fluxes of all reactions as two dictionaries (of
dictionaries). All keyword arguments except `ret` are passed through. dictionaries). All keyword arguments except `ret` are passed through.
# Example
```
mins, maxs = flux_variability_analysis_dict(
model,
Tulip.Optimizer;
bounds = objective_bounds(0.99),
modifications = [
change_optimizer_attribute("IPM_IterationsLimit", 500),
change_constraint("EX_glc__D_e", -10, -10),
change_constraint("EX_o2_e", 0.0, 0.0),
],
)
```
""" """
function flux_variability_analysis_dict(model::MetabolicModel, optimizer; kwargs...) function flux_variability_analysis_dict(model::MetabolicModel, optimizer; kwargs...)
vs = flux_variability_analysis( vs = flux_variability_analysis(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment