Search found 42 matches

Go to advanced search

by hampe
11 Jun 2021, 21:15
Forum: Helpdesk
Topic: Stable intersection not contained in set-theoretic intersection
Replies: 6
Views: 36806

Re: Stable intersection not contained in set-theoretic intersection

Okay, I think I might have a minimal example worked out - and might have discovered a second bug (related to this one):
When the set-theoretic-intersection is empty, I get a polymake: ERROR: Invalid chart coordinate

The "special" thing about the example is that both hypersurfaces have lineality ...
by hampe
11 Jun 2021, 20:24
Forum: Helpdesk
Topic: Stable intersection not contained in set-theoretic intersection
Replies: 6
Views: 36806

Re: Stable intersection not contained in set-theoretic intersection

Just to blame the right guy: The bug seems to have been in the original already, see https://github.com/simonhampe/atint/blob/master/apps/tropical/src/convex_hull_tools.cc ;)

In earlier times a-tint used to not use tropically homogeneous coordinates, I suspect this got lost in the transition ...
by hampe
11 Jun 2021, 20:06
Forum: Helpdesk
Topic: Stable intersection not contained in set-theoretic intersection
Replies: 6
Views: 36806

Re: Stable intersection not contained in set-theoretic intersection

Oh dear, oh dear, this was all so long ago ;)

I haven't worked on polymake for four years and I can see from the source that a few changes were made. Also, I don't have a working local polymake at the moment, so my diagnosis is at least half guesswork.

Here's what I can tell. The function set ...
by hampe
13 Jan 2017, 07:44
Forum: Helpdesk
Topic: Permission problems viewing PDFs in temp folders on MacOS
Replies: 0
Views: 219303

Permission problems viewing PDFs in temp folders on MacOS

I'm trying to use tikz visualization on a MacOS 10.12.2, but Preview complains that
The file “poly15629Taaaa0005.pdf” couldn’t be opened because you don’t have permission to view it.
I can identify the temporary folder using

print $ENV{TMPDIR};

in polymake (it' something long and convoluted ...
by hampe
13 Dec 2016, 13:28
Forum: Helpdesk
Topic: Converting Vector<Int> to Vector<TropicalNumber<Max> >
Replies: 2
Views: 10964

Re: Converting Vector<Int> to Vector<TropicalNumber<Max> >

Your example fails earlier on my computer

polytope > $w = new Vector<Int>([0,1/12,2/3,4/3,13/6,1/12,0,3/8,9/8,0,1/24,1/4,1/8,1/4,5/12]);

polymake: ERROR: non-integral number at input line 1.

Which makes sense, as 1/12 is not integer.
Also, doing

$v = new Vector<Int>(1,2,3);
$w = new Vector ...
by hampe
14 Nov 2016, 15:44
Forum: Helpdesk
Topic: reconfiguring gfan.rules in local folder
Replies: 3
Views: 11621

Re: reconfiguring gfan.rules in local folder

The rule files you're using depend on the polymake installation you're using. So as long as you run the system polymake, you will always use the rule files shipped with it. There is (as far as I know) no way around this.
If you want to fiddle with the source code, you have to download the polymake ...
by hampe
14 Nov 2016, 13:38
Forum: Helpdesk
Topic: random access incidence vector of HASSE_DIAGRAM->FACES
Replies: 3
Views: 12867

Re: random access incidence vector of HASSE_DIAGRAM->FACES

The faces of a Hasse diagram are of type Set<Int>, which can be determined by calling

print $simplexFace->type->full_name;

so random access is not actually foreseen in their interface (not quite sure, why the first version works, probably some perlish voodoo...).
There are various ways to ...
by hampe
13 Jun 2016, 17:33
Forum: Helpdesk
Topic: What is IncidenceMatrix good for?
Replies: 1
Views: 8548

Re: What is IncidenceMatrix good for?

A short answer is that an IncidenceMatrix encodes a list of subsets of some set {0,...,n}. So it is (in terms of the information it contains) almost the same as an Array<Set<Int> >, except that it contains the additional information of what the full set is (this is the number of columns of the ...
by hampe
14 Mar 2016, 11:29
Forum: Helpdesk
Topic: Constructing tropical complex
Replies: 1
Views: 8329

Re: Constructing tropical complex

The whole tropical functionality has been heavily remodeled and some older functions have been removed/refactored into other objects/functions.

As far as I can tell from the old code, the function tropical_complex was supposed to compute the subdivision of the tropical torus obtained by putting a ...
by hampe
23 Feb 2016, 17:05
Forum: Helpdesk
Topic: Tropical Basis Computation
Replies: 5
Views: 18537

Re: Tropical Basis Computation

Indeed. Note that Gfan also has a command to compute the prevariety, called

Code: Select all

gfan_tropicalintersection

Go to advanced search