Hi Matthias,
Thank you for your suggestion. I will try it and see if it works.
I still do want to confirm, though, whether there is an official way to remove the optlang solver from COBRApy models. Ideally, I would still like to remove it if possible. If this is not possible with COBRApy's current design, that is fine, but I would appreciate if you could please confirm if that is the case.
If there is no official way to remove the optlang object, I am considering using a fork of COBRApy in which I modify the code to remove the optlang object. I was wondering if this would be feasible and if you could provide any insights as to what parts of the code I would need to change to achieve this.
Thank you very much for your assistance. It is much appreciated.
Best regards,
Nick Yousefi