# Paper by Erik D. Demaine

Reference:
Erik D. Demaine, Sándor P. Fekete, Günter Rote, Nils Schweer, Daria Schymura, and Mariano Zelke, “Integer Point Sets Minimizing Average Pairwise L1 Distance: What is the Optimal Shape of a Town?”, Computational Geometry: Theory and Applications, volume 44, number 2, February 2011, pages 82–94.

Abstract:
An n-town, n ∈ ℕ, is a group of n buildings, each occupying a distinct position on a 2-dimensional integer grid. If we measure the distance between two buildings along the axis-parallel street grid, then an n-town has optimal shape if the sum of all pairwise Manhattan distances is minimized. This problem has been studied for cities, i.e., the limiting case of very large n. For cities, it is known that the optimal shape can be described by a differential equation, for which no closed-form solution is known. We show that optimal n-towns can be computed in O(n7.5) time. This is also practically useful, as it allows us to compute optimal solutions up to n = 80.

This paper is also available from ScienceDirect.

Length:
The paper is 26 pages.

Availability:
The paper is available in PostScript (834k), gzipped PostScript (323k), and PDF (294k).
See information on file formats.
{"ft_lang_label":"__label__en","ft_lang_prob":0.86778736,"math_prob":0.90259135,"size":1724,"snap":"2020-45-2020-50","text_gpt3_token_len":444,"char_repetition_ratio":0.094767444,"word_repetition_ratio":0.03649635,"special_character_ratio":0.2424594,"punctuation_ratio":0.16871166,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95652896,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-11-29T19:55:24Z\",\"WARC-Record-ID\":\"<urn:uuid:60dfd0c0-1b2b-4ddf-9e02-f735dfbd2c45>\",\"Content-Length\":\"6554\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:13c46ef0-aba7-49df-b1d2-705df735fc8f>\",\"WARC-Concurrent-To\":\"<urn:uuid:c5049dff-9fa0-4f74-acdd-a93dafe44bed>\",\"WARC-IP-Address\":\"128.30.2.200\",\"WARC-Target-URI\":\"http://erikdemaine.org/papers/MinAvgDistance_CGTA/\",\"WARC-Payload-Digest\":\"sha1:262PVC2T2WQWF4KN2RTMB44ITRHTYBDS\",\"WARC-Block-Digest\":\"sha1:H72VFKSQPEZNKHS57QXQS5H34JJEK2D2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141202590.44_warc_CC-MAIN-20201129184455-20201129214455-00014.warc.gz\"}"}