On Mon, Feb 28, 2022 at 1:47 AM Matthias Koeppe
<matthiaskoe...@gmail.com> wrote:
>
> On Sunday, February 27, 2022 at 4:16:05 PM UTC-8 Dima Pasechnik wrote:
>>
>>
>> In fact, it seems that the paper you cite uses a rather unusual way
>> to normalise the volume:
>>
>> "The normalized volume vol(P) of a d-dimensional polytope P ⊂ R m is
>> the volume form which assigns a volume of one to the smallest
>> d-dimensional integer simplex in the affine span of P."
>
>
> Sage has this normalization too. It's called "induced_lattice".



Indeed:

sage: sage: G=DiGraph({0:[1,2,3,4], 1:[2,3,4], 2:[3,4], 3:[4]})
....: sage: G.flow_polytope().volume(measure = "induced_lattice")
2

There is also  "induced_rational". With it, one gets the answer
consistent with the cited paper, too:

sage: sage: G=DiGraph({0:[1,2,3,4], 1:[2,3,4], 2:[3,4], 3:[4]})
....: sage: G.flow_polytope().volume(measure = "induced_rational",
engine = "latte")
1/360

(to get the paper's normalisation, multiply by 720=6!)


>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/04fde886-10b1-4938-bae0-ced76e0e9ae6n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2X-pyUt%3D4_40eNY%2B7%2B_uJWtnJbMe89BtdaLes0T8s%2B8g%40mail.gmail.com.

Reply via email to