Issue Using Highs-Solver on Windows
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start in highs.py by tracing how has_highs is detected and how the Highs_destroy symbol is loaded from highspy._core. Reproduce the failure on Windows 11 with Python 3.9 and highspy 1.9.0, then compare with 1.7.1.dev1. Done means the HiGHS backend loads successfully or the incompatible version requirements are clearly documented.
Written by the indexing model from the issue text.
Description
Description
I am trying to use the HiGHS-solver as an alternative to the CBC-solver that I previously used. I am using a Windows machine, using Python 3.9.
To achieve this, I have done the following:
- Installed the latest version on
master, i.e., the version that contains this fix: #377 - Installed
highspy1.9.0 - Installed
cffi1.17.0
In highs.py file, the binary file (_core.cp39-win_amd64.pyd) can be found, and therefore has_highs is set to True. However, further down in the code, I get the following error:
AttributeError: function/symbol 'Highs_destroy' not found in library
'~\venv\lib\site-packages\highspy\_core.cp39-win_amd64.pyd': error 0x7f
Operating System Information
- Operating System, version: Windows 11
- Python version: 3.9
- Python-MIP version (we recommend you to test with the latest version): latest
master-version
Question
Did anyone using the HiGHS-solver already encounter this error before? Does anyone have suggestions on the steps to take?
Update
I also tried using different a different version of highspy: 1.7.1.dev1, but no luck.
- Dominant language
- Linear Programming
- Stars
- 601
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. 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 2/5 1-3 hours Newbie friendliness 76/100
SciML/Evolutionary.jl#182 ·
Maintainers usually reply within 1 day
-
Missing GLM modelsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
simonw/llm-mistral#43 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
rossoctl/context-guru#346 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
prime-radiant-inc/evener#2883 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GoogleChromeLabs/project-sesame#216 ·
Maintainers usually reply within 12 days