metab0t / highsbox

PyPI binary distribution of HiGHS optimizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highsbox

This is the python wheel distribution for binaries of HiGHS optimizer.

The current version is 1.7.2 built for the following platforms:

  • Windows (x86_64)
  • Linux (x86_64)
  • 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:

>>> 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'

About

PyPI binary distribution of HiGHS optimizer


Languages

Language:Python 100.0%