Skip to main content
gurobimh: Unofficial Alternative Gurobi/Python Interface
========================================================

Overview
--------
`gurobimh` is a drop-in replacement for the `gurobipy` API bindings shipped with
[Gurobi](www.gurobi.com). It offers several advantages:

* `gurobimh` can be compiled for all current versions of Python (in particular, Python 3.4); you do not need
to rely on Gurobi officially supporting your desired Python version.
* `gurobimh`'s performance is much better, especially when modifying models a lot (like in a hand-written
branch and bound solver).
* `gurobimh` is free software an can be easily extended.
* `gurobimh` ships Cython `pxd` file which allows you to write statically typed Cython programs
for virtally C performance.

Of course, there are also disatvantages:
* Up to now, `gurobimh` supports only a subset of the official `gurobipy` API, in particular
quadratic programming is not yet supported, and lots of parameters are missing. However these
features are easy to implement once you look at how the others are, so you are welcome to
contribute. Simply put, I have only implemented the features I am using myself.
* Though I have successfully verified that `gurobimh` behaves like `gurobipy` for my programs,
there are probably lots of bugs, and of course there's no commercial support.

Requirements
------------
The API is written in [Python](www.python.org). To compile it, you need [Cython](www.cython.org). Of
course, you need to have Gurobi installed, and the `GUROBI_HOME` environment variable needs to be
set correctly.

Installation
------------

Download the package and type:

python setup.py install --user


In both commands, replace ``python`` by an appropriate call to your Python interpreter.


Usage
-----
Simply replace any `gurobipy` import statements with `gurobimh`. If anything goes wrong, file a bug!

Contact
-------
Please contact [me](helmling@uni-koblenz.de) or use the GitHub features for comments, bugs etc.

Metadata

Release files for gurobimh 0.3

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

Source distribution (sdist)

Source distribution for gurobimh 0.3
File Size Uploaded Provenance Actions
gurobimh-0.3.tar.gz 182.4 kB Without provenance Details for gurobimh-0.3.tar.gz

Release files / gurobimh-0.3.tar.gz

Download URL gurobimh-0.3.tar.gz
Size 182.4 kB
Tags Source
SHA-256 checksum
How to use checksums
327cfb61504854ab0395e34edf52f221c9862216b11bca501dbf5a8a4b70d249
BLAKE2b-256 checksum
How to use checksums
bfac18df499b7f66f043b998efa393d048c7f09bc10a3292e2bcfa9d4c6cf56f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gurobimh 0.3

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.

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