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

Add arm64 cbc library to complement x86_64 #392

Open
knutster opened this issue Oct 2, 2024 · 1 comment
Open

Add arm64 cbc library to complement x86_64 #392

knutster opened this issue Oct 2, 2024 · 1 comment

Comments

@knutster
Copy link

knutster commented Oct 2, 2024

Describe the bug
The arm64 (aarch64) server architecture is becoming more commonplace yet python-mip doesn't not work on these architectures.

To Reproduce
Try to run a model on aarch64.

Expected behavior
The model is parsed and run.

Error received

An error occurred while loading the CBC library:	 
cannot load library '/usr/local/lib/python3.10/site-packages/mip/libraries/cbc-c-linux-x86-64.so': /usr/local/lib/python3.10/site-packages/mip/libraries/cbc-c-linux-x86-64.so: cannot open shared object file: No such file or directory.  
Additionally, ctypes.util.find_library() did not manage to locate a library called '/usr/local/lib/python3.10/site-packages/mip/libraries/cbc-c-linux-x86-64.so'

Desktop (please complete the following information):

  • Operating System, version: docker container python-3.10-slim (bookworm and bullseye) aarch64
  • Python version: 3.10.x
  • Python-MIP version (we recommend you to test with the latest version): 1.16rc0 and earlier
@knutster
Copy link
Author

knutster commented Oct 2, 2024

Add pull request #391 to solve the above.

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