We show that obtaining the optimal orientations of modules to minimize the length of the longest wire is
NP-hard. If each module is permitted only two possible orientations, this can be done in linear time. When all
four orientations are permissible and wires are restricted to connect modules whose separation is bounded by
some constant, the problem also can be solved in linear time.