Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing hard constraint for splitting counties/administrative entities? #161

Closed
martial00120 opened this issue Apr 10, 2023 · 2 comments
Closed
Labels

Comments

@martial00120
Copy link

Hi
How about adding the possibilty to have a hard constraint for splitting counties? In Germany, we have a higher tolerance for population deviation in the US (+/- 25%) but we optimize more in the direction of not splitting counties/county-equivalent areas. So how about opening up the possibility that at max .... counties can be split or that a county can at max be split k times? Then your project could be more helpful for the German application.

Sebastian Goderbauer, a Operations Research scientiest has published a proposal for redistricting in Germany, which optimizes mainly on this constraint, but his Code is unfortunately not available (and his thesis is in German).

@CoryMcCartan
Copy link
Member

We do have a hard split constraint! It can be accessed with the county= argument to redist_smc(). That will guarantee fewer splits than the number of districts minus 1 (though in practice you will often get many samples with fewer splits). If you need even fewer splits, you have two options:

Hope that helps.

@CoryMcCartan CoryMcCartan changed the title Feature request: allowing hard constraint for splitting counties/administrative entities? Allowing hard constraint for splitting counties/administrative entities? Apr 10, 2023
@martial00120
Copy link
Author

Ok, thank you! I could not try out your solutions yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants