Search found 337 matches

Go to advanced search

by gawrilow
08 Jan 2015, 12:13
Forum: Helpdesk
Topic: no visualization - problem with jreality?
Replies: 7
Views: 7634

Re: no visualization - problem with jreality?

Looks like a misconfiguration of your X11 installation, e.g. OpenGL library not compatible with the graphic card drivers. If you are not experiencing any troubles with other graphical programs on your computer: maybe your Java comes with an own broken OpenGL library? At any rate it does not look lik...
by gawrilow
07 Jan 2015, 23:34
Forum: Helpdesk
Topic: no visualization - problem with jreality?
Replies: 7
Views: 7634

Re: no visualization - problem with jreality?

Sometimes the jreality window hides itself behind others. But you have surely already checked this. Please start polymake with increased debug output level: polymake -dd and re-enter your commands. You will see plenty of irrelevant stuff about rules and so on, but eventually, following the credit no...
by gawrilow
23 Dec 2014, 19:05
Forum: Helpdesk
Topic: Polymake crashes when including linalg.h
Replies: 5
Views: 5347

Re: Polymake crashes when including linalg.h

Then the chances are good that this bug is indeed fixed. The next release is scheduled for coming February, AFAIK. If you are not going to wait that long, please upgrade to the snapshot. If it's absolutely not feasible for you, you should find the places in your code where it tries to store a ListMa...
by gawrilow
23 Dec 2014, 17:50
Forum: Helpdesk
Topic: Polymake crashes when including linalg.h
Replies: 5
Views: 5347

Re: Polymake crashes when including linalg.h

The major problem is not linalg.h itself but a bug in polymake which has sometimes led to a wrong compiler command. The release is already 1 year old, and I hope the bug has been fixed in the meanwhile. Anyway, you haven't replied to my last questions in PS. They may be relevant if the bug is observ...
by gawrilow
23 Dec 2014, 12:28
Forum: Helpdesk
Topic: Polymake crashes when including linalg.h
Replies: 5
Views: 5347

Re: Polymake crashes when including linalg.h

polymake sometimes wants to generate and compile missing glue code for data exchange between C++ and perl worlds. To see more clearly what's going on, please increase the verbosity level before you call your function: $Verbose::cpp=2; If the error happens already at start-up, you can place this sett...
by gawrilow
03 Nov 2014, 12:06
Forum: Helpdesk
Topic: Help with importing lists
Replies: 6
Views: 6815

Re: Help with importing lists

Code: Select all

polytope> $p = new Polytope(load("path/to/your/file"));
$p=load("..."); suffices.

Polytope<Rational> is the default object type for application polytope.
by gawrilow
29 Oct 2014, 17:58
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11755

Re: what is inhomog_var ?

Thank you for the confirmation. Is there a perl IDE like MS Visual Studio for C++? You can follow into the functions, see the value of variables. Maybe there is one, but I'm not aware of. For `old-fashioned' command line debugging the built-in perl debugger is good enough. See here for basic hints,...
by gawrilow
28 Oct 2014, 11:44
Forum: Helpdesk
Topic: Is it possible to turn on screen output?
Replies: 2
Views: 3562

Re: Is it possible to turn on screen output?

It's definitely not possible for convex hull computations, as both main engines (cdd and lrslib) do not print any progress information. Most probably, the lattice point enumeration will also be quiescent. You can try running polymake in debug mode: `polymake -d'. You will see a lot of unrelated nois...
by gawrilow
22 Oct 2014, 22:15
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11755

Re: what is inhomog_var ?

There are too many brackets for my taste. Let's make it simpler: my @labels=@{$p->COORDINATE_LABELS}; shift @labels; # get rid of the wrong leading one $s=new Polytope(POINTS=>$p->LATTICE_POINTS, COORDINATE_LABELS=>\@labels); Please remove 'my' in the first command if you enter this snippet in the i...
by gawrilow
13 Oct 2014, 12:33
Forum: Helpdesk
Topic: Please share C++ sample code
Replies: 6
Views: 7394

Re: Please share C++ sample code

... how you name your variables does not matter. Polymake should still parse the lp-file. I'm afraid, it seems to be not completely true. When you look into the LPparser perl class, you'll see a "prefix" option there defaulting to "x". It suggests that all variables in fact shou...

Go to advanced search