Search found 209 matches

Go to advanced search

by joswig
20 May 2021, 09:29
Forum: Helpdesk
Topic: Issues solving an LP
Replies: 6
Views: 7311

Re: Issues solving an LP

There are two issues. (1) There is a small glitch in polymake's design of subobject properties (such as LP or MILP). The following works: > $x = lp2poly("untitled.lp"); > $obj= new Vector([1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]); > $x->MILP(LINEAR_...
by joswig
24 Apr 2021, 18:31
Forum: Helpdesk
Topic: How to define Matrix Group from generators?
Replies: 3
Views: 5670

Re: How to define Matrix Group from generators?

There is no actual support of matrix groups in polymake. Our groups are usually permutation groups. There is only some very limited functionality to convert between matrices and permutations. If you need the full strength of matrix groups (and polyhedral geometry) you should use Oscar , which will b...
by joswig
16 Apr 2021, 09:33
Forum: Helpdesk
Topic: Segmentation fault when using Polymake in Julia
Replies: 8
Views: 7670

Re: Segmentation fault when using Polymake in Julia

That polyhedron is unbounded; so the function says it cannot count the lattice points. Notice the extra inequality "1 0 0" (which amounts to 1 >= 0) that was added by polymake to your input. This is useful for combinatorial reasons: https://polymake.org/doku.php/user_guide/tutorials/coordi...
by joswig
15 Apr 2021, 13:10
Forum: Helpdesk
Topic: Segmentation fault when using Polymake in Julia
Replies: 8
Views: 7670

Re: Segmentation fault when using Polymake in Julia

Does this also happen with julia-1.6?

https://julialang.org/downloads/
by joswig
13 Apr 2021, 10:24
Forum: Helpdesk
Topic: Trouble interpreting the output (facets of a polytope)
Replies: 6
Views: 6836

Re: Trouble interpreting the output (facets of a polytope)

Please send your full input and output, at least for a minimal example which exhibits the problem.
by joswig
23 Dec 2020, 12:51
Forum: Helpdesk
Topic: Documentation for file command line interface
Replies: 3
Views: 6529

Re: Documentation for file command line interface

The following variant of the tutorial code is more generic and thus probably even better suited for your needs: polymake 'my $c=load("c3.poly"); print "$_\n", $c->$_, "\n\n" for "N_VERTICES", "N_FACETS";' You can add as many properties as you like.
by joswig
21 Oct 2020, 09:52
Forum: Helpdesk
Topic: Tropical Polytope Visualization
Replies: 1
Views: 5475

Re: Tropical Polytope Visualization

Please give more details: which polymake version on which operating system are you running? Which visualization backend?

Also please give the entire sequence of commands leading to the error.
by joswig
06 Oct 2020, 11:20
Forum: Helpdesk
Topic: Simple question regarding converting polytope to facets
Replies: 3
Views: 6159

Re: Simple question regarding converting polytope to facets

Yes, inequalities and equalities are kept seperate. You can use them in the way you described as input (by specifying INEQUALITIES and maybe EQUATIONS), but FACETS and AFFINE_HULL give irredundant output.
by joswig
12 Aug 2020, 09:22
Forum: Helpdesk
Topic: "det" in pdl and "det" in polymake
Replies: 5
Views: 7457

Re: "det" in pdl and "det" in polymake

I am glad you found something useful in polymake. Let me point out that polymake scripts differ slightly from general perl scripts. They should start out with something like use application "polytope"; to set the scope (i.e., the active application). polymake's determinant function lives i...
by joswig
11 Aug 2020, 16:51
Forum: Helpdesk
Topic: "det" in pdl and "det" in polymake
Replies: 5
Views: 7457

Re: "det" in pdl and "det" in polymake

Is there a way to tell polymake to use the polymake det function? This is impossible to answer without seeing your script. I do not know about pdl. That is, if you would post that script, it might require a bit of explanation. If not, is there is an efficient way to compute the multiplicity of a se...

Go to advanced search