Specification: Polyhedra

Profiles: OSCAR v1.0, OSCAR v1.1, OSCAR v1.2, OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7, OSCAR v1.8

Polyhedron is currently documented in the OSCAR v1.7 profile through the rosetta-stone corpus. This page records the present encoding shape and should be read as a profile-specific type description.

Encoding Notes

Canonical Example Payload

The following payload is taken directly from the current rosetta-stone corpus.

{
  "LP": [{"LINEAR_OBJECTIVE": ["0", "64449", "26552", "73367"], "_id": "unnamed#0"}],
  "_id": "data.json",
  "INEQUALITIES": [
    ["12", "31", "24", "78"],
    ["51", "63", "17", "35"],
    ["23", "99", "19", "34"],
    ["1", "0", "0", "0"]
  ],
  "_type": "polytope::Polytope<Rational>",
  "CONE_AMBIENT_DIM": 4,
  "_ns": {"polymake": ["https://polymake.org", "4.14"]}
}

Documented Profiles in This Corpus

This table records the profile/version pairs currently represented by the rosetta-stone examples for this data type. Add new rows as new systems or encoding revisions are documented.

Profile Version Example Root type
Oscar 1.0.5 Square polyhedron Polyhedron
Oscar 1.1.2 Square polyhedron Polyhedron
Oscar 1.2.2 Algebraic cube Polyhedron
Oscar 1.2.2 Square polyhedron Polyhedron
Oscar 1.3.1 Algebraic cube Polyhedron
Oscar 1.3.1 Square polyhedron Polyhedron
Oscar 1.4.1 Algebraic cube Polyhedron
Oscar 1.4.1 Square polyhedron Polyhedron
Oscar 1.5.1 Algebraic cube Polyhedron
Oscar 1.5.1 Square polyhedron Polyhedron
Oscar 1.6.0 Algebraic cube Polyhedron
Oscar 1.6.0 Square polyhedron Polyhedron
Oscar 1.7.0 Algebraic cube Polyhedron
Oscar 1.7.0 Square polyhedron Polyhedron
Oscar 1.8.0-DEV-1-8dea7e5a4d0cdef038b2fa2cd018d08201b4ac07 Algebraic cube Polyhedron
polymake 4.14 Linear program polytope::Polytope<Rational>

Rosetta Stone Examples