The goal is to maximize the compactness of electoral districts, subject to other constraints, and thereby to avoid gerrymandering.
The objective is to optimize the compactness of electoral districts, while adhering to other limitations, in order to prevent gerrymandering.