Commit 7ce0fa6c authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

sneaky side commit: make the example for MOMENT simpler and more focused

parent eebfb568
......@@ -29,18 +29,10 @@ that active site number and unit issues are prevented.
# Example
```
sol = flux_balance_analysis_dict(
model,
Tulip.Optimizer;
modifications = [
add_moment_constraints(
ksas,
protein_mass_fraction
),
change_constraint("EX_glc__D_e", lb = -1000),
],
flux_balance_analysis(
...,
modifications = [ add_moment_constraints(my_kcats, 0.6) ],
)
```
"""
add_moment_constraints(kcats::Dict{String,Float64}, protein_mass_fraction::Float64) =
(model, opt_model) -> begin
......
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