alarm-redist / redist

Simulation methods for legislative redistricting.
https://alarm-redist.github.io/redist/
GNU General Public License v2.0
67 stars 23 forks source link

`add_constr_group_inv_hinge` #119

Closed christopherkenny closed 2 years ago

christopherkenny commented 2 years ago

For state legislative districts, the opposite of hinge is useful and common enough to warrant a formal constraint.

CoryMcCartan commented 2 years ago

Opposite as in a penalty for exceeding a setpoint?

christopherkenny commented 2 years ago

Yes, exactly. Hinge but the other direction. For relatively small districts, that seems particularly useful

kosukeimai commented 2 years ago

I also think that the hinge in both directions could be useful as an option here though one can just impose the two together (this is particularly relevant when one wishes multiple districts to be in a certain range).