Skip to content

Commit

Permalink
switch README to Tulip
Browse files Browse the repository at this point in the history
Closes #232
  • Loading branch information
exaexa committed May 17, 2021
1 parent 229d218 commit dc2c399
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ add COBREXA
You also need to install your favorite solver supported by `JuMP.jl`, typing
e.g.:
```
add GLPK
add Tulip
```

When the packages are installed, switch back to the "normal" julia shell by
Expand All @@ -80,7 +80,7 @@ flux balance analysis as follows:

```julia
using COBREXA # loads the package
using GLPK # loads the optimization solver
using Tulip # loads the optimization solver

# download the model
download("http://bigg.ucsd.edu/static/models/e_coli_core.xml", "e_coli_core.xml")
Expand All @@ -89,7 +89,7 @@ download("http://bigg.ucsd.edu/static/models/e_coli_core.xml", "e_coli_core.xml"
model = load_model("e_coli_core.xml")

# run a FBA
fluxes = flux_balance_analysis_dict(model, GLPK.Optimizer)
fluxes = flux_balance_analysis_dict(model, Tulip.Optimizer)
```

The variable `fluxes` will now contain a dictionary of the computed optimal
Expand All @@ -104,7 +104,7 @@ Dict{String,Float64} with 95 entries:
"R_EX_pi_e" => -3.2149
"R_PPC" => 2.50431
"R_O2t" => 21.7995
"R_G6PDH2r" => 4.95998
"R_G6PDH2r" => 4.95999
"R_TALA" => 1.49698
⋮ => ⋮
```
Expand Down

0 comments on commit dc2c399

Please sign in to comment.