fba.jl 267 Bytes
Newer Older
1
"""
Miroslav Kratochvil's avatar
Miroslav Kratochvil committed
2
Flux balance analysis, solves the following problem for the input `model`:
Sylvain Arreckx's avatar
Sylvain Arreckx committed
3
4
5
6
7
8
```
max cᵀx
s.t. S x = b
     xₗ ≤ x ≤ xᵤ
```
"""
9
fluxBalanceAnalysis(model::LM, optimizer) where {LM<:AbstractCobraModel} =
Miroslav Kratochvil's avatar
Miroslav Kratochvil committed
10
    solveLP(model, optimizer; sense = MOI.MAX_SENSE)