Closed MuhammedHasan closed 7 years ago
Hi Muhammed
You didn't do anything wrong. However, cameo does not support changing the constraint sense and bounds of a metabolite. A metabolite will always correspond to an equality constraint with 0 on the right hand side, as a result of the steady state assumption (S*v = 0). As far as I know these features will also be deprecated in cobrapy in the future.
If you are interested in doing metabolic modeling I suggest you simply disregard the above example, as it has very little to do with metabolism. If you want to solve optimization problems not related to metabolism you might want to take a look at http://github.com/biosustain/optlang (also used as a backend for cameo), which provides a simple interface for formulating and solving optimizations.
Thank for your help,
I see this example in cobrapy doc and I ask just for learning although I work on metabolic networks.
I started to learn cameo and tried following code.
Output:
Cobra and cameo result are different. cameo do not solve the problem. Did I do something wrong?