Skip to main content

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:

https://github.com/coin-or/GrUMPy

Documentation for the API is here:

https://tkralphs.github.io/GrUMPy

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.95.1
Filename, size File type Python version Upload date Hashes
Filename, size coinor.grumpy-0.95.1-py2-none-any.whl (90.9 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size coinor.grumpy-0.95.1-py3-none-any.whl (94.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size coinor.grumpy-0.95.1.tar.gz (44.1 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