Available versions of this document: latest release, 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.

no category

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/latest/polytope/visual_polytopegraph.txt
  • Last modified: 2019/08/13 10:31
  • (external edit)