# MPI-I-98-1-031

## Optimal compaction of orthogonal grid drawings

### Klau, Gunnar W. and Mutzel, Petra

**MPI-I-98-1-031**. December** **1998, 20 pages. | Status:** **available - back from printing | Next --> Entry | Previous <-- Entry

Abstract in LaTeX format:

We consider the two--dimensional compaction problem for orthogonal grid drawings in which the task is to alter the coordinates of the vertices and edge segments while preserving the shape of the drawing so that the total edge length is minimized. The problem is closely related to two--dimensional compaction in {\sc VLSI}--design and is conjectured to be {\sl NP}--hard.

We characterize the set of feasible solutions for the two--dimensional compaction problem in terms of paths in the so--called constraint graphs in $x$-- and $y$--direction. Similar graphs (known as {\em layout graphs}) have already been used for one--dimensional compaction in {\sc VLSI}--design, but this is the first time that a direct connection between these graphs is established. Given the pair of constraint graphs, the two--dimensional compaction task can be viewed as extending these graphs by new arcs so that certain conditions are satisfied and the total edge length is minimized. We can recognize those instances having only one such extension; for these cases we can solve the compaction problem in polynomial time.

We have transformed the geometrical problem into a graph--theoretical one which can

be formulated as an integer linear program. Our computational experiments have shown

that the new approach works well in practice. It is the first time that the two--dimensional

compaction problem is formulated as an integer linear program.

Acknowledgement:** **

References to related material:

To download this research report, please select the type of document that fits best your needs. | Attachement Size(s): |

| 235 KBytes |

Please note: If you don't have a viewer for PostScript on your platform, try to install GhostScript and GhostView |

**URL to this document: **http://domino.mpi-inf.mpg.de/internet/reports.nsf/NumberView/1998-1-031

**BibTeX**
`@TECHREPORT{``KlauMutzel98-1-031``,`

` AUTHOR = {Klau, Gunnar W. and Mutzel, Petra},`

` TITLE = {Optimal compaction of orthogonal grid drawings},`

` TYPE = {Research Report},`

` INSTITUTION = {Max-Planck-Institut f{\"u}r Informatik},`

` ADDRESS = {Im Stadtwald, D-66123 Saarbr{\"u}cken, Germany},`

` NUMBER = {MPI-I-98-1-031},`

` MONTH = {December},`

` YEAR = {1998},`

` ISSN = {0946-011X},`

`}`