opencobra / cobrapy

COBRApy is a package for constraint-based modeling of metabolic networks.
http://opencobra.github.io/cobrapy/
GNU General Public License v2.0
467 stars 218 forks source link

Give parameters to model.optimize() #1328

Closed KurtzMarina closed 1 year ago

KurtzMarina commented 1 year ago

Hi, I am new to Cobrapy. I used this command in the COBRA toolbox in MATLAB: solution= optimizeCbModel(model,'max',1e-6);

Is there a simple way to do it in Cobrapy also? When I use model.optimize(), I don't get the same results as in MATLAB.