Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Issue Using Highs-Solver on Windows

Open
#402 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

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 highspy 1.9.0
  • Installed cffi 1.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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coin-or/python-mip

All issues in coin-or/python-mip

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.