Hello,
I am noticing a big difference in the time taken to enumerate integer feasible points for a bounded integer program between CPLEX and Polymake.
Attached is an integer program, "problemIP.lp".
On running this through the attached "populate.c" cplex code file, I am able to obtain the 4722 integer feasible points in two files that are output by the "populate.c" file within about a second or so. One of the files produced is points.txt file while the other file is points_varname.txt. The only difference between the two files is that the latter file contains a first line that lists the variable names as picked up from the lp file. These files are in the zip folder since the forum says unzipped these files are too large.
Now, when I attempt to obtain the lattice points for the same problem under polymake thus:
$f = lp2poly('problemIP.lp');
$p=new Polytope<Rational>($f);
$p->LATTICE_POINTS;
the last function takes forever. I have to terminate it after about 10 minutes with nothing to show on the terminal.
Is there anything wrong that I am doing in obtaining the lattice points under polymake? I am using polymake version 3.2.
Thanks.