straindesign icon indicating copy to clipboard operation
straindesign copied to clipboard

Too many active session and over the baseline (Gurobi)

Open cjrodriguez98 opened this issue 1 year ago • 2 comments

Trying to calculate de gMCS of iJN1463 I get the following error, I think the issue starts when SD tries to trim some GPRs that exceeds the character limit.

WARNING:root: GPR rule integration automatically generates new reactions and metabolites. One of the generated reaction names is beyond or close to the limit of 255 characters permitted by GLPK and Gurobi. The name of the newly generated reaction or metabolite:

ERROR:root:Error code 10030: Overage for too long, 4 active sessions and over the baseline for 34 minutes

cjrodriguez98 avatar Feb 13 '24 09:02 cjrodriguez98

Thank you very much! I will look into it

VonAlphaBisZulu avatar Feb 13 '24 13:02 VonAlphaBisZulu

You said you were using Gurobi with a WSL license or a named-user license? I think I don't get the same error with my named-user license. If the issue is that old Gurobi instances are cluttering, a good destructor should probably be added to https://github.com/klamt-lab/straindesign/blob/main/straindesign/gurobi_interface.py

But then again, why should there be multiple sessions over the baseline for so long.. 🤔

VonAlphaBisZulu avatar Feb 23 '24 03:02 VonAlphaBisZulu