Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gurobi error 10010: Model too large for size-limited license #2239

Open
qkqk-hub opened this issue Feb 28, 2024 · 6 comments
Open

Gurobi error 10010: Model too large for size-limited license #2239

qkqk-hub opened this issue Feb 28, 2024 · 6 comments

Comments

@qkqk-hub
Copy link

When I run:

[reconVersion,refinedFolder,translatedDraftsFolder,summaryFolder] = runPipeline(draftFolder, 'infoFilePath', infoFilePath, 'inputDataFolder', inputDataFolder,'numWorkers', numWorkers, 'reconVersion', reconVersion);

The error is as follows:

Combining metabolite lists: Error using solveCobraLP (line 899)
Gurobi error 10010: Model too large for size-limited license; visit https://www.gurobi.com/free-trial for a full license
Error in optimizeCbModel (line 380)
solution = solveCobraLP(optProblem);

Error in untargetedGapFilling (line 119)
FBA2 = optimizeCbModel(modelExpanded);

Error in runGapfillingFunctions (line 65)
model = untargetedGapFilling(model,osenseStr,database,1,1);

Error in refinementPipeline (line 126)
[model,condGF,targetGF,relaxGF] = runGapfillingFunctions(model,biomassReaction, biomassReaction,'max',database);

Error in runPipeline (line 187)
parfor j=i:i+endPnt

I only entered 50 sbml, but he also said the Model was too large,, what is the reason for this?

Thank you for your reply!

With best wishes!

@farid-zare
Copy link
Collaborator

farid-zare commented Feb 29, 2024

Hi,
As you can see here: https://www.gurobi.com/documentation/current/refman/error_codes.html, the error refers to exceeding the model limit for a Gurobi demo license.
You can try a free solver like "GLPK" or "Mosek" or get a free academic license for Gurobi solver.

@qkqk-hub
Copy link
Author

Thank you very much for your prompt reply!
I am now planning to apply for a free academic license for Gurobi solver.
But I still want to ask how to get a free solver like "GLPK" or "Mosek"?

@farid-zare
Copy link
Collaborator

Please find the solver installation guide here:
https://opencobra.github.io/cobratoolbox/latest/installation.html#solver-installation

@qkqk-hub
Copy link
Author

Does this code need to be changed if I use a "GLPK" or "Mosek" solver ?
solverOK=changeCobraSolver('ibm_cplex','LP');

@farid-zare
Copy link
Collaborator

Yes, please check the help section of the changeCobraSolver function.

@qkqk-hub
Copy link
Author

Ok, I see. Thank you for your patient guidance!

With best wishes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants