Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Constrained clustering via diagrams: A unified theory and its
  applications to electoral district design   The paper develops a general framework for constrained clustering which is
based on the close connection of geometric clustering and diagrams. Various new
structural and algorithmic results are proved (and known results generalized
and unified) which show that the approach is computationally efficient and
flexible enough to pursue various conflicting demands.
  The strength of the model is also demonstrated practically on real-world
instances of the electoral district design problem where municipalities of a
state have to be grouped into districts of nearly equal population while
obeying certain politically motivated requirements.

11
The categories of this paper are: hep-lat
7
The categories of this paper are: hep-th
5
The categories of this paper are: gr-qc
26
The categories of this paper are: bayes-an
17
The categories of this paper are: q-fin
12
The categories of this paper are: nucl-th
36
The categories of this paper are: cmp-lg
19
The categories of this paper are: eess
23
The categories of this paper are: solv-int
32
The categories of this paper are: atom-ph
31
The categories of this paper are: ao-sci
20
The categories of this paper are: acc-phys
13
The categories of this paper are: quant-ph
6
The categories of this paper are: astro-ph
29
The categories of this paper are: funct-an
27
The categories of this paper are: comp-gas