Search found 164 matches

Go to advanced search

by joswig
23 Dec 2020, 12:51
Forum: Helpdesk
Topic: Documentation for file command line interface
Replies: 3
Views: 938

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:

Code: Select all

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: 782

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: 710

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: 1065

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 in the appl...
by joswig
11 Aug 2020, 16:51
Forum: Helpdesk
Topic: "det" in pdl and "det" in polymake
Replies: 5
Views: 1065

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...
by joswig
31 Mar 2020, 14:04
Forum: General Discussion
Topic: building SubdivisionOfPoints from C++
Replies: 5
Views: 2467

Re: building SubdivisionOfPoints from C++

I should say that

Code: Select all

perl::Object
is outdated now. In version 4.0 this was replaced by

Code: Select all

BigObject
; no perl:: anymore.

To get an idea I would recommend to look at code in polymake's source, e.g., normal_fan.cc. While that is about a different big object type, its use is similar.
by joswig
10 Mar 2020, 17:37
Forum: Helpdesk
Topic: Porting old code
Replies: 3
Views: 2080

Re: Porting old code

... I can now tell you that polymake 4.0r1 will be in Fedora 32 ...
That's excellent! thanks for your effort. -- Michael
by joswig
09 Mar 2020, 18:02
Forum: Helpdesk
Topic: Computing one interior lattice points of possibly unbounded polytopes
Replies: 3
Views: 1609

Re: Computing one interior lattice points of possibly unbounded polytopes

Via SCIP (and tosimplex) polymake can solve arbitrary (mixed) integer linear programs.
Please look at the code for MIN_WEIGHTS in apps/fan/rules/subdivision.rules for an example which you can modify to your needs.
by joswig
09 Mar 2020, 17:36
Forum: Helpdesk
Topic: Computing one interior lattice points of possibly unbounded polytopes
Replies: 3
Views: 1609

Re: Computing one interior lattice points of possibly unbounded polytopes

polymake 4.0 comes with a new function which solves your very problem! fan > print $HC33->MIN_WEIGHTS; polymake: used package scip SCIP - Solving Constraint Integer Programs SCIP is a solver for Mixed Integer Linear and Nonlinear Problems that allows for an easy integration of arbitrary constraints....
by joswig
30 Jan 2020, 10:55
Forum: News
Topic: polymake 4.0 released
Replies: 0
Views: 6535

polymake 4.0 released

This is to announce the release of polymake 4.0. We bumped up the version major number in order to mark a few breaking changes, which resulted in some major reshuffling behind the scenes. However, most of these will only affect the programmers among the polymake users: * Data file format switched fr...

Go to advanced search

cron