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.

Source Distribution

gmplmagic-0.1.4.tar.gz (18.7 kB view details)

Uploaded Source

File details

Details for the file gmplmagic-0.1.4.tar.gz.

File metadata

  • Download URL: gmplmagic-0.1.4.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmplmagic-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a4afa3eb1c564551099b89715d5e84827d9cbe89995e133377525e3580ddfc7c
MD5 497187520e4f7729e848a80ecf969eb6
BLAKE2b-256 916f9298b2b884e6d3e402ea6ea2990f0975d4bc3ad8978afa039064423ad889

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page