documentation:release:3.5:polytope:visual_polytopegraph

Available versions of this document: latest release, release 4.11, release 4.10, release 4.9, release 4.8, release 4.7, release 4.6, release 4.5, release 4.4, release 4.3, release 4.2, release 4.1, release 4.0, release 3.6, release 3.5, nightly master

Reference documentation for older polymake versions: release 3.4, release 3.3, release 3.2

BigObject Visual::PolytopeGraph

from application polytope

Visualization of the graph of a polyhedron.

DIRECTED_GRAPH(LinearProgram lp)

Show the growth direction of a linear objective function via arrowed edges.

Parameters:

LinearProgram lp: a LinearProgram object attached to the polytope

Returns:

EDGE_COLORS()

Produce an edge coloring of a bounded graph from local data in the Hasse diagram.

Returns:

MIN_MAX_FACE(LinearProgram lp)

Illustrate the behavior of a linear objective function on the polytope. The vertices belonging to MINIMAL_FACE and MAXIMAL_FACE are drawn in distinct colors The spring embedder applies an additional force, which tries to arrange the nodes in the z-axis direction corresponding to the objective function values.

Parameters:

LinearProgram lp: a LinearProgram object attached to the polytope

Options:

Color min: minimal face decoration (default: yellow nodes)

Color max: maximal face decoration (default: red nodes)

Returns:

VERTEX_COLORS(LinearProgram lp)

Illustrate the behavior of a linear objective function on the polytope. Color the nodes according to the value the objective function takes on the vertices. The spring embedder applies an additional force, which tries to arrange the nodes in the z-axis direction corresponding to the objective function values.

Parameters:

LinearProgram lp: a LinearProgram object attached to the polytope.

Options:

Color min: minimal face color (default: yellow)

Color max: maximal face color (default: red)

Returns:

  • documentation/release/3.5/polytope/visual_polytopegraph.txt
  • Last modified: 2019/08/13 10:31
  • by 127.0.0.1