-
Notifications
You must be signed in to change notification settings - Fork 241
Description
Hi Highs team,
For my project I'm running the highs solver as part of python unittests to check if the instances in the tests solve to an optimal solution. When I do this on my local windows machine in a python 3.12 virtual environment this works perfectly.
The same tests are also part of a check for merging pull requests in the main branch. Hence, these tests are also run in a github ci/cd environment. However, running the tests in the github ci/cd causes the highs solver to crash. Python version is 3.12 as well and the same version of highspy is used namely highspy==1.11.0. The difference is the operating system which in the ci/cd environment is a linux distro.
The error that I get is not very descriptive. See the output below:
[2025-07-30 08:39:11,291] [MainThread][Logger.py:12][root-INFO]: Using Debug Level 'INFO'
[2025-07-30 08:39:12,068] [MainThread][EConnection.py:143][CS-Logger-INFO]: init calculation service
[2025-07-30 08:39:12,082] [MainThread][EConnection.py:532][CS-Logger-INFO]: Static Bandwidth tariff detected
[2025-07-30 08:39:12,083] [MainThread][portfolio_optimization.py:29][CS-Logger-INFO]: Creating electricity demand parameters
[2025-07-30 08:39:12,092] [MainThread][portfolio_optimization.py:305][CS-Logger-INFO]: Upper temperature bound house imposed
Running HiGHS 1.11.0 (git hash: 364c83a): Copyright (c) 2025 HiGHS under MIT licence terms
Number of BV entries in BOUNDS section is 192
[2025-07-30 08:39:12,152] [MainThread][portfolio_optimization.py:683][CS-Logger-INFO]: highs_cons(0)
/home/runner/work/_temp/16949dc2-c377-46ce-9838-efd12040db1a.sh: line 2: 2281 Segmentation fault (core dumped) python -m unittest discover -s ./ -p 'Test*.py'
Do you know of any compatibility issues regarding using highspy in a github ci/cd environment?
Thanks!