I import the following set of inequalities (in lp format)
Code: Select all
Maximize
Subject To
c0: - a1 = 0
c1: a1 - a2 = 0
c2: a1 - a3 = 0
Bounds
a1 free
a2 free
a3 free
End
$f = convert_to<Rational>lp2poly('file.lp');
print equal_polyhedra($f,$f);
Regards,
Satya