Search found 207 matches

Go to advanced search

by joswig
24 Mar 2024, 12:15
Forum: Helpdesk
Topic: "ERROR: Cannot draw zero cycle at ... "
Replies: 3
Views: 84

Re: "ERROR: Cannot draw zero cycle at ... "

polymake uses homogeneous polynomials throughout. Please replace the first line of your code by

Code: Select all

$quadric = toTropicalPolynomial("max(2*x,w+x+y,2*w+2*y,w+y+z,2*z,4*w)");
See this tutorial and these jupyter notebooks for more examples.
by joswig
18 Oct 2023, 15:53
Forum: Helpdesk
Topic: Recognizing the topology of surfaces
Replies: 8
Views: 12959

Re: Recognizing the topology of surfaces

Could you please upload your `$my_dual_sub` and `$my_signs`? One way would be to save the `$S_0` object and share the resulting JSON.

I can't promise, but maybe we can do a bit more here.
by joswig
23 Aug 2023, 11:27
Forum: General Discussion
Topic: constructing the bisectors of angles in polyhedra
Replies: 3
Views: 12666

Re: constructing the bisectors of angles in polyhedra

I still don't understand. Let's postpone this. Concerning your tertatoid, I think I know a way, modulo some experimenting. Here are the steps. (1) Construct the regular tetrahedron as the convex hull of every other vertex of the cube [-1,1]^3. Call this polytope T. (2) From each edge of T construct ...
by joswig
22 Aug 2023, 12:50
Forum: General Discussion
Topic: constructing the bisectors of angles in polyhedra
Replies: 3
Views: 12666

Re: constructing the bisectors of angles in polyhedra

What is the "perpendicular bisector" of an edge? Do you mean the affine hyperplane which is perpendicular to a given edge, passing through the midpoint of that edge? Your "tetartoid" is given without coordinates, and from the description given on that web page I cannot deduce how...
by joswig
26 Mar 2023, 19:17
Forum: Helpdesk
Topic: Fourier-Motzkin Elimination and the projection method
Replies: 7
Views: 10374

Re: Fourier-Motzkin Elimination and the projection method

Of course, we will fix those errors in polymake. However, your specific computation can be rescued as follows: polytope > $C = new Cone(INEQUALITIES =>[[1,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,0,0,0,0,0,0,0,0],[0,0,1,0,0,0,0,0,0,0,0,0],[0,0,0,1,0,0,0,00,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,1,0,0,0,...
by joswig
30 Jan 2023, 15:34
Forum: Helpdesk
Topic: Computational Complexity of VERTICES_IN_FACETS
Replies: 3
Views: 8394

Re: Computational Complexity of VERTICES_IN_FACETS

OK, so for fixed dimension d, assuming the resulting polytope to be simplicial (with prob 1) is indeed crucial for the algorithms to run in linear time? This is not what I said. Note that in the expression O(mnd) the parameter m (number of facets) depends on n (number of vertices/input points). Rou...
by joswig
03 Jan 2023, 16:57
Forum: Helpdesk
Topic: Computational Complexity of VERTICES_IN_FACETS
Replies: 3
Views: 8394

Re: Computational Complexity of VERTICES_IN_FACETS

Indeed, polymake employs a convex hull computation to compute the vertex-facet incidences from input points. Most algorithms/implementations produce FACETS and VERTICES_IN_FACETS together. If this is not the case there is a second step to compute scalar products between each row of VERTICES and each...
by joswig
03 Jan 2023, 16:32
Forum: Helpdesk
Topic: Computational Complexity of VERTICES_IN_FACETS
Replies: 3
Views: 8394

Computational Complexity of VERTICES_IN_FACETS

Here is a question that I received: I was wondering what computational complexity I can expect from VERTICES_IN_FACETS for m vertices on the d sphere. Does it rely on a convex hull algorithm? If yes, on which? As I am using this wonderfully practicable function as a non-specialist in convex geometry...
by joswig
06 Sep 2022, 09:39
Forum: Helpdesk
Topic: How we can get the integer hull facets by using Polymake?
Replies: 5
Views: 9563

Re: How we can get the integer hull facets by using Polymake?

The code of the client gc_closure can be viewed on github.

The algorithm is described in §22.3 and §23.1 of Schrijver's book on integer and linear programming (Wiley 1986).

Go to advanced search