Search found 12 matches

Go to advanced search

by kisas
28 Oct 2014, 17:29
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11779

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.
When I look at the code, I suspect that if you look at the order property 'COORDINATE_LABELS' you will see that the facets are also shifted by one.
by kisas
28 Oct 2014, 17:27
Forum: Helpdesk
Topic: Is it possible to turn on screen output?
Replies: 2
Views: 3567

Re: Is it possible to turn on screen output?

Thank you! Tried -d. the output seems interesting. 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: ...
by kisas
28 Oct 2014, 00:18
Forum: Helpdesk
Topic: Is it possible to turn on screen output?
Replies: 2
Views: 3567

Is it possible to turn on screen output?

Hi all, I searched but didn't find an answer. How to turn on screen output when e.g., computing lattice points, or generating facets? When I was using PORTA, it prints out the progress so that I have an rough idea how the process is going. Does Polymake have similar screen print out ? Thanks!
by kisas
23 Oct 2014, 21:09
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11779

Re: what is inhomog_var ?

Thanks for your reply. I might have missed something. If you compare the facets and the affine hulls: for the affine hulls, you can observe that the variable names are shifted by one column; but for the facets, there is not a clear pattern of name shifting. Why the print_constraints function has dif...
by kisas
22 Oct 2014, 22:50
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11779

Re: what is inhomog_var ?

Thank you! Gawrilow. It works. However, I found that the facets I got this time is different from the previous one with inhomog_var. I was expecting, with the modified code, the inequalities I got won't change much, except the inhomog_var gone. So it seems that this bug has messed up all the facets....
by kisas
22 Oct 2014, 21:17
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11779

Re: what is inhomog_var ?

Hi Assarf, Thanks for your solution. But when I copied your code to polymake, it has the following error. The code seems too advance to me. I couldn't figure out what is wrong here. Can you please check if I missed anything? Thanks! polytope > $s=new Polytope(POINTS=>$p->LATTICE_POINTS, COORDINATE_L...
by kisas
22 Oct 2014, 16:53
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11779

Re: what is inhomog_var ?

does anyone have any idea about this? Any input is highly appreciated.
by kisas
17 Oct 2014, 22:57
Forum: Helpdesk
Topic: what is inhomog_var ?
Replies: 11
Views: 11779

what is inhomog_var ?

This inhomog_var shows up when I was computing the facets using the following standard code: $f=lp2poly('2.lp'); $p = new Polytope<Rational>($f); $p->LATTICE_POINTS; $s=new Polytope(POINTS=>$p->LATTICE_POINTS, COORDINATE_LABELS=>$p->COORDINATE_LABELS); print_constraints($s); In facets I got, there a...
by kisas
16 Oct 2014, 20:39
Forum: Helpdesk
Topic: Please share C++ sample code
Replies: 6
Views: 7403

Re: Please share C++ sample code

Hi gawrilow, Thanks for your input. I tried a LP file with var names such as f12 u23. The polymake does work (although I haven't check if the output is correct, but at least it takes the input.) I'm using the latest version of polymake. Maybe you were looking at an older version. ... how you name yo...
by kisas
14 Oct 2014, 18:25
Forum: Helpdesk
Topic: Please share C++ sample code
Replies: 6
Views: 7403

Re: Please share C++ sample code

Hi assarf, Thanks for you response. I was wrong that lp files only have var names starting with "x". I have been working with AMPL recently. Every LP files produced by AMPL have var names only starting with "x". So I thought that was a feature of LP files. Actually it is not. I f...

Go to advanced search