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

Question about running Graminae.py #6

Open
cutykaka opened this issue Aug 21, 2024 · 0 comments
Open

Question about running Graminae.py #6

cutykaka opened this issue Aug 21, 2024 · 0 comments

Comments

@cutykaka
Copy link

Thank you for creating such a great tool for constructing ancient genomes.
However, when I run the example script, Graminae.py, I've encountered the following error.

Restricted license - for non-production use only - expires 2025-11-24
Gurobi Optimizer version 11.0.3 build v11.0.3rc0 (linux64 - "CentOS Linux 7 (Core)")

CPU model: Intel(R) Xeon(R) Gold 6240R CPU @ 2.40GHz, instruction set [SSE2|AVX|AVX2|AVX512]
Thread count: 48 physical cores, 48 logical processors, using up to 32 threads

Error code 10010: Model too large for size-limited license; visit https://gurobi.com/unrestricted for more information
Traceback (most recent call last):
File "/BiO/Program/IAGS/Gramineae.py", line 30, in
MultiCopyGGHPmodel(dup_child_file, outgroup_file, outAncestor4dir,
File "/BiO/Program/IAGS/models/MultiGGHPmodel.py", line 37, in MultiCopyGGHPmodel
adjacency_matrix = ggap.ancestor_adjacency_matrix()
File "/BiO/Program/IAGS/inferringAncestorGenomeStructure/GGHP.py", line 226, in ancestor_adjacency_matrix
result.append(v.x)
File "src/gurobipy/var.pxi", line 125, in gurobipy.Var.getattr
File "src/gurobipy/var.pxi", line 153, in gurobipy.Var.getAttr
File "src/gurobipy/attrutil.pxi", line 103, in gurobipy._getattr
AttributeError: Unable to retrieve attribute 'x'. Did you mean: 'X'?

Could this be an issue with Gurobi, or is there something else causing the problem?
I installed Gurobi via conda, but I've still encounter this issue.

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

1 participant