Add arm64 cbc library to complement x86_64
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by inspecting how Python-MIP selects and packages the CBC shared library, especially the x86_64 path shown in the error. Verify the model-loading reproduction on an aarch64 Python 3.10 container; the work is done when CBC loads and the model is parsed and run on arm64.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Linear Programming
- Stars
- 602
- Forks
- 108
- Avg merge
- 1d 22m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coin-or/python-mip
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
coin-or/python-mip#426 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
coin-or/python-mip#425 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
coin-or/python-mip#423 · 4 comments · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
coin-or/python-mip#422 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
coin-or/python-mip#420 · 4 comments ·
All issues in coin-or/python-mip
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
decentralized-identity/didwebvh-ts#203 ·
Maintainers usually reply within 1 day
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area/map-site bug layer/core size/S
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
marola-dev/marola-app#60 ·
Maintainers usually reply within 1 day
-
Telegram webhook: line breaks lost since switch to rich messagesPossibly taken @Kshot3000 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
get_seat_availability: 'GNWL/AVAILABLE'-style statuses are reported as available with no seat countOpenbug good first issue tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100