Search found 209 matches

Go to advanced search

by joswig
27 Mar 2012, 09:47
Forum: Helpdesk
Topic: Creating a graph with edge properties
Replies: 7
Views: 9412

Re: Creating a graph with edge properties

You'll have to find some way to make the values from the map visible, e.g. by using them as EdgeLabels or invent some color scheme based on them.
Actually, this will also depend on the visualization backend's capabilities. I am not sure if JReality and JavaView support edge labels at all.
by joswig
19 Mar 2012, 12:48
Forum: Helpdesk
Topic: Switching between java and postscript visualisation
Replies: 1
Views: 3520

Re: Switching between java and postscript visualisation

I suspect this is in the manual somewhere (apologies for blindness), but how do I switch between jReality and postscript for visualisation? Use functions jreality, javaview, postscript etc. as in postscript(cube(3)->VISUAL_GRAPH); jreality(cube(3)->VISUAL); If you always want to use the same use pr...
by joswig
31 Jan 2012, 19:14
Forum: Helpdesk
Topic: obtaining information from incidence matrices
Replies: 3
Views: 6353

Re: obtaining information from incidence matrices

I hope the following example explains a little how to use incidence matrices. polytope > $M=new IncidenceMatrix([[0,1,2],[0,2,3],[0,1,19]]); polytope > print $M; {0 1 2} {0 2 3} {0 1 19} polytope > print $M->rows(); 3 polytope > print $M->cols(); 20 Now, the following gives an error. polytope > prin...
by joswig
23 Jan 2012, 10:36
Forum: Helpdesk
Topic: RelInt Lattice Points
Replies: 3
Views: 5408

Re: RelInt Lattice Points

Right now there is no such function. However, there is a function to enumerate all lattice points in a rational polytope. polytope > print simplex(2,2)->LATTICE_POINTS; 1 0 0 1 0 1 1 0 2 1 1 0 1 1 1 1 2 0 And, there is a related function for the interior lattice points. polytope > print simplex(2,2)...
by joswig
23 Jan 2012, 10:33
Forum: Helpdesk
Topic: Hom-, or Mapping-Polytopes
Replies: 2
Views: 4415

Re: Hom-, or Mapping-Polytopes

Here is one example: polytope > $m=mapping_polytope(simplex(2),cube(2)); polytope > print $m->N_VERTICES; 64 For more information on creating polytopes and such please look at the tutorials . Also useful is polymake's online help functionality. polytope > help "mapping_polytope"; functions...
by joswig
13 Jan 2012, 14:58
Forum: Helpdesk
Topic: Subsets_of_k broken?
Replies: 3
Views: 5096

Re: Subsets_of_k broken?

Which compiler, which Perl version, and which operating system are you using?
by joswig
02 Jan 2012, 14:14
Forum: General Discussion
Topic: Polymake & OpenMP
Replies: 2
Views: 11259

Re: Polymake & OpenMP

I think, first of all we have to discuss the most probable and promising use cases of parallelization, and then carefully introduce the necessary support for it step by step. Probably it would be an interesting topic in the agenda of the upcoming workshop in March. I am quite sure that starting wit...
by joswig
29 Nov 2011, 13:01
Forum: General Discussion
Topic: pypolymake: A Sage Interface to polymake
Replies: 10
Views: 57550

Re: pypolymake: A Sage Interface to polymake

I now got it installed, thanks for your comments. Only the visualization doesn't yet work: sage: p.visual() polymake: WARNING: stored preference statements for label jreality are not in effect - probably excluded by auto-configuration sage: ERROR: ld.so: object '/home/stumpc5/progs/sage-4.7.1/local...
by joswig
25 Nov 2011, 10:17
Forum: Installing polymake
Topic: Installing 2.9.10 or 2.10 on Ubuntu 11.10
Replies: 4
Views: 7938

Re: Installing 2.9.10 or 2.10 on Ubuntu 11.10

That's not a bug. It is a mere warning coming from within libreadline (or rather its perl wrapper). It has nothing to do with polymake (except for the fact that polymake is triggering this by calling libreadline via perl).
by joswig
30 Oct 2011, 13:27
Forum: Helpdesk
Topic: Problems with script ”gc_closure”
Replies: 3
Views: 5300

Re: Problems with script ”gc_closure”

There is a sign error in the script. Please change line 28 of apps/polytope/scripts/gc_closure to my $obj=-(new Vector<Rational>(0 | $this_vector)); At some point we changed the orientation of the normal cones, but we forgot to modify this script accordingly. Sorry for the inconvenience. Will be fix...

Go to advanced search