Skip to main content

pyHiGHS

Cython wrappers over HiGHS. This project is a fork of the main repo: fork.

The package is available on pypi as scikit-highs and is tested on the following:

  • Ubuntu 18, gcc 7.5.0, Python 3.6.9 and 3.7

  • Windows 10, VS 2019, Python 3.8.2 x64

It has dependencies on numpy and Cython that require these to be installed before installation of scikit-highs. Once numpy and Cython are installed, install using pip like this:

pip install scikit-highs

Example usage from script:

from _highs.highs_wrapper import highs_wrapper
from _highs.highs_wrapper import CONST_INF, CONST_I_INF

# Call like this (usually using numpy arrays and A is a scipy.sparse.csc_matrix):
res = highs_wrapper(c, A.indptr, A.indices, A.data, lhs, rhs, lb, ub, options)

options is a dict that supports all options of the HiGHS C++ API.

It will take a second to compile when installing, I did not create any wheels, etc, so always compiles from source.

Metadata

Release files for scikit-highs 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scikit-highs 0.6.0
File Size Uploaded Provenance Actions
scikit-highs-('0.6.0',).tar.gz 671.1 kB Without provenance Details for scikit-highs-('0.6.0',).tar.gz

Release files / scikit-highs-('0.6.0',).tar.gz

Download URL scikit-highs-('0.6.0',).tar.gz
Size 671.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1ccae9cbf6a51086456232ca2a885aa7becb619b93a4ca7de21c7f8be9e27ab8
BLAKE2b-256 checksum
How to use checksums
252860e0516cd7e0494804a100e2e89a033a24b1646b010776e6f0e91a00b264
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Security for scikit-highs 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page