Spatial Optimization Methods And System For Redistricting Problems