It works perfectly now.

Thanks again for all your help.

- 01 Oct 2014, 18:50
- Forum: General Discussion
- Topic: Is X an edge of the polytope Y?
- Replies:
**9** - Views:
**4054**

It works perfectly now.

Thanks again for all your help.

Thanks again for all your help.

- 01 Oct 2014, 17:38
- Forum: General Discussion
- Topic: Is X an edge of the polytope Y?
- Replies:
**9** - Views:
**4054**

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...

- 01 Oct 2014, 02:35
- Forum: General Discussion
- Topic: Is X an edge of the polytope Y?
- Replies:
**9** - Views:
**4054**

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...

- 30 Sep 2014, 17:40
- Forum: General Discussion
- Topic: Is X an edge of the polytope Y?
- Replies:
**9** - Views:
**4054**

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...

- 29 Sep 2014, 21:17
- Forum: General Discussion
- Topic: Is X an edge of the polytope Y?
- Replies:
**9** - Views:
**4054**

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...

Powered by phpBB® Forum Software © phpBB Limited