isl_tab_pip.c: add_lexmin_eq: remove misguided optimizations
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 15 Apr 2011 15:09:24 +0000 (17:09 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 19 Apr 2011 12:26:29 +0000 (14:26 +0200)
commitab692eed4db36bf525a8d82bc4670ffbd42955a9
treeb435a8afcb5c25a226de50accdda005fbf40224a
parent91e50bc447125cd4a64416ed64678303ac3152f2
isl_tab_pip.c: add_lexmin_eq: remove misguided optimizations

After adding a pair of inequalities corresponding to the equality,
the code tries to reduce the dimensionality of the problem by
removing a column.  If one of the added constraints happens to have
been pivoted into a column, then it can easily be removed.
Otherwise, the code tries to pivot the row into a column and
then remove the column.

This pivot may disrupt the lexico-positiveness of the columns however.
At the first least, the code should check that the pivot entry
is negative, but it should also avoid pivoting out a column corresponding
to a parameter.

Since this optimization shouldn't have that much of an effect anyway,
we choose here to just remove it for now.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_tab_pip.c