Opened 3 years ago

Last modified 3 years ago

## #24837 closed enhancement

# Improve the output of repr_pretty for Polyhedron — at Initial Version

Reported by: | jipilab | Owned by: | |
---|---|---|---|

Priority: | major | Milestone: | sage-8.4 |

Component: | geometry | Keywords: | days93, IMA-PolyGeom |

Cc: | vdelecroix, moritz, tscrim | Merged in: | |

Authors: | Reviewers: | ||

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description

Following #22572, we can improve the output of the pretty print:

sage: Nice_repr = TCube.repr_pretty_Hrepresentation(separator='\n') sage: print(Nice_repr) 1 >= x0 1 >= x1 3*x1 + 7 >= 3*x0 + 3*x2 x0 + 1 >= 0 x1 + 1 >= 0 3*x0 + 7 >= 3*x1 + 3*x2 3*x0 + 3*x1 + 7 >= 3*x2 3*x0 + 3*x2 + 7 >= 3*x1 3*x0 + 3*x1 + 3*x2 + 7 >= 0 x2 + 1 >= 0 1 >= x2 3*x1 + 3*x2 + 7 >= 3*x0 3*x2 + 7 >= 3*x0 + 3*x1 7 >= 3*x0 + 3*x1 + 3*x2

**Note:**See TracTickets for help on using tickets.