Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

force 0/1 in V-representation of a set of inequalities

Hi,

If I have an array of inequalities (ieqs) that I define as a polyhedron through the command p = Polyhedron(ieqs = ieqs) and then I get the list of vertices of that polyhedron using [p.Vrepresentation( )], however the vertices are fractional so is there any way to force the vertices to be 0-1?

If not, is there a way so that I convert the vertices myself?

Thanks and sorry if my question is so basic

click to hide/show revision 2
retagged

force 0/1 in V-representation of a set of inequalities

Hi,

If I have an array of inequalities (ieqs) that I define as a polyhedron through the command p = Polyhedron(ieqs = ieqs) and then I get the list of vertices of that polyhedron using [p.Vrepresentation( )], however the vertices are fractional so is there any way to force the vertices to be 0-1?

If not, is there a way so that I convert the vertices myself?

Thanks and sorry if my question is so basic