Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

GMPL Notebook: A GMPL/MathProg Kernel for Jupyter

Usage

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

Dependencies

GMPL Notebook has been tested with

  • Jupyter 4.2.0
  • Python 3.5.2
  • MetaKernel 0.14
  • PyGLPK 0.4.2, available from @bradfordboyle
  • GLPK 4.60

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 Notebook:

pip install gmplnotebook
python -m gmplnotebook install --user

GMPL/MathProg should now appear as an option when creating new notebooks in Jupyter.

About

A GMPL/MathProg kernel + extension for Jupyter

Resources

License

You can’t perform that action at this time.