Search found 5 matches

Go to advanced search

by Isaac
01 Oct 2014, 18:50
Forum: General Discussion
Topic: Is X an edge of the polytope Y?
Replies: 9
Views: 5461

Re: Is X an edge of the polytope Y?

It works perfectly now.

Thanks again for all your help.
by Isaac
01 Oct 2014, 17:38
Forum: General Discussion
Topic: Is X an edge of the polytope Y?
Replies: 9
Views: 5461

Re: Is X an edge of the polytope Y?

Hi, That code is exactly what I'm looking for, thanks!! However when I type $a=new Set<Set<Vector>>; foreach $e (@{$c->GRAPH->EDGES}) { $a+=new Set<Vector>(map ($c->VERTICES->[$_],@{$e})); } I get the following ERROR message: ERROR: reference to an undeclared variable $e at input line 1. All the oth...
by Isaac
01 Oct 2014, 02:35
Forum: General Discussion
Topic: Is X an edge of the polytope Y?
Replies: 9
Views: 5461

Re: Is X an edge of the polytope Y?

Hi, Thanks for your reply. Polymake does indeed solve the problem but I am wondering is there a quicker way. With polymake I have to index the vertices and check the edge set manually. Is it true that when polymake outputs the VERTICES e.g. 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 1 0 0 0 0 1 0...
by Isaac
30 Sep 2014, 17:40
Forum: General Discussion
Topic: Is X an edge of the polytope Y?
Replies: 9
Views: 5461

Re: Is X an edge of the polytope Y?

Hi Joswig, Thanks for your comment. Unfortunately I'm not a great programmer, hence would it be possible for you to elaborate a little on your advice? My input files contain row vectors like the following 0 2 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0...
by Isaac
29 Sep 2014, 21:17
Forum: General Discussion
Topic: Is X an edge of the polytope Y?
Replies: 9
Views: 5461

Is X an edge of the polytope Y?

Hello, Hopefully there's someone out there who can help me with this. I want to be able to answer the following question: "F is a set of vectors in the semigroup N^d (d copies of the the non-negative integers). Define P = conv(F) i.e. the convex hull of F. Given u_1 and u_2 in F, is [u_1, u_2] an ed...

Go to advanced search

cron