Skip to main content

3D Visualization of Branch-and-Cut Trees using PySCIPOpt

Project description

TreeD

Visual representation of the branch-and-cut tree of SCIP using spatial dissimilarities of LP solutions -- Interactive Example

Example

Usage:

  • run TreeD.py to get usage information

Dependencies:

  • PySCIPOpt to solve the instance and generate the necessary tree data
  • Plot.ly to draw the 3D visualization
  • pandas to organize the collected data
  • sklearn for multi-dimensional scaling
  • pysal to compute statistics based on spatial (dis)similarity

Export to Amira:

  • run AmiraTreeD.py to get usage information.

AmiraTreeD.py generates the '.am' data files to be loaded by Amira software to draw the tree using LineRaycast.

Settings

Project View

  • DataTree.am: SpatialGraph data file with tree nodes and edges.
  • LineRaycast: Module to display the SpatialGraph. Note that is needed to set the colormap according to py code output (For instance 'Color map from 1 to 70' in this picture).
  • DataOpt.am: SpatialGraph data file with optimun value.
  • Opt Plane: Display the optimal value as a plane.

Preview

Amira preview

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

treed-0.0.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

treed-0.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file treed-0.0.1.tar.gz.

File metadata

  • Download URL: treed-0.0.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for treed-0.0.1.tar.gz
Algorithm Hash digest
SHA256 624763b9324f4cf1792acd0120e4789b775c2d4c547770a79fa79453ae08edf6
MD5 3651ac08e44c0946caa6db57334e688e
BLAKE2b-256 30b6f38062c6dea9c92be1da3166b8363ec3d8447b7fe0010b0efb0d819f4c6b

See more details on using hashes here.

File details

Details for the file treed-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: treed-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for treed-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22ac5adab792a3d26a828482ce6b7fe0e0fb8df3defa4464641d4c8760771a1f
MD5 b0bae4edfcdf6f9ac28a8884a7e43514
BLAKE2b-256 81f490f2adee4816749997fb3a665adc925cd1086ec309b7415802fa938ed669

See more details on using hashes here.

Supported by

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