### Discussed in https://github.com/LCSB-BioCore/COBREXA.jl/discussions/806
Originally posted by @mihai-sysbio December 13, 2023:
> I've seen drastically different results from Tulip and GLPK. One likely cause is the default time limits they have. In the case of GLPK, I would like to increase it, so I was looking at [setting a time limit in JuMP](https://jump.dev/JuMP.jl/stable/manual/models/#Set-a-time-limit) or [directly in GLPK](https://github.com/jump-dev/GLPK.jl#use-with-jump), but I'm not sure if this is compatible with the COBREXA setup.
This should become something like
```julia
flux_balance_analysis(...; modifications=[set_time_limit(1235)])
```
...or so.
Thanks for the idea.
Thanks for setting me down the right path with those `modifications`. It looks like I've gotten this to work with
```julia
increase_time_limit() = (model, opt_model) -> set_attribute(model, "TimeLimit", 5000)
flux_balance_analysis(...; modifications=[increase_time_limit()])
```
Perhaps then this feature isn't worth implementing, and just add this example in the documentation instead?
Apparently there's even a solver-unspecific option for doing this with JuMP. I added an implementation of that into the `next` branch. Currently no plan to backport it to 1.x releases, but pls ping us if you'd use that, it's just an extra few minutes of commit juggling. :D
OK I'll assume this as solved in 2.x and close, and add our favorite mark for code that didn't quite make it, so that we don't lose it for 1.x ...
Thanks again for reporting!