worksheet with examples of the study of vertices of the generalized Pitman-Stanley polytope
Supplementary Sage worksheet for article Generalized Pitman-Stanley Polytopes: Vertices and Faces
William T. Dugan, Maura Hegarty, Alejandro H. Morales, Annie Raymond
July 20, 2023, arXiv:2307.09925
Generalized Pitman-Stanley polytopes are defined by: ParseError: KaTeX parse error: Invalid delimiter type 'ordgroup' at position 134: …es m} \quad\big{̲|̲}̲ \quad b_1 + \d… where , .
The following code block implements this construction.
As an example, we can easily compute the set of integer lattice points in the following way. Note that points are formatted as vectors instead of matrices, with coordinates listed row by row.
The following code block implements a class of flow polytopes that allows for non-binary netflow vectors:
Theorem 3.4 gives an integral equivalence between and a flow polytope over a grid graph . The following code implements the graph , which corresponds to the case that . See Figure 2(a) on p. 6 of the paper.
Let us look at an example of the integral equivalence:
In Section 5 of the paper, we demonstrate how the generating functions may be computed using the transfer matrix method. Here we illustrate this approach.
We give an example of Corollary 5.29 from the paper:
The following code computes the polynomials of the number of vertices pf using polynomial interpolation of . This is slow for . For , it is better to use the transfer-matrix method above.