Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metab0t/highsbox
PyPI binary distribution of HiGHS optimizer
https://github.com/metab0t/highsbox
Last synced: about 2 months ago
JSON representation
PyPI binary distribution of HiGHS optimizer
- Host: GitHub
- URL: https://github.com/metab0t/highsbox
- Owner: metab0t
- Created: 2024-03-10T08:05:27.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-10-24T12:11:18.000Z (2 months ago)
- Last Synced: 2024-10-25T12:17:01.956Z (2 months ago)
- Language: Python
- Size: 62.5 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# highsbox
[![](https://img.shields.io/pypi/v/highsbox.svg?color=brightgreen)](https://pypi.org/pypi/highsbox/)
This is the python wheel distribution for binaries of [HiGHS](https://github.com/ERGO-Code/HiGHS) optimizer.
It is built for the following platforms:
- Windows (x86_64)
- Linux (x86_64)
- Linux (aarch64)
- MacOS (x86_64)
- MacOS (arm64)```
pip install highsbox
```After installation, you can use `python -m highsbox` to invoke the `highs` command-line tool.
```
>>> python -m highsbox --version
HiGHS version 1.7.0 Githash 50670fd. Copyright (c) 2024 HiGHS under MIT licence terms
```It includes the `highs` command-line tool, the `highs.lib`/`highs.dll`/`libhighs.so` library and the `Highs.h` header files.
Their paths can be found using the `highsbox` module:
```python
>>> import highsbox
>>> highsbox.highs_bin_path()
'D:\\mambaforge\\Lib\\site-packages\\highsbox\\highs_dist\\bin\\highs.exe'
>>> highsbox.highs_lib_dir()
'D:\\mambaforge\\Lib\\site-packages\\highsbox\\highs_dist\\lib
>>> highsbox.highs_include_dir()
'D:\\mambaforge\\Lib\\site-packages\\highsbox\\highs_dist\\include\\highs'
```