fba.jl 396 Bytes
Newer Older
1
"""
2
    fluxBalanceAnalysis(model::LM, optimizer) where {LM<:MetabolicModel}
Miroslav Kratochvil's avatar
Miroslav Kratochvil committed
3
4

Flux balance analysis solves the following problem for the input `model`:
Sylvain Arreckx's avatar
Sylvain Arreckx committed
5
6
7
8
9
```
max cᵀx
s.t. S x = b
     xₗ ≤ x ≤ xᵤ
```
Miroslav Kratochvil's avatar
Miroslav Kratochvil committed
10

11
Returns a solved model from [`optimizeModel`](@ref).
Sylvain Arreckx's avatar
Sylvain Arreckx committed
12
"""
13
fluxBalanceAnalysis(model::LM, optimizer) where {LM<:MetabolicModel} =
14
    optimizeModel(model, optimizer; sense = MOI.MAX_SENSE)