Search found 115 matches

Go to advanced search

by blorenz
11 Feb 2013, 18:12
Forum: Helpdesk
Topic: compute volume using callable library
Replies: 8
Views: 8809

Re: compute volume using callable library

I tried to reproduce the problem with a small callable library program (using polymake 2.12) but it computes the volume just fine. Can you post the code which constructs your polytope ? You can also increase the verbosity of the scheduler and rule-execution with the following commands and attach the...
by blorenz
08 Jan 2013, 20:09
Forum: Installing polymake
Topic: Install from source on Arch Linux
Replies: 1
Views: 5539

Re: Install from source on Arch Linux

You can try compiling polymake using your system perl 5.16 with the patch from this other thread . Your perl installation might be missing the libperl.so shared library, you can try rebuilding perl with sh Configure -Duseshrplib or disable building the libpolymake shared library with ./configure --w...
by blorenz
08 Jan 2013, 19:44
Forum: Helpdesk
Topic: Polymake does not work in Perl 5.16
Replies: 5
Views: 8571

Re: Polymake does not work in Perl 5.16

Attached patch contains all changes to adapt polymake 2.12 for perl 5.16. I tested it successfully with perl v5.16.2.

Ben
by blorenz
01 Dec 2012, 13:46
Forum: Helpdesk
Topic: Secondary Fans using gfan
Replies: 10
Views: 13486

Re: Secondary Fans using gfan

The gfan rules are within application fan and therefore you need to switch to that application before reconfiguring or using the secondary_fan function:

Code: Select all

application "fan"; reconfigure "gfan.rules"; $f = secondary_fan($m);
Ben
by blorenz
13 Jul 2012, 00:49
Forum: Helpdesk
Topic: using polymake in a C++ program
Replies: 18
Views: 19422

Re: using polymake in a C++ program

The callable library is working since version 2.10 and included in a default installation. The documentation is here . There are also slides and an example program using the callable library in the material section from the first polymake workshop: http://www.polymake.org/doku.php/workshop0311-mater...
by blorenz
12 Jun 2012, 11:16
Forum: Helpdesk
Topic: Problem with "load"
Replies: 1
Views: 7731

Re: Problem with "load"

The matrix specification is somewhat wrong (a mix between sparse and dense formats):
There should be no

Code: Select all

cols="6"
attribute for a non-sparse matrix (and the value is also wrong). After removing this attribute the file loads fine.

Benjamin
by blorenz
22 May 2012, 14:39
Forum: Installing polymake
Topic: Tips for installing 2.12 from source on Ubuntu 12.04/64 bits
Replies: 2
Views: 6572

Re: Tips for installing 2.12 from source on Ubuntu 12.04/64

That should not be necessary.
I just installed the list of packages recommended for 11.10 on the installation page, configure went fine and it is compiling without any errors so far. (ubuntu 12.04 64bit desktop live cd)
Perhaps you are missing g++ . Only gcc is installed by default.
by blorenz
01 Feb 2012, 19:16
Forum: Helpdesk
Topic: Polymakes integer linear programming as callable library
Replies: 2
Views: 5008

Re: Polymakes integer linear programming as callable library

Hi, Before you use anything from the callable library you need to initialize polymake::Main; and set the correct application. In your case you need to add the following lines to the beginning of main : Main pm; pm.set_application("polytope"); Furthermore LP.MAXIMAL_FACE has type Set<int> :...
by blorenz
20 Dec 2011, 20:39
Forum: Helpdesk
Topic: Different output from polytopes
Replies: 2
Views: 4395

Re: Different output from polytopes

Now I take the facets from this output, which are a inequality description of the polytope, and create a polytope with that description: The facets do not suffice to describe the polytope, as it is not full-dimensional. You also need the subspace that contains the polytope, which is given in the AF...
by blorenz
30 Nov 2011, 15:34
Forum: Installing polymake
Topic: Documentation related "bugs"
Replies: 4
Views: 8083

Re: Documentation related "bugs"

The Prerequisites section of http://polymake.org/doku.php/tutorial/lattice_polytopes_tutorial seems to be out of date. Looks to me like the new polymake version does fine without any of those additional packages. There are still several lattice properties that cannot be computed without external so...

Go to advanced search