Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Graphics for Understanding Mathematical Programming (GrUMPy)

Project description

GrUMPy is a class for visualizing various algorithm used in solving discrete optimization problem. It has a class for dynamically generating and visualizing branch-and-bound trees that is derived from the GiMPy graph class. Using the branch-and-bound class, a user can visualize the branch-and-bound process in a number of different ways either by building the tree dynamically through direct calls to Python from the solver or by piping the output of an instrumented solver to GrUMPy for parsing. The branch-and-bound class also includes a pure Python implementation of branch and bound that is targeted at educational use.

In addition, GrUMPy includes a class for visualizing 2-dimensional polyhedra that can be used in combination with a pure Python implementation of the Gomory cutting plane algorithm to geometrically visualize the process of solving an integer program by a cutting plane algorithm. In future releases, the cutting plane visualization will be joined together with the branch-and-bound implementation to yield a full-blown visualization of the branch-and-cut algorithm.

A quick introduction with examples is available on Github:

Documentation for the API is here:

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 coinor.grumpy, version 0.9.1
Filename, size File type Python version Upload date Hashes
Filename, size coinor.grumpy-0.9.1-py2-none-any.whl (42.3 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size coinor.grumpy-0.9.1-py3-none-any.whl (45.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size coinor.grumpy-0.9.1.tar.gz (41.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page