Skip to main content

GMPL/MathProg magics for IPython/Jupyter

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gmplmagic, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size gmplmagic-0.1.4.tar.gz (18.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page