coin-or / coin-or/python-mip

Add arm64 cbc library to complement x86_64

Open
#392 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Linear Programming
Stars
600
Forks
108
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.