Skip to main content

GMPL Magic: GMPL/MathProg Magics for IPython/Jupyter

Usage

Take a look at these example notebooks for details on how to use GMPL Magic — no installation required, thanks to Binder!

Dependencies

GMPL Magic has been tested with

Installation

First, make sure you have a working installation of GLPK. For example, on macOS, this can be accomplished with Homebrew by:

brew update
brew tap homebrew/science
brew install glpk

(I will eventually include instructions on how to install GLPK on other operating systems.)

Next, install PyGLPK - note that the version on PyPI is outdated:

pip install https://github.com/bradfordboyle/pyglpk/zipball/master

Then, install GMPL Magic:

pip install gmplmagic

To use these magics in a Jupyter notebook:

%load_ext glpkmagic

Metadata

Release files for gmplmagic 0.1.4

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

Source distribution (sdist)

Source distribution for gmplmagic 0.1.4
File Size Uploaded Provenance Actions
gmplmagic-0.1.4.tar.gz 18.7 kB Without provenance Details for gmplmagic-0.1.4.tar.gz

Release files / gmplmagic-0.1.4.tar.gz

Download URL gmplmagic-0.1.4.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a4afa3eb1c564551099b89715d5e84827d9cbe89995e133377525e3580ddfc7c
BLAKE2b-256 checksum
How to use checksums
916f9298b2b884e6d3e402ea6ea2990f0975d4bc3ad8978afa039064423ad889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gmplmagic 0.1.4

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