Closed helehera closed 1 year ago
Is your question, how to change the solver backend?
There are some MILP implemented. But if you are talking about defining your own problem you need to get familiar with optlang. That is what cobrapy uses underneath.
Minimizing a medium's components is an MILP, for example.
in matlab/cobra toolbox, I have use the functions glpk, cplexmilp and gurobi_mex to solve the following problems: % Solve problem [x, f, stat, extra] = glpk(c, A, b, lb, ub, csense, vartype, osense, solverParams)
How do I solve the problems in python/cobrapy?