Manuscript Offprint
arXiv:2610.21924Learning to Transfer School Attendance Zoning across Cities
Abstract
Designing multi-school attendance zones requires selecting constraint settings that balance educational equity, accessibility, and school capacity. Repeating this process for each new city can require substantial local calibration and computational search. We introduce COMPASS, a parameter-to-policy framework that transfers knowledge from previous zoning searches to unseen cities through supervised prediction. Using search-derived parameter configurations as offline supervision, COMPASS learns to predict interpretable zoning-control parameters from urban representations and zoning-difficulty signals. A downstream mixed-integer linear program converts these parameters into explicit zoning plans, with conditional parameter repair when the initial solve is unsuccessful. We evaluate parameter prediction, zoning-outcome recovery, and computational efficiency through five-fold cross-validation across 3,000 US cities, complemented by a case study of Atlanta. COMPASS achieves a 99.80% solver-feasible success rate and a 49.14× median deployment-time speedup relative to repeated city-specific parameter search. Further analysis shows that transfer performance varies across urban contexts and policy dimensions: structurally difficult cities receive the largest feasibility gains, while enrollment balance remains the hardest outcome to recover. These findings demonstrate how cross-city learning can reduce repeated search while retaining explicit zoning controls and spatial plans for local inspection and adaptation.
Keywords: School attendance zoning; Transfer learning; Bilevel optimization; Urban heterogeneity; Educational equity.
1 Introduction
Geographic boundaries help determine which public schools families can access and how educational opportunities are distributed across urban space. Because neighborhood-based assignment ties school access to residential location, school composition often reflects patterns of residential segregation. Attendance boundaries can reinforce these patterns or create opportunities for greater integration [1]. Improving demographic balance, however, may lengthen students' journeys or shift enrollment toward schools with limited capacity, whereas prioritizing proximity and balanced enrollment may restrict opportunities for integration. These trade-offs shape how benefits and burdens are distributed across families. Deciding which compromises are acceptable requires reconciling different stakeholder priorities, making school zoning both a computational problem and a consequential policy decision [2].
Computational optimization provides a systematic way to examine these trade-offs. Objectives and constraints can represent requirements concerning accessibility, enrollment, capacity, demographic composition, school quality, and geographic contiguity [3, 4]. Applying such a formulation requires concrete control parameters, including the number of zones, permitted enrollment deviations, allowable coverage distances, and demographic bounds. These parameters translate policy requirements into operational settings, defining which zoning plans are admissible and which compromises the optimizer can consider. Obtaining a suitable plan therefore requires both solving the optimization problem and configuring its controls appropriately.
Selecting these controls is difficult because their effects interact. Tight demographic bounds may conflict with the spatial distribution of students, while capacity and contiguity requirements further restrict the feasible partitions. A configuration whose individual settings appear reasonable may therefore admit no feasible plan when the constraints are imposed jointly. Relaxing these settings can restore feasibility but may compromise the intended zoning outcomes. Finding a suitable configuration can consequently require repeated cycles of parameter selection, optimization, evaluation, and adjustment, supported by interactive decision tools or computational search [3, 5–7].
A1. Cross-City Parameter Reuse Strategy
A2. Cross-City Manual Calibration Strategy
A3. Per-City Independent Search Strategy

Figure 1: (A) Three conventional strategies are used to generate school-zoning control parameters: (A1) directly reusing parameters calibrated for another similar city, (A2) manually calibrating parameters for the target city, and (A3) performing an independent parameter search for the target city.
Applying the same framework to a new city creates a further configuration challenge. Differences in spatial structure, school supply, student demand, and demographic composition can make previously selected parameter values unsuitable. Repeating the full calibration or search process independently for every city leaves potentially useful experience from earlier applications underused. This motivates transferring knowledge about parameter configuration across cities. The question is whether the relationship between urban conditions and suitable control settings can be learned from previous searches and used to propose parameters for a target city. Such transfer could reduce repeated configuration work and make computational zoning methods easier to apply across cities, while retaining local data, policy goals, and explicit controls over zoning requirements.
Existing approaches provide several ways to obtain these target-city controls. One strategy directly reuses parameters from similar cities (Figure 1.A1), requiring source-city matching and evaluation of whether the borrowed settings remain suitable. A second calibrates parameters manually according to local conditions (Figure 1.A2) [8,9], potentially involving repeated adjustments and optimization runs. A third conducts an independent parameter search for each new city (Figure 1.A3) [10,11], automating configuration exploration but repeating its computational cost. These strategies differ in their reliance on human input and computation, but none explicitly learns a reusable mapping from urban conditions to zoning-control parameters.
Learning-based approaches offer a route to exploiting shared structure across instances, including reinforcement learning for school districting [12] and structured learning coupled with optimization for geographical districting [13]. For school attendance zoning, an important design requirement is to retain explicit controls through which decision-makers can inspect and adjust how policy requirements enter the optimization [14]. This motivates combining cross-city learning at the parameter level with constrained plan construction. Its effectiveness must also be assessed beyond prediction accuracy and runtime: suitable predictions must enable feasible plans and recover the intended zoning outcomes. Understanding how this performance varies across urban contexts and policy dimensions is therefore essential to establishing the benefits and limits of transfer.
These practical difficulties motivate the following two research questions in our paper:
Q1 (Methodological). How to enable a resource-efficient policy transfer via an interpretable framework?
Q2 (Empirical). How transferability varies across urban contexts and policy dimensions?
The answer to question Q1 (Methodological) is our COMPASS, a parameter-to-policy framework compressing parameter search into supervised prediction. Taking the optimization-ready urban representations and the school-zoning difficulty of cities as inputs, COMPASS uses existing parameter configurations as offline supervision, so that it learns to generate interpretable zoning-control parameters adapted to target cities. When deployed to an unseen city, COMPASS generates the required control parameters within one forward path, and a downstream mixed-integer linear programming (MILP) model converts these parameters into a constraint-satisfying school-zoning plan. This parameter-interpretable pipeline reduces both human effort and computational cost, achieving resource-efficient policy transfer.
We answer question Q2 (Empirical) with two key observations by analyzing our COMPASS method over 3,000 US cities. According to our analysis, school-zoning transferability is shaped by two factors: the urban contexts of target cities and the policy preferences. In terms of urban contexts, we find that cities with higher structural difficulties exhibit the worst transferability. This type of cities receive the most feasibility improvements from COMPASS. By contrast, large-scale cities only have the heaviest computational burdens, which bring no increase in zoning difficulties or the infeasibility rate. Across policy dimensions, student balance remains the hardest to recover, while transferability of other dimensions varies with overall policy preferences.
Our contributions are summarized as follows:
• We propose COMPASS, an interpretable parameter-to-policy framework (Section 4.1), and further construct an optimization-ready urban representation (Section 4.2) and a difficulty-aware parameter generation (Section 4.3). These designs together form a complete cross-city chain from city conditions to interpretable control vectors and then to school-zoning plans.
- Through 5-fold cross-city experiments on our dataset of 3,000 US cities, we validate COMPASS in terms of its parameter-prediction accuracy, policy-recovery effectiveness, and computational efficiency (Section 5.1), when facing unseen target cities. We further demonstrate the end-to-end pipeline of COMPASS in practice through a specific case study (Section 5.2).
• We identify systematic patterns in how the school-zoning transferability varies with urban contexts and policy dimensions (Section 6.1). Based on these differences, we further clarify responsibility boundary of COMPASS in policy implementation (Section 6.2).
Policy transfer. Public policies are often transferred across different cities due to their societal value or administrative requirements [25]. However, a direct transfer without target city knowledge can be arbitrary and ineffective [26]. To bridge this gap, the literature introduces various domain adaptation strategies, which specifically focus on the heterogeneous parts between cities [27,28]. In detail, these studies quantify urban heterogeneity through either quantitative urban morphology [29,30], or urban-region embeddings [31,32]. Despite these advances, current solutions exhibit limitations in application domains. In this work, we design a systematic representation specifically for school zoning to support policy transfer in this context.
3 Problem Formulation
We formulate school attendance zoning as a parameterized graph-partitioning problem. To formalize this problem mathematically, we define as the instance of city , where is the adjacency graph of geographic assignment units and contains the policy-relevant attributes. The zoning task then divides these units into zones, where and denote the units assigned to zone , yielding the zoning plan . At the structural level, a valid division must cover every geographic unit exactly once, contain no empty zones, and preserve geographic contiguity within every zone. The set of zone partitions satisfying the above requirements is formally defined as
Table 1: Components of the school-zoning control vector.
| Field | Symbol | Count | Definition |
|---|---|---|---|
| Zone structure | 1 | Number of school zones in the configuration | |
| Enrollment balance | 1 | Permitted enrollment deviation across zones | |
| Spatial accessibility | 1 | Multiplier determining the allowable coverage distance | |
| Capacity shortage | 1 | Maximum capacity shortage permitted within a zone | |
| School distribution | 2 | Deviations from the average number of schools per zone | |
| Equity bounds | 6 | Bounds on socioeconomic and demographic composition | |
| School quality bounds | 2 | Lower and upper bounds on school quality |
FRL: free or reduced-price lunch; FG: focal group; DI: diversity index; SQ: school quality.
Beyond structural validity, however, school zoning, ultimately aiming at a real policy decision, must account for the city attributes in , including student demand, demographic composition, school capacity, and school quality.
To translate these policy considerations into quantitative controls, we introduce a -dimensional control vector for the zoning optimization model:
where , and in this study. Table 1 summarizes the fields, symbols, counts, and definitions of each control. These controls must lie in the following common admissible domain:
However, only guarantees parameter-level validity; the corresponding city-specific zoning problem may still have no feasible solution. The feasibility of a parameter-valid control vector for a particular city is determined by solving a MILP for city instance with the candidate and a fixed policy specification . Under this configuration, the MILP search for a structurally valid zoning plan , which also satisfies enrollment balance, capacity shortage, equity, school distribution, school quality, spatial accessibility, and contiguity requirements induced by and . If no such plan exists, this candidate vector is regarded as infeasible. Otherwise, the MILP selects a feasible zoning plan as the current optimal solution:
where evaluates each feasible plan according to the fixed policy specification, and denotes the selected one. In Section 4, we introduce COMPASS to address the remaining problem: generating a city-specific, policy-interpretable and MILP-feasible control vector for an unseen city in a single step.
4 Compressing Parameter Search into Supervised Prediction
In this section, we answer the methodological question Q1 by introducing our COMPASS as follows. First, we construct the overall COMPASS framework (Figure 2.A) and demonstrate its end-to-end pipeline in Section 4.1. Building on this, we further detail two key components of COMPASS: an encoder producing optimization-ready urban representation in Section 4.2, and a difficulty signal for parameter generation in Section 4.3.
4.1 Framework Overview
To simultaneously reduce computational cost and human effort in school zoning policy transfer, we propose COMPASS, with two main stages: Offline Learning and Target-City Deployment. Through these stages, COMPASS leverages historical search experience to obtain school zoning plan for any unseen city through a single parameter-generation step. The end-to-end pipeline of COMPASS and its effectiveness (Figure 2.B) are presented in Figure 2.
A. Compressing Parameter Search into Supervised Prediction (COMPASS) Framework

B. Computational Cost – Human Effort Scale
Figure 2: (A) COMPASS compresses offline parameter search into supervised learning and makes parameter prediction for an unseen city. (B) COMPASS and the three conventional strategies are compared in term of city-specific computational cost and human effort.
Offline Learning. Two modules are active in the Offline Learning stage: the Oracle Search and the Parameter Generator. For each training city, we first run an Oracle Search on its complete city instance under the fixed policy specification , which filters out a sequence of candidate control vectors. Each candidate is passed to the downstream MILP to examine whether it can produce a feasible school zoning plan. Among the feasible candidates, we compare them from a policy perspective and define the best one as the teacher control vector . We now pair each training city's optimization-ready urban representation with its teacher control vector to form a cross-city supervision archive: . Finally, we use this archive to train the Parameter Generator, thereby establishing a mapping from city context to interpretable criteria for school zoning. At this point, COMPASS is ready for deployment on a target city without re-running the offline stage.
Target-City Deployment. The Target-City Deployment stage involves three consecutive modules: the Parameter Generator, the MILP, and the Conditional Rescue. To deploy COMPASS to an unseen target city, we must encode the complete city instance into an optimization-ready urban representation in advance. Once the representation is ready, the trained Parameter Generator directly predicts a city-specific control vector, based on its urban representation: . Next, we combine this control vector with the complete city instance of the target city to initialize the MILP configuration . The downstream MILP then utilizes this configuration under the policy specification , generating an explicit zoning plan . Typically, the MILP would directly generate a feasible solution; otherwise, if the initial MILP attempt is infeasible or hits the time limit, a Conditional Rescue is triggered. It repairs the control vector in a predefined order, re-solves the MILP, and returns the first successful zoning plan.
4.2 Optimization-ready Urban Representation
To allow the same Parameter Generator to handle heterogeneous cities, we adopt a shared encoder to encode both training cities and unseen target cities into optimization-ready urban representations. The encoder summarizes each complete city instance into a set of city-level numerical indicators, which influence the feasibility and policy outcomes of school zoning plans. Specifically, these indicators can be naturally divided into five feature groups: internal spatial structure , school supply , student demand , demographic composition and equity conditions , and the optimization context . Table 2 presents the blocks, symbols, counts, and definitions of each group. They collectively form a -dimensional optimization-ready urban representation, where :
This resulting representation therefore serves as a common input interface for COMPASS.
Table 2: Composition of the 140-dimensional optimization-ready urban representation.
| Block | Symbol | Count | Definition |
|---|---|---|---|
| Spatial structure | 18 | Scale, connectivity, and internal organization | |
| School supply | 39 | Availability, capacity, distribution and quality of schools | |
| Student demand | 10 | Volume and distribution of students across spatial units | |
| Demographic equity | 27 | Population heterogeneity and policy-relevant groups’ distribution | |
| Optimization context | 46 | Policy preferences, parameter domains, and evaluation settings |
Table 3: Composition of the structural difficulty profile.
| Difficulty dimension | Symbol | Levels | Zoning effect |
|---|---|---|---|
| Spatial-service difficulty | Low / High | Service distance and spatial coverage | |
| Capacity tightness | Loose / Tight | Capacity balance and shortage feasibility | |
| School-distribution imbalance | Low / High | School balance and zoning granularity | |
| Demographic-constraint risk | Low / High | Simultaneous satisfaction of equity bounds | |
| Graph-fragmentation risk | Low / High | Contiguity and spatial feasibility |
4.3 Difficulty-aware Parameter Generation
Cities vary substantially in the difficulty of satisfying constraints when generating feasible school zoning plans. Therefore, we must take variation in zoning difficulty across cities into consideration. Accordingly, COMPASS deliberately incorporates difficulty at three points: difficulty-signal construction, difficulty-sensitive asymmetric learning, and difficulty-dependent parameter relaxation.
Difficulty-signal construction. To make the Parameter Generator in our COMPASS aware of difficulty differences, we first construct difficulty signals. The complete difficulty signals consist of two kinds of complementary information: a structural difficulty profile and a plan-generation difficulty label . The structural difficulty profile describes the potential difficulty arising from the city’s own conditions, including spatial-service difficulty, capacity tightness, school-distribution imbalance, demographic-constraint risk, and graph-fragmentation risk:
Table 3 presents the dimensions, symbols, levels, and zoning effects of each difficulty. We calculate structural difficulty of both training cities and unseen target cities directly from their own urban representations. In contrast, the plan-generation difficulty label summarizes the overall execution difficulty during the generation of a feasible school zoning plan. For training cities, this label is derived from the actual search records of the Oracle Search and the corresponding downstream MILP; while for unseen target cities, COMPASS trains an auxiliary classifier to predict the level of plan-generation difficulty:
Difficulty-sensitive asymmetric learning. Besides using difficulty signals as input, we also make the training objective of the Parameter Generator difficulty-sensitive. Such a training objective is necessary because the prediction errors of the control vectors affect the downstream MILP differently depending on the deviation direction. That is, under the same error magnitude, when the error shifts to a feasibility-tightening direction, the school-zoning problem can be infeasible, whereas an error in a relatively safe direction is less likely to pose such a risk. Facing this asymmetry, COMPASS penalizes the prediction errors in the risky direction more heavily, using an asymmetric loss:
(8) where refers to the difference between the raw predicted value and the teacher value of control parameter for city , indicates the difficulty-sensitive weight, and denote the number of training cities and the dimension of the control vector, respectively. By minimizing this loss, the Parameter Generator finishes its training.
Difficulty-dependent parameter relaxation. Although asymmetric learning increases the penalty on errors in the risky direction, it still can not rule out the case that several moderate errors drift simultaneously toward the tightening direction, making the downstream MILP infeasible. To resolve this case, we perform a parameter relaxation before constructing the MILP configuration, which adjusts the control vector depending on the plan-generation difficulty label . The higher the predicted difficulty level, the more extensive the adjustment applied to the control vector. After the difficulty-dependent parameter relaxation, COMPASS processes the adjusted control vector following the remaining Target-City Deployment procedure introduced in Section 4.1, to generate an explicit school-zoning plan.
5 Results
In this section, we empirically validate the effectiveness of COMPASS, our solution for Q1. We first evaluate the aggregate performance of COMPASS across all test cities in Section 5.1. And then, we give an in-detailed analysis to demonstrate the exact zoning effect of COMPASS in Section 5.2.
5.1 Experimental Evaluation
To validate COMPASS at the aggregate level, we set up our experimental evaluation based on a self-constructed school zoning dataset spanning 3,000 US cities. We adopt 5-fold cross-validation, splitting the cities into training and test set at a ratio of 80:20 in each fold. After finishing the fold validations, each city is evaluated exactly once, thus yielding out-of-fold results across all 3,000 cities. Based on these results, we examine COMPASS from three aspects: parameter prediction, policy recovery, and computational efficiency.
Parameter prediction. We first test the learning capability of COMPASS, namely, its prediction accuracy on the parameters of the control vector. To quantify this prediction accuracy, we compare the predicted control parameters with the search-derived values and compute the standard regression metrics. In general, COMPASS achieves a macro-averaged MAE of 0.539, a macro-averaged RMSE of 0.986, and a macro-averaged of 0.360 on the out-of-fold predictions across all 3,000 cities. These results indicate that the Parameter Generator can learn a reliable parameter-prediction model from the supervision provided by the Oracle Search. Thus, COMPASS can capture the cross-city patterns linking urban representations and school-zoning control vectors.
Policy recovery. Since the parameter-prediction accuracy does not guarantee the feasibility of the corresponding school zoning plan, we further evaluate COMPASS's policy recovery performance. A city is recorded as recovered only if the following two conditions are simultaneously met:
-
Its predicted control vector enables the downstream MILP to successfully return a feasible zoning plan;
-
The actual policy outcome of this plan falls within a preset tolerance of the search-derived outcome.
For COMPASS and its two ablation variants, the solver-feasible success rate of the downstream MILP and the within-tolerance recovery rates across all policy dimensions are reported in Figure 3. These progressive improvements in the ablation results demonstrate that both the Difficulty-aware Parameter Generation and the Conditional Rescue additionally contribute to the policy recovery. These contributions make COMPASS reach a solver-feasible success rate of 99.80% (Figure 3.B), with all reported policy dimensions achieving the highest recovery rates (Figure 3.A1). Overall, COMPASS generates feasible school zoning plans for new cities while effectively recovering the key policy outcomes (Figure 3.A2).
A1. Policy Recovery: Dimension -Specific Rates

B. Feasibility Recovery: MILP Success Rates

A2. Policy Recovery: Overall Composite Score Rates
Figure 3: (A) End-to-end policy recovery of COMPASS and its two ablation variants over all held-out cities: (A1) within-tolerance recovery rates across five policy dimensions, and (A2) recovery rates for the composite policy score, with whiskers showing the observed range across the 5 cross-validation folds. (B) Solver-feasible MILP success rates.
Table 4: Runtime comparison between Oracle Search and COMPASS on successful runs.
| Method | Median runtime (s) | IQR (s) | Median Speedup (vs. Oracle Search) |
|---|---|---|---|
| Oracle Search | 9.150 | 7.059 - 12.905 | 1× |
| COMPASS | 0.186 | 0.155 - 0.236 | 49.14× |
Computational efficiency. Finally, we evaluate COMPASS's computational efficiency. Specifically, we measure the runtime for new cities with a feasible school zoning plan. According to this measurement, Table 4 summarizes the deployment-stage runtime of different methods. Compared with repeating Oracle Search for each new target city, COMPASS achieves a median runtime speedup. We further compare the runtime performance of COMPASS and its two ablation variants (Figure 4.A1 & 4.A2), finding that the efficiency advantage of COMPASS is maintained across all city scales (Figure 4.A3). Taken together, COMPASS significantly reduces the computational cost and improves the deployment efficiency for unseen cities.
5.2 Case Study: Atlanta
To evaluate the performance of COMPASS on a concrete unseen city, we randomly select a test city from fold 3, Atlanta, Georgia, as a case study (Figure 5.A). Atlanta comprises 193 spatial units, 64 schools, and 29,241 students. For this case, we adopt an experimental policy specification, which prioritizes demographic equity, followed by capacity adequacy, school-quality balance, travel distance, and so on. Under the same Atlanta city context and this fixed policy preference, we compare COMPASS with its two ablation variants and the search-derived reference in Figure 5.
Among all detectable results, we first observe that the auxiliary classifier correctly predicts Atlanta's plan-generation difficulty as Extreme. Beyond this component-level result, we find that COMPASS successfully generates a feasible zoning plan for Atlanta (Figure 5.B). Notably, we find that the difficulty-aware configuration is enough to generate feasible zoning plans, even without triggering the Conditional Rescue, the zoning plan of COMPASS is identical to its difficulty-aware ablation variant. This plan ensures zone contiguity, maintains 0 capacity shortage, and reduces travel distance by , which also manages the trade-off across all policy dimensions through a carefully designed compromise. This city-level evidence shows that COMPASS can support the transferability of school attendance zoning in practice.
A1. Global VS Oracle Search

A2. Difficulty-aware VS Oracle Search
Equal runtime
≤ 6 MILP units
7–10 MILP units
11–18 MILP units
A3. COMPASS VS Oracle Search
≥ 19 MILP units
Figure 4: (A) Paired city-level runtime comparisons of COMPASS and its two ablation variants against Oracle Search across four city-scale strata defined by assignment-unit count: (A1) Global versus Oracle Search, (A2) Difficulty-aware versus Oracle Search, and (A3) COMPASS versus Oracle Search, with the dashed line indicating equal runtime and the marginal distributions summarizing runtime variation under the paired approaches.
6 Discussion
We answer the empirical question Q2 in Section 6.1 by analyzing the quantitative evidence reported in Section 5 and summarizing the transferability patterns therein. We also discuss the boundary of responsibility for local decision-makers when deploying COMPASS and then carrying its outputs forward into subsequent policy implementation in Section 6.2.
6.1 Transferability Patterns
Urban contexts. The transferability benefits brought by COMPASS are not evenly distributed across urban contexts. Although COMPASS performs well in general, it mainly benefits cities that originally struggled to obtain feasible school zoning plans. These difficult cities are largely constrained by the structure of urban resources. For example, when multiple adverse conditions appear simultaneously, such as tight capacity and imbalanced school distribution, the risk of infeasible parameter configurations increases significantly. In contrast, city scale itself does not directly determine zoning difficulty. A larger city with more spatial units, schools, and students only leads to a higher computational burden and a longer solving time, but the failure rate is not necessarily higher, and obtaining a feasible plan is not necessarily more difficult.
Policy dimensions. The transferability varies significantly across different policy dimensions. In COMPASS, student balance is consistently the hardest to recover, while capacity shortage remains the least difficult, and demographic equity, school quality, and travel distance fall in between. The differences are influenced by changes in policy preferences to some degree, but this does not imply that the heavier the weight assigned to a policy dimension, the easier it is to transfer. That is because the final transfer outcomes are jointly determined by urban contexts, the complete policy objectives, and downstream algorithms; thus, they can not be attributed to any single policy weight.
6.2 Policy Implementation
For local decision-makers, COMPASS provides two complementary outputs: a MILP-feasible explicit zoning plan and a corresponding policy-interpretable control vector. The zoning plan allows local decision-makers to see the spatial assignment and the trade-offs across policy dimensions, while the control vector makes the control logic behind the plan inspectable, interpretable, and adjustable to local decision-makers. Hence, they can add or modify the local constraints, re-weight the policy dimensions, and re-run the downstream MILP to generate zoning plans based on their policy preference. After comparing multiple feasible plans, they choose the most satisfactory one and formally review it. During the review, local decision-makers should enforce local laws and
A. Atlanta Case:
City Context and Difficulty Signals


Atlanta, Georgia
| ID: | 130400 |
|---|---|
| Spatial units: | 193 |
| Schools: | 64 |
| Students: | 29,241 |
| Held-out fold: | 3 |
Structural Difficulty Profile
| Spatial-service difficulty: | High |
|---|---|
| Capacity tightness: | Tight |
| School-distribution imbalance: | High |
| Demographic-constraint risk: | High |
| Graph-fragment risk: | High |
Plan-generation Difficulty Labels
Predicted plan-generation difficulty:
• Extreme

Search-derived teacher difficulty:
• Extreme
B. MILP-Realized Zoning Policies under Alternative Parameter Configurations
Oracle Search -- 8 zones

Global -- 9 zones

Difficulty-aware -- 9 zones

COMPASS -- 9 zones

| Policy dimension | Value | ΔSearch |
|---|---|---|
| Demographic equity | 0.6509 | — |
| Capacity shortage | 0 | — |
| Travel distance | 1.9723 | — |
| School quality | 0.5256 | — |
| Student balance | 0.3745 | — |
| Composite policy score | 2.1156 | — |
| Policy dimension | Value | ΔSearch |
|---|---|---|
| Demographic equity | 0.5372 | -0.1138 |
| Capacity shortage | 0 | 0 |
| Travel distance | 3.2891 | +1.3167 |
| School quality | 0.3866 | -0.1390 |
| Student balance | 0.4382 | +0.0637 |
| Composite policy score | 2.2009 | +0.0853 |
| Policy dimension | Value | ΔSearch |
|---|---|---|
| Demographic equity | 0.7582 | +0.1072 |
| Capacity shortage | 0 | 0 |
| Travel distance | 1.6345 | -0.3379 |
| School quality | 0.7069 | +0.1813 |
| Student balance | 0.8952 | +0.5207 |
| Composite policy score | 2.9474 | +0.8318 |
| Policy dimension | Value | ΔSearch |
|---|---|---|
| Demographic equity | 0.7582 | +0.1072 |
| Capacity shortage | 0 | 0 |
| Travel distance | 1.6345 | -0.3379 |
| School quality | 0.7069 | +0.1813 |
| Student balance | 0.8952 | +0.5207 |
| Composite policy score | 2.9474 | +0.8318 |
Figure 5: (A) A map presents the city context of Atlanta together with its structural difficulty profile and plan-generation difficulty labels. (B) Zoning plans and corresponding policy outcomes generated by COMPASS are compared with its two ablation variants and the search-derived reference.
regulations, consult community residents and gather their feedback, and ultimately implement the adopted plan. After the policy implementation, local decision-makers still need to keep monitoring its practical effects. These responsibilities must be assumed by decision-makers rather than by COMPASS.
7 Conclusion
This work enables transferable school attendance zoning by integrating optimization-ready urban representation and difficulty-aware parameter generation into the parameter-to-policy process of COMPASS. This combination, verified in both aggregate evaluation and individual case study, contributes to control-vector learning, promotes policy recovery, and improves computational efficiency. These differences in performance further suggest that the transferability of school attendance zoning is systematically shaped by the urban contexts and the policy dimensions.
References
[1] Tomás E. Monarrez. School attendance boundaries and the segregation of public schools in the United States. American Economic Journal: Applied Economics, 15(3):210–237, 2023.
[2] Andrene Castro, Genevieve Siegel-Hawley, Kimberly Bridges, and Shenita E. Williams. Drawn into policy: A systematic review of school rezoning rationales, processes, and outcomes. Review of Educational Research, 94(4):539–583, 2024.
[3] Jacques A. Ferland and Gilles Guénette. Decision support system for the school districting problem. Operations Research, 38(1):15–21, 1990.
[4] Fanglan Chen, Subhodip Biswas, Zhiqian Chen, Shuo Lei, Naren Ramakrishnan, and Chang-Tien Lu. Exploring tradeoffs in automated school redistricting: Computational and ethical perspectives. Proceedings of the AAAI Conference on Artificial Intelligence, 37(13):15912–15920, 2023.
[5] Charles A. Holloway, Donald A. Wehrung, Michael P. Zeitlin, and Rosser T. Nelson. An interactive procedure for the school boundary problem with declining enrollment. Operations Research, 23(2):191–206, 1975.
[6] Marie desJardins, Blazej Bulka, Ryan Carr, Eric Jordan, and Penny Rheingans. Heuristic search and information visualization methods for school redistricting. AI Magazine, 28(3):59–72, 2007.
[7] Subhodip Biswas, Fanglan Chen, Zhiqian Chen, Chang-Tien Lu, and Naren Ramakrishnan. Incorporating domain knowledge into memetic algorithms for solving spatial optimization problems. In Proceedings of the 28th International Conference on Advances in Geographic Information Systems, SIGSPATIAL '20, pages 25–35. Association for Computing Machinery, 2020.
[8] Charles A. Holloway, Donald A. Wehrung, Michael P. Zeitlin, and Rosser T. Nelson. An Interactive Procedure for the School Boundary Problem with Declining Enrollment. Operations Research, 23(2):191–206, 1975.
[9] Jacques A. Ferland and Gilles Guénette. Decision Support System for the School Districting Problem. Operations Research, 38(1):15–21, 1990.
[10] Marie desJardins, Blazej Bulka, Ryan Carr, Eric Jordan, and Penny Rheingans. Heuristic Search and Information Visualization Methods for School Redistricting. AI Magazine, 28(3):59–72, 2007.
[11] Subhodip Biswas, Fanglan Chen, Zhiqian Chen, Chang-Tien Lu, and Naren Ramakrishnan. Incorporating Domain Knowledge into Memetic Algorithms for Solving Spatial Optimization Problems. In Proceedings of the 28th International Conference on Advances in Geographic Information Systems, SIGSPATIAL '20, pages 25–35. Association for Computing Machinery, 2020.
[12] Di Zhang, Senlin Mu, Joseph Mango, and Xiang Li. Deep Reinforcement Learning for Spatial Resource Allocation: A Case Study of School Districting. Environment and Planning B: Urban Analytics and City Science, 53(2):418–434, 2024.
[13] Cheikh Ahmed, Alexandre Forel, Axel Parmentier, and Thibaut Vidal. DistrictNet: Decision-Aware Learning for Geographical Districting. In Advances in Neural Information Processing Systems, volume 37, pages 128574–128602. Curran Associates, Inc., 2024.
[14] Thanasis Papadakis, Ioannis T. Christou, Charalampos Ipektsidis, John Soldatos, and Alessandro Amicone. Explainable and Transparent Artificial Intelligence for Public Policymaking. Data & Policy, 6:e10, 2024.
[15] Andrene Castro, Genevieve Siegel-Hawley, Kimberly Bridges, and Shenita E. Williams. Drawn Into Policy: A Systematic Review of School Rezoning Rationales, Processes, and Outcomes. Review of Educational Research, 94(4):539–583, 2024.
[16] Salvatore Saporito. Irregularly-Shaped School Attendance Zones and Racial Integration. Social Science Research, 64:299–318, 2017.
[17] Tomás E. Monarrez. School Attendance Boundaries and the Segregation of Public Schools in the United States. American Economic Journal: Applied Economics, 15(3):210–237, 2023.
[18] Sarah Asson. Rezoning Educational Opportunities: The Relationship Between School Attendance Zone Boundary Changes and Access to Schools of Varying Quality. Educational Policy, 38(7):1563–1607, 2024.
[19] Fanglan Chen, Subhodip Biswas, Zhiqian Chen, Shuo Lei, Naren Ramakrishnan, and Chang-Tien Lu. Exploring Tradeoffs in Automated School Redistricting: Computational and Ethical Perspectives. Proceedings of the AAAI Conference on Artificial Intelligence, 37(13):15912–15920, 2023.
[20] Yoshua Bengio, Andrea Lodi, and Antoine Prouvost. Machine Learning for Combinatorial Optimization: A Methodological Tour d'Horizon. European Journal of Operational Research, 290(2):405–421, 2021.
[21] Serdar Kadioglu, Yuri Malitsky, Meinolf Sellmann, and Kevin Tierney. ISAC—Instance-Specific Algorithm Configuration. In ECAI 2010, volume 215 of Frontiers in Artificial Intelligence and Applications, pages 751–756. IOS Press, 2010.
[22] Brandon Amos. Tutorial on Amortized Optimization. Foundations and Trends in Machine Learning, 16(5):592–732, 2023.
[23] Rajiv Sambharya, Georgina Hall, Brandon Amos, and Bartolomeo Stellato. Learning to Warm-Start Fixed-Point Optimization Algorithms. Journal of Machine Learning Research, 25(166):1–46, 2024.
[24] Dimitris Bertsimas and Bartolomeo Stellato. Online Mixed-Integer Optimization in Milliseconds. INFORMS Journal on Computing, 34(4):2229–2248, 2022.
[25] Eugene McCann and Kevin Ward. A Multi-Disciplinary Approach to Policy Transfer Research: Geographies, Assemblages, Mobilities and Mutations. Policy Studies, 34(1):2–18, 2013.
[26] Francesca Blanc, Giancarlo Cotella, and Marcin Dąbrowski. Spatial Governance and Planning Policy Transfer in the Global South: The Role of International Agency and the Recirculation of Policies. Planning Practice & Research, 38(6):749–762, 2023. Editorial.
[27] Fatih Canitez. Transferring Sustainable Urban Mobility Policies: An Institutional Perspective. Transport Policy, 90:1–12, 2020.
[28] Negar Noori, Thomas Hoppe, Martin de Jong, and Evert Stamhuis. Transplanting Good Practices in Smart City Development: A Step-Wise Approach. Government Information Quarterly, 40(2):101802, 2023.
[29] Martin Fleischmann, Ombretta Romice, and Sergio Porta. Measuring Urban Form: Overcoming Terminological Inconsistencies for a Quantitative and Comprehensive Morphologic Analysis of Cities. Environment and Planning B: Urban Analytics and City Science, 48(8):2133–2150, 2021.
[30] Martin Fleischmann, Alessandra Feliciotti, Ombretta Romice, and Sergio Porta. Methodological Foundation of a Numerical Taxonomy of Urban Form. Environment and Planning B: Urban Analytics and City Science, 49(4):1283–1299, 2022.
[31] Yi Li, Weiming Huang, Gao Cong, Hao Wang, and Zheng Wang. Urban Region Representation Learning with OpenStreetMap Building Footprints. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 1363–1373. Association for Computing Machinery, 2023.
[32] Mingyang Zhang, Tong Li, Yong Li, and Pan Hui. Multi-View Joint Graph Representation Learning for Urban Region Embedding. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, pages 4431–4437. International Joint Conferences on Artificial Intelligence Organization, 2020.
Supplementary Information
S1 Cross-validation and Runtime Robustness
To assess whether the aggregate findings are robust to the held-out split, we report pooled and fold-wise results for raw parameter prediction, solver-feasible MILP success, end-to-end within-tolerance policy recovery, policy quality among successfully solved COMPASS cities, and computational efficiency. We additionally report runtime performance across city-scale strata. These disaggregated results verify that the main-text findings are not driven by a single cross-validation fold or a narrow range of city sizes.
Table S1: Aggregate and fold-wise raw out-of-fold parameter-prediction performance of the Global and Difficulty-aware ablation variants.
| Fold | Global | Difficulty-aware | ||||
|---|---|---|---|---|---|---|
| MAE | RMSE | MAE | RMSE | |||
| 1 | 0.541296 | 1.051589 | 0.577188 | 0.565192 | 1.125570 | 0.394887 |
| 2 | 0.529261 | 0.762202 | 0.562072 | 0.507466 | 0.879769 | 0.370511 |
| 3 | 0.497018 | 0.712731 | 0.671131 | 0.519224 | 0.917314 | 0.415814 |
| 4 | 0.541350 | 0.777686 | 0.528308 | 0.565432 | 1.034077 | 0.187125 |
| 5 | 0.538139 | 0.806396 | 0.501145 | 0.537235 | 0.943834 | 0.276450 |
| All | 0.529413 | 0.834521 | 0.578509 | 0.538910 | 0.985823 | 0.360189 |
Across all out-of-fold predictions, the per-parameter values ranged from 0.433 to 0.784 for the Global ablation and from 0.085 to 0.769 for the raw Difficulty-aware ablation. These metrics are computed before difficulty-dependent parameter relaxation, validity projection, and city-specific realization.
Table S2: Aggregate and fold-wise solver-feasible MILP performance of COMPASS and its two ablation variants.
| Method | Outcome | Fold 1 | Fold 2 | Fold 3 | Fold 4 | Fold 5 | Overall |
|---|---|---|---|---|---|---|---|
| Global | Successful | 414 | 422 | 403 | 423 | 397 | 2,059 |
| Infeasible | 186 | 176 | 194 | 173 | 200 | 929 | |
| Timeout | 0 | 2 | 3 | 4 | 3 | 12 | |
| Success rate | 69.00% | 70.33% | 67.17% | 70.50% | 66.17% | 68.63% | |
| Difficulty-aware | Successful | 560 | 563 | 559 | 561 | 545 | 2,788 |
| Infeasible | 40 | 35 | 38 | 36 | 51 | 200 | |
| Timeout | 0 | 2 | 3 | 3 | 4 | 12 | |
| Success rate | 93.33% | 93.83% | 93.17% | 93.50% | 90.83% | 92.93% | |
| COMPASS | Successful | 599 | 599 | 598 | 600 | 598 | 2,994 |
| Infeasible | 1 | 0 | 0 | 0 | 1 | 2 | |
| Timeout | 0 | 1 | 2 | 0 | 1 | 4 | |
| Success rate | 99.83% | 99.83% | 99.67% | 100.00% | 99.67% | 99.80% |
We further evaluated runtime across four city-scale strata defined by the number of assignment units entering the zoning MILP. Table S5 reports the median runtime among successful runs within each stratum. The corresponding paired city-level distributions are presented in Figure 4 of the main text.
The disaggregated results support the aggregate findings. Raw parameter-prediction patterns were consistent across folds, while Difficulty-aware Parameter Generation and Conditional Rescue progressively expanded solver-feasible coverage. COMPASS achieved solver-feasible success rates between 99.67% and 100.00% across the five folds and exceeded the Global ablation in fixed-denominator recovery for every policy dimension in every fold, although student balance remained the least recovered dimension. All learned pipelines retained more than
Table S3: Aggregate and fold-wise end-to-end within-tolerance policy recovery relative to Oracle Search.
| Method | Policy dimension | Fold 1 | Fold 2 | Fold 3 | Fold 4 | Fold 5 | Overall |
|---|---|---|---|---|---|---|---|
| Global | Demographic equity | 54.83% | 54.67% | 53.17% | 56.83% | 54.83% | 54.87% |
| Capacity shortage | 59.67% | 60.33% | 59.83% | 60.83% | 58.83% | 59.90% | |
| Travel distance | 57.83% | 58.00% | 56.83% | 60.33% | 56.00% | 57.80% | |
| School quality | 56.50% | 56.00% | 57.17% | 57.00% | 55.17% | 56.37% | |
| Student balance | 39.33% | 42.00% | 41.00% | 40.33% | 40.00% | 40.53% | |
| Composite policy score | 57.83% | 58.67% | 57.83% | 58.83% | 57.67% | 58.17% | |
| Difficulty-aware | Demographic equity | 71.50% | 70.33% | 71.50% | 70.17% | 70.50% | 70.80% |
| Capacity shortage | 80.17% | 79.67% | 83.00% | 79.83% | 79.83% | 80.50% | |
| Travel distance | 77.50% | 79.83% | 79.67% | 81.67% | 76.83% | 79.10% | |
| School quality | 71.17% | 70.33% | 73.83% | 71.50% | 71.50% | 71.67% | |
| Student balance | 43.67% | 45.17% | 47.67% | 45.00% | 46.17% | 45.53% | |
| Composite policy score | 57.17% | 59.33% | 59.83% | 59.50% | 61.83% | 59.53% | |
| COMPASS | Demographic equity | 73.83% | 72.67% | 74.00% | 72.83% | 75.33% | 73.73% |
| Capacity shortage | 85.33% | 83.83% | 88.50% | 85.67% | 87.17% | 86.10% | |
| Travel distance | 80.50% | 81.50% | 82.33% | 84.50% | 81.17% | 82.00% | |
| School quality | 74.33% | 72.83% | 78.50% | 75.67% | 76.83% | 75.63% | |
| Student balance | 44.33% | 45.67% | 48.50% | 46.17% | 48.17% | 46.57% | |
| Composite policy score | 59.50% | 60.50% | 61.33% | 61.17% | 65.00% | 61.50% |
Table S4: Fold-wise runtime performance of COMPASS and its two ablation variants compared with Oracle Search.
| Fold | Oracle Search | Global | ||||||
|---|---|---|---|---|---|---|---|---|
| Median (s) | IQR (s) | P95 (s) | Speedup | Median (s) | IQR (s) | P95 (s) | Speedup | |
| 1 | 9.177 | 7.217 - 13.186 | 28.496 | 1× | 0.221 | 0.172 - 0.269 | 0.528 | 41.52× |
| 2 | 9.345 | 7.251 - 13.493 | 27.860 | 1× | 0.229 | 0.190 - 0.270 | 0.527 | 40.89× |
| 3 | 8.939 | 7.060 - 12.394 | 28.533 | 1× | 0.226 | 0.187 - 0.268 | 0.441 | 39.55× |
| 4 | 9.374 | 7.038 - 13.619 | 40.098 | 1× | 0.215 | 0.167 - 0.270 | 0.790 | 43.62× |
| 5 | 8.837 | 6.605 - 12.317 | 34.587 | 1× | 0.219 | 0.167 - 0.264 | 0.513 | 40.29× |
| ALL | 9.150 | 7.059 - 12.905 | 31.943 | 1× | 0.223 | 0.175 - 0.267 | 0.525 | 41.08× |
| Fold | Difficulty-aware | COMPASS | ||||||
|---|---|---|---|---|---|---|---|---|
| Median (s) | IQR (s) | P95 (s) | Speedup | Median (s) | IQR (s) | P95 (s) | Speedup | |
| 1 | 0.246 | 0.218 - 0.299 | 0.682 | 37.32× | 0.167 | 0.145 - 0.204 | 0.420 | 55.07× |
| 2 | 0.245 | 0.218 - 0.294 | 0.581 | 38.20× | 0.191 | 0.170 - 0.237 | 0.508 | 48.90× |
| 3 | 0.226 | 0.196 - 0.280 | 0.641 | 39.54× | 0.153 | 0.106 - 0.208 | 0.449 | 58.29× |
| 4 | 0.235 | 0.188 - 0.289 | 0.999 | 39.81× | 0.232 | 0.200 - 0.285 | 0.928 | 40.38× |
| 5 | 0.229 | 0.191 - 0.279 | 0.596 | 38.54× | 0.181 | 0.158 - 0.216 | 0.550 | 48.90× |
| All | 0.237 | 0.203 - 0.289 | 0.688 | 38.65× | 0.186 | 0.155 - 0.236 | 0.596 | 49.14× |
a 37× median speedup over Oracle Search in every fold. Runtime also remained substantially lower across all city-scale strata: from Q1 to Q4, the COMPASS median increased from 0.159 to 0.261 seconds, compared with 7.179 to 16.547 seconds for Oracle Search. These patterns indicate that the main findings are not attributable to a single held-out fold or to only the smallest city instances.
Table S5: Median runtime across city-scale strata defined by assignment-unit count among successful runs.
| City-scale stratum | Assignment units | Oracle Search | Global | Difficulty-aware | COMPASS |
|---|---|---|---|---|---|
| Q1 | 7.179 s | 0.201 s | 0.208 s | 0.159 s | |
| Q2 | 8.799 s | 0.220 s | 0.227 s | 0.180 s | |
| Q3 | 10.488 s | 0.230 s | 0.249 s | 0.192 s | |
| Q4 | 16.547 s | 0.287 s | 0.321 s | 0.261 s |
Table S6: Aggregate policy recovery performance among successfully solved 🌍COMPASS cities.
| Policy dimension | All successful COMPASS cities () | |||
|---|---|---|---|---|
| Median absolute gap | IQR | Absolute recovery | No-material degradation | |
| Demographic equity | 0.0033 | 0 - 0.0532 | 73.88% | 95.29% |
| Capacity shortage | 0 | 0 - 0 | 86.27% | 89.01% |
| Travel distance | 0.0733 | 0 - 0.3710 | 82.16% | 88.48% |
| School quality | 0 | 0 - 0.0444 | 75.78% | 88.34% |
| Student balance | 0.0533 | 0 - 0.3583 | 46.66% | 54.61% |
| Composite policy score | 0.0795 | 0 - 0.4406 | 61.62% | 66.17% |
S2 Sensitivity to Search Methods
Because the main experiments use Simulated Annealing to generate the search-derived supervision, we first examined whether the performance of COMPASS depends on this particular teacher. We replaced Simulated Annealing with Bayesian Optimization and retained the same Parameter Generator design while using the resulting teacher control vectors, together with the same COMPASS framework and downstream evaluation criteria. Parameter prediction, solver-feasible MILP performance and computational efficiency, and fixed-denominator policy recovery are reported in Tables S8, S9, and S10, respectively.
Changing the Oracle Search teacher substantially affects parameter-level prediction, particularly for the raw Difficulty-aware predictions. However, this variation did not translate into a loss of deployment feasibility. COMPASS achieved solver-feasible success rates of 99.80% with Simulated Annealing supervision and 99.83% with Bayesian Optimization supervision. Both settings also retained meaningful policy recovery across all five dimensions and the composite policy score and substantial speedups over their corresponding search procedures. Overall, the results show that COMPASS's deployment-level effectiveness is not restricted to supervision generated by a particular Oracle Search method.
S3 Sensitivity to Learning Models
Having examined robustness to the source of Oracle Search supervision, we next considered whether the results depend on the particular model used to learn from that supervision. The primary implementation of COMPASS uses XGBoost within its Parameter Generator, which leaves open the possibility that the reported performance is specific to its inductive bias. We therefore instantiated the Parameter Generator using XGBoost, LightGBM, and Random Forest, while retaining the same optimization-ready urban representation, downstream zoning MILP, policy specification, and evaluation criteria. The three learning models are compared in Tables S11, S12, and S13, in terms of parameter prediction, feasibility progression, computational efficiency, and fixed-denominator policy recovery.
Although parameter-prediction accuracy varied across the three learning models, their downstream behavior was highly consistent. The Global ablation achieved solver-feasible success rates of 67.20% - 70.03%, which increased to 92.27% - 92.93% under Difficulty-aware Parameter Generation and further to 99.70% - 99.80% for COMPASS. Fixed-denominator recovery across the five policy dimensions and the composite policy score was also nearly identical among the three learning models. In addition, all variants retained substantial computational advantages over Oracle Search, with speedups ranging from 23.34× to 49.14×. These findings demonstrate that
Table S7: Fold-wise policy recovery performance among successfully solved 🌍 COMPASS cities.
| Policy dimension | Fold 1 | |||
|---|---|---|---|---|
| Median absolute gap | IQR | Absolute recovery | No-material degradation | |
| Demographic equity | 0.0046 | 0 - 0.0536 | 73.96% | 94.16% |
| Capacity shortage | 0 | 0 - 0 | 85.48% | 88.48% |
| Travel distance | 0.0916 | 0 - 0.4222 | 80.63% | 87.31% |
| School quality | 0 | 0 - 0.0552 | 74.46% | 86.48% |
| Student balance | 0.0637 | 0 - 0.3703 | 44.41% | 53.26% |
| Composite policy score | 0.0811 | 0 - 0.4442 | 59.60% | 63.94% |
| Policy dimension | Fold 2 | |||
|---|---|---|---|---|
| Median absolute gap | IQR | Absolute recovery | No-material degradation | |
| Demographic equity | 0.0056 | 0 - 0.0567 | 72.79% | 95.16% |
| Capacity shortage | 0 | 0 - 0 | 83.97% | 86.98% |
| Travel distance | 0.0959 | 0 - 0.3799 | 81.64% | 86.98% |
| School quality | 0 | 0 - 0.0598 | 72.95% | 87.65% |
| Student balance | 0.0693 | 0 - 0.3765 | 45.74% | 53.09% |
| Composite policy score | 0.1022 | 0 - 0.4552 | 60.60% | 64.77% |
| Policy dimension | Fold 3 | |||
|---|---|---|---|---|
| Median absolute gap | IQR | Absolute recovery | No-material degradation | |
| Demographic equity | 0.0027 | 0 - 0.0518 | 74.25% | 95.32% |
| Capacity shortage | 0 | 0 - 0 | 88.80% | 90.97% |
| Travel distance | 0.0564 | 0 - 0.3351 | 82.61% | 89.63% |
| School quality | 0 | 0 - 0.0227 | 78.76% | 89.46% |
| Student balance | 0.0339 | 0 - 0.3352 | 48.66% | 56.35% |
| Composite policy score | 0.0711 | 0 - 0.4264 | 61.54% | 66.05% |
| Policy dimension | Fold 4 | |||
|---|---|---|---|---|
| Median absolute gap | IQR | Absolute recovery | No-material degradation | |
| Demographic equity | 0.0027 | 0 - 0.0533 | 72.83% | 95.33% |
| Capacity shortage | 0 | 0 - 0 | 85.67% | 88.33% |
| Travel distance | 0.0765 | 0 - 0.3370 | 84.50% | 90.83% |
| School quality | 0 | 0 - 0.0448 | 75.67% | 87.50% |
| Student balance | 0.0590 | 0 - 0.3737 | 46.17% | 53.50% |
| Composite policy score | 0.0798 | 0 - 0.4738 | 61.17% | 65.50% |
| Policy dimension | Fold 5 | |||
|---|---|---|---|---|
| Median absolute gap | IQR | Absolute recovery | No-material degradation | |
| Demographic equity | 0.0023 | 0 - 0.0478 | 75.59% | 96.49% |
| Capacity shortage | 0 | 0 - 0 | 87.46% | 90.30% |
| Travel distance | 0.0481 | 0 - 0.3973 | 81.44% | 87.63% |
| School quality | 0 | 0 - 0.0355 | 77.09% | 90.64% |
| Student balance | 0.0359 | 0 - 0.3462 | 48.33% | 56.86% |
| Composite policy score | 0.0583 | 0 - 0.3961 | 65.22% | 70.57% |
Table S8: Parameter prediction performance under alternative search methods.
| Search method | Global | Difficulty-aware | ||||
|---|---|---|---|---|---|---|
| MAE | RMSE | MAE | RMSE | |||
| Simulated Annealing | 0.529413 | 0.834521 | 0.578509 | 0.538910 | 0.985823 | 0.360189 |
| Bayesian Optimization | 0.529282 | 1.285510 | 0.420286 | 0.776004 | 1.526463 | 0.237476 |
COMPASS achieves consistent performance across the three evaluated tree-based learning models, indicating that its effectiveness is not specific to XGBoost.
Table S9: Feasibility and runtime performance under alternative search methods.
| Search method | Feasibility | Computational efficiency | |||
|---|---|---|---|---|---|
| Global | COMPASS | Oracle Search (s) | COMPASS (s) | Speedup | |
| Simulated Annealing | 2,059 (68.63%) | 2,994 (99.80%) | 9.150 | 0.186 | 49.14× |
| Bayesian Optimization | 2,669 (88.97%) | 2,995 (99.83%) | 168.221 | 0.291 | 577.72× |
Table S10: Policy recovery performance of COMPASS by dimension under alternative search methods.
| Policy dimension | Simulated Annealing | Bayesian Optimization |
|---|---|---|
| Demographic equity | 2,212 (73.73%) | 2,776 (92.53%) |
| Capacity shortage | 2,583 (86.10%) | 2,762 (92.07%) |
| Travel distance | 2,460 (82.00%) | 2,558 (85.27%) |
| School quality | 2,269 (75.63%) | 2,573 (85.77%) |
| Student balance | 1,397 (46.57%) | 1,812 (60.40%) |
| Composite policy score | 1,845 (61.50%) | 2,443 (81.43%) |
Table S11: Parameter prediction performance across alternative learning models.
| Learning model | Global | Difficulty-aware | ||||
|---|---|---|---|---|---|---|
| MAE | RMSE | MAE | RMSE | |||
| XGBoost | 0.529413 | 0.834521 | 0.578509 | 0.538910 | 0.985823 | 0.360189 |
| LightGBM | 0.561394 | 0.918661 | 0.508437 | 0.581094 | 1.074086 | 0.272197 |
| Random Forest | 0.552629 | 0.879556 | 0.537118 | 0.534567 | 0.929511 | 0.474510 |
Table S12: Feasibility and runtime performance across alternative learning models.
| Learning model | Feasibility | Computational efficiency | |||
|---|---|---|---|---|---|
| Global | COMPASS | Oracle Search (s) | COMPASS (s) | Speedup | |
| XGBoost | 2,059 (68.63%) | 2,994 (99.80%) | 9.150 | 0.186 | 49.14× |
| LightGBM | 2,016 (67.20%) | 2,992 (99.73%) | 9.150 | 0.372 | 24.57× |
| Random Forest | 2,101 (70.03%) | 2,991 (99.70%) | 9.150 | 0.392 | 23.34× |
Table S13: Policy recovery performance of COMPASS by dimension across alternative learning models.
| Policy dimension | XGBoost | LightGBM | Random Forest |
|---|---|---|---|
| Demographic equity | 2,212 (73.73%) | 2,202 (73.40%) | 2,205 (73.50%) |
| Capacity shortage | 2,583 (86.10%) | 2,581 (86.03%) | 2,586 (86.20%) |
| Travel distance | 2,460 (82.00%) | 2,445 (81.50%) | 2,459 (81.97%) |
| School quality | 2,269 (75.63%) | 2,289 (76.30%) | 2,267 (75.57%) |
| Student balance | 1,397 (46.57%) | 1,387 (46.23%) | 1,398 (46.60%) |
| Composite policy score | 1,845 (61.50%) | 1,832 (61.07%) | 1,849 (61.63%) |
S4 Sensitivity to Policy Preferences
Finally, we moved from methodological choices to the policy context in which COMPASS is deployed. In the main experiments, search-derived supervision is generated and COMPASS is trained and evaluated under a diversity-prioritized policy specification, whose objective places strong emphasis on balancing FRL, focal-group, and diversity-index deviations across zones. Because the main evidence is obtained under this single equity-oriented specification, it remains unclear whether the framework is equally effective when policy priorities are changed. We therefore re-instantiated the complete framework under two alternative settings: a compactness-and quality-prioritized specification and a more strongly diversity- and capacity-prioritized specification. The detailed objective coefficients for the three policy specifications are reported in Table S14. These settings modify the relative policy priorities while retaining the same COMPASS framework and evaluation criteria. Parameter prediction, solver-feasible MILP performance and computational efficiency, and fixed-denominator policy recovery across the three specifications are compared respectively in Tables S15, S16, and S17.
Table S14: Policy-objective configurations for corresponding policy-preference specifications.
| Policy preference | |||||
|---|---|---|---|---|---|
| Diversity | 0.10 | 2.0 | 75.0 | 1.0 | 2.0 |
| Compactness & Quality | 0.20 | 4.0 | 60.0 | 1.5 | 2.0 |
| Stronger diversity & Capacity | 0.05 | 1.0 | 100.0 | 0.5 | 2.5 |
: coefficients for distance, diversity, school quality, minimum surplus deviation; : exponent of distance term.
Table S15: Parameter-prediction performance under alternative policy-preference specifications.
| Policy preference | Global | Difficulty-aware | ||||
|---|---|---|---|---|---|---|
| MAE | RMSE | MAE | RMSE | |||
| Diversity | 0.529413 | 0.834521 | 0.578509 | 0.538910 | 0.985823 | 0.360189 |
| Compactness & Quality | 0.654369 | 0.921258 | 0.525491 | 0.809559 | 1.351242 | 0.053373 |
| Stronger diversity & Capacity | 0.710484 | 1.600649 | 0.360376 | 0.862932 | 1.992773 | 0.164570 |
Table S16: Solver-feasible MILP and runtime performance under alternative policy-preference specifications.
| Policy preference | Feasibility | Computational efficiency | |||
|---|---|---|---|---|---|
| Global | COMPASS | Oracle Search (s) | COMPASS (s) | Speedup | |
| Diversity | 68.63% | 99.80% | 9.150 | 0.186 | 49.14× |
| Compactness & Quality | 86.67% | 99.93% | 7.807 | 0.274 | 28.45× |
| Stronger diversity & Capacity | 86.67% | 99.67% | 7.141 | 0.336 | 21.26× |
Table S17: Policy recovery of COMPASS by dimension under alternative policy-preference specifications.
| Policy dimension | Diversity | Compactness & Quality | Stronger diversity & Capacity |
|---|---|---|---|
| Demographic equity | 2,212 (73.73%) | 2,554 (85.13%) | 2,725 (90.83%) |
| Capacity shortage | 2,583 (86.10%) | 2,712 (90.40%) | 2,756 (91.87%) |
| Travel distance | 2,460 (82.00%) | 2,529 (84.30%) | 2,521 (84.03%) |
| School quality | 2,269 (75.63%) | 2,458 (81.93%) | 2,528 (84.27%) |
| Student balance | 1,397 (46.57%) | 1,729 (57.63%) | 1,823 (60.77%) |
| Composite policy score | 1,845 (61.50%) | 2,193 (73.10%) | 2,245 (74.83%) |
The policy specifications produced noticeable differences in parameter-level prediction accuracy, indicating that some policy configurations are more difficult to learn than others. Nevertheless, COMPASS achieved solver-feasible success rates between 99.67% and 99.93% across all three settings. Fixed-denominator recovery also remained substantial across the five policy dimensions and the composite policy score, although student balance consistently exhibited the lowest recovery rate. Moreover, COMPASS remained faster than the corresponding Oracle Search. These results demonstrate that the effectiveness of COMPASS is not confined to the default policy specification.
S5 Additional Case Studies
Aggregate feasibility and policy-gap metrics characterize the overall performance of COMPASS, but they do not show how the resulting zoning plans are expressed spatially. Therefore, ten illustrative out-of-fold city cases are selected to span distinct feasibility pathways in Figure S1: three shared-feasibility cases, three Difficulty-aware recovery cases, two COMPASS-only recovery cases, and two unresolved hard cases. For each city, the columns show the processed city context before zoning, the Oracle Search reference, and the zoning plans generated by the Global ablation, the Difficulty-aware ablation, and COMPASS, respectively. In the three learning-based columns, an empty cell indicates that the corresponding pipeline did not produce a solver-verified feasible zoning plan within the evaluation budget.
In the shared-feasibility cases, COMPASS is not expected to reproduce the search-derived boundaries exactly; what matters is whether it preserves the resulting policy outcomes. The Difficulty-aware recovery cases show that incorporating city-specific optimization difficulty can recover feasible zoning plans when the Global ablation fails. As demonstrated by the COMPASS-only cases, Conditional Rescue can further extend feasible coverage to harder cities, although this extension may come at the cost of larger policy gaps. The unresolved cases delineate the current boundary of the framework: a small number of large cities with complex transportation structures may remain unsolved within the evaluation budget because of time limits or persistent infeasibility. These cases provide only spatial case-level interpretations, whereas the statistical conclusions on feasibility and policy recovery are based on the full 3,000-city evaluation rather than these selected examples.
S6 Dataset and Additional Methodological Specifications
This section provides the dataset and methodological specifications omitted from the main text for conciseness. We first describe the construction and provenance of the nationwide city dataset, followed by the complete feature dictionary for the 140-dimensional optimization-ready urban representation. We then specify the construction of the cross-city supervision archive and the symmetric Global reference objective. Finally, we report the exact definitions of the five structural difficulty dimensions and the search-supervised plan-generation difficulty label, the difficulty-sensitive asymmetric learning weights, the deterministic parameter adjustments applied before the initial MILP solve, and the Conditional Rescue rules. The materials presented here consist of data definitions, fixed constants, mathematical specifications, and decision rules rather than additional experimental results.
Dataset overview. The unit of analysis is a US Census PLACE-level city instance , and the dataset integrates several national data sources, as is summarized in Table S18. For readability, we refer to each instance as a city, although Census PLACE geography includes both incorporated places and census-designated places. The retained dataset contains 3,000 unique PLACE instances spanning all 50 states and the District of Columbia. An instance was retained only if it had a valid PLACE geometry, nonempty intersecting Census blocks with demographic information, nonempty level-1 elementary attendance-zone coverage, and at least 2 eligible elementary-serving schools both within the effective city geometry and after spatial matching to the processed attendance units. Eligible schools were regular public schools that were open or newly opened, were not fully virtual, served at least one grade from pre-kindergarten through Grade 5, and had valid geographic coordinates. Every retained instance consequently contained at least two usable optimization units after spatial processing and school matching.
We constructed spatial processing rules that materially affected the geographic extent or optimization units of an instance only. For a multipart PLACE geometry, a component was considered supported when it contained positive block population and at least one eligible school with positive enrollment. When exactly one supported component accounted for at least 90% of the total PLACE area and was at least ten times larger than the
City Context
Oracle Search
Global
Difficulty-aware
COMPASS
A. Shared-feasibility Cases (3 samples)
Global, difficulty-aware, and COMPASS alt produce a feasible policy
Washington, DC
1150000





Akron, OH
3901000
Jackson, MS
2836000
B. Difficulty-aware Recovery Cases (3 samples)
Global fails; difficulty-aware and COMPASS produce a feasible policy
Chesapeake, VA
5116000




Mobile, AL
0150000
Franklin, TN
4727740
C. COMPASS-only Recovery Cases (2 samples)
Global and difficulty-aware fail; COMPASS produces a feasible policy
Charlotte, NC
3712000



Fond du Lac, WI
5526275
D. Unresolved Hard Cases (2 samples)
No learning pipeline produces a feasible policy within the budget
Los Angeles, CA
0644000



Phoenix, AZ
0455000
Figure S1: (A) Shared feasibility in Washington, D.C.; Akron, Ohio; and Jackson, Mississippi. (B) Difficulty-aware recovery after failure of the Global ablation in Chesapeake, Virginia; Mobile, Alabama; and Franklin, Tennessee. (C) COMPASS-only recovery through Conditional Rescue in Charlotte, North Carolina, and Fond du Lac, Wisconsin. (D) Unresolved cases in Los Angeles, California, and Phoenix, Arizona, with Oracle Search references available.
Table S18: Data sources used to construct the nationwide school-zoning dataset.
| Data component | Source |
|---|---|
| City boundaries | US Census TIGER/Line PLACE Files |
| Spatial and demographic data | US Census Tabulation Blocks and PL 94-171 Data |
| Elementary attendance zones | NCES School Attendance Boundary Survey Primary-Level Files |
| School characteristics | NCES Common Core of Data |
| School quality | EDFacts FS175 and FS178 Files |
largest unsupported component, only the dominant component was retained. Otherwise, school-less components were removed when they accounted for less than 1% of the total area or were located at least 100 m from every supported component. Instances that subsequently retained multiple disconnected supported components or unsupported empty components were excluded. Elementary attendance zones were then clipped to the effective PLACE geometry. When the ratio between the summed clipped-zone area and their union area exceeded 1.10, the zone and city boundaries were polygonized into mutually exclusive cells, with cells no larger than 1 m² removed. Schools and Census blocks were assigned to the resulting units spatially, with nearest-unit assignment used only for boundary cases.
140-dimensional optimization-ready urban representation. The optimization-ready encoder maps each heterogeneous city instance to a fixed-dimensional vector, , with in the current implementation, thereby providing a common numerical interface for a single Parameter Generator across cities. The representation consists of five optimization-relevant blocks: 18 spatial-structure features, 39 school-supply features, 10 student-demand features, 27 demographic-equity features, and 46 optimization-context features. The complete feature dictionary is reported in Tables S19, S20, S21, S22, and S23.
Table S19: Spatial structure - 18 dimensions.
| Feature | Dimension | Definition |
|---|---|---|
| unit_count | 1 | Number of mutually exclusive geographic units after spatial processing |
| graph_node_count | 1 | Number of nodes in the processed spatial-adjacency graph |
| graph_edge_count | 1 | Number of undirected adjacency edges |
| graph_component_count | 1 | Number of connected components in the adjacency graph |
| graph_density | 1 | Ratio of observed adjacency edges to all possible undirected edges |
| graph_isolate_count | 1 | Number of isolated assignment units |
| zone_2suffix | 2 | City-specific lower and upper bounds on the admissible number of zones |
| city_distance_scale_miles | 1 | Characteristic citywide distance scale used to realize the spatial-accessibility factor |
| milp_unit_count | 1 | Number of geographic assignment units supplied to the zoning MILP |
| milp_neighbor_link_count | 1 | Number of neighboring-unit links supplied to the zoning MILP |
| graph_degree_7suffix | 7 | Distributional summaries of node degree in the spatial-adjacency graph |
2suffix: {min, max}; 7suffix: {sum, mean, std, min, max, q25, q75}.
Oracle Search supervision and the symmetric Global ablation. For each training city , Oracle Search evaluates a finite set of candidate control vectors . The Oracle Search teacher control vector is defined as the feasible candidate with the lowest recorded policy objective among the evaluated candidates:
Here, denotes the zoning plan returned by the downstream MILP under control vector and fixed policy specification . Accordingly, is the best feasible candidate encountered within the finite
Table S20: School supply dimensions.
| Feature | Dimension | Definition |
|---|---|---|
| total_schools | 1 | Number of eligible and spatially matched elementary public schools |
| school_unit_count | 1 | Number of assignment units containing at least one eligible school |
| capacity_student_ratio | 1 | Ratio of the enrollment-based capacity proxy to student demand |
| school_count_9suffix | 9 | Distributional summaries of eligible-school counts across assignment units |
| block_ele_cap_9suffix | 9 | Distributional summaries of the capacity proxy across assignment units |
| school_quality_index_9suffix | 9 | Distributional summaries of the unit-level school-quality index |
| school_quality_weight_9suffix | 9 | Distributional summaries of the support weight for school quality |
9suffix: {sum, mean, std, min, max, q25, q75, weighted_mean, weighted_std}.
Table S21: Student demand dimensions.
| Feature | Dimension | Definition |
|---|---|---|
| total_students | 1 | Total student demand represented using the child-population proxy |
| students_9suffix | 9 | Distributional summaries of student demand across assignment units |
9suffix: {sum, mean, std, min, max, q25, q75, weighted_mean, weighted_std}.
Table S22: Demographic equity dimensions.
| Feature | Dimension | Definition |
|---|---|---|
| FRL_pct_9suffix | 9 | Distributional summaries of the unit-level free or reduced-price lunch share |
| focal_group_pct_9suffix | 9 | Distributional summaries of the combined share of multiracial populations |
| diversity_index_9suffix | 9 | Distributional summaries of the unit-level diversity index |
9suffix: {sum, mean, std, min, max, q25, q75, weighted_mean, weighted_std}.
evaluated set and is not claimed to be a global optimum over . The resulting cross-city supervision archive is , where is the optimization-ready urban representation of city .
The Global ablation provides the symmetric reference model used before introducing difficulty-sensitive weighting. It predicts and minimizes the equally weighted parameter-level squared error:
The difficulty-sensitive asymmetric learning objective defined below retains the same supervision target and output interface but changes how prediction errors are weighted across cities, parameters, and error directions.
Difficulty-signal construction. The complete difficulty signals consist of a structural difficulty profile and a plan-generation difficulty label . Before constructing these signals, all contributing variables are placed on a comparable scale. For city and feature , we robustly standardize as
Here, indexes a city in the reference set. The set contains the city indices used to estimate the normalization statistics and the subsequent discretization thresholds. The quantity is the reference-set median of feature . Any missing value of is replaced by this median before robust standardization is applied. The feature-specific scaling term in the denominator is defined as
Table S23: Optimization context dimensions.
| Feature | Dimension | Definition |
|---|---|---|
| annealing_iterations | 1 | Number of iterations allocated to Oracle Search |
| annealing_initial_temperature | 1 | Initial temperature of the simulated-annealing search |
| annealing_cooling_rate | 1 | Cooling rate of the simulated-annealing search |
| annealing_seed | 1 | Random seed used by Oracle Search |
| annealing_2suffix_zones | 2 | Global lower and upper bounds on the zone-count domain |
| annealing_balance_tolerance_2suffix | 2 | Search-domain bounds for enrollment-balance tolerance |
| annealing_cover_distance_factor_2suffix | 2 | Search-domain bounds for the spatial-accessibility factor |
| annealing_max_shortage_fraction_2suffix | 2 | Search-domain bounds for the capacity-shortage fraction |
| annealing_school_slack_below_2suffix | 2 | Search-domain bounds for the downward school-distribution slack |
| annealing_school_slack_above_2suffix | 2 | Search-domain bounds for the upward school-distribution slack |
| annealing_frl_lower_2suffix | 2 | Search-domain bounds for the lower FRL bound |
| annealing_frl_upper_2suffix | 2 | Search-domain bounds for the upper FRL bound |
| annealing_focal_group_lower_2suffix | 2 | Search-domain bounds for the lower focal-group bound |
| annealing_focal_group_upper_2suffix | 2 | Search-domain bounds for the upper focal-group bound |
| annealing_diversity_index_lower_2suffix | 2 | Search-domain bounds for the lower diversity-index bound |
| annealing_diversity_index_upper_2suffix | 2 | Search-domain bounds for the upper diversity-index bound |
| annealing_school_quality_lower_2suffix | 2 | Search-domain bounds for the lower school-quality bound |
| annealing_school_quality_upper_2suffix | 2 | Search-domain bounds for the upper school-quality bound |
| policy_objective_quality_weight | 1 | Objective weight assigned to school quality |
| policy_objective_distance_weight | 1 | Objective weight assigned to travel distance |
| policy_objective_distance_power | 1 | Objective exponent applied to the distance component |
| policy_objective_diversity_weight | 1 | Objective weight assigned to demographic diversity |
| policy_objective_min_surplus_weight | 1 | Objective weight assigned to minimum capacity surplus |
| score_weight_student_cv | 1 | Evaluation weight for variation in student enrollment |
| score_weight_school_dev | 1 | Evaluation weight for deviations in school distribution |
| score_weight_frl_spread | 1 | Evaluation weight for between-zone FRL disparity |
| score_weight_focal_group_spread | 1 | Evaluation weight for between-zone focal-group disparity |
| score_weight_diversity_spread | 1 | Evaluation weight for between-zone diversity disparity |
| score_weight_quality_spread | 1 | Evaluation weight for between-zone school-quality disparity |
| score_weight_shortage | 1 | Evaluation weight for capacity shortage |
| score_weight_distance | 1 | Evaluation weight for travel distance |
| score_weight_disconnected | 1 | Evaluation penalty for disconnected zones |
2suffix: {min, max}.
where is the difference between the 75th and 25th percentiles of feature in the reference set, and is its population standard deviation. The threshold identifies numerically degenerate dispersion. Thus, the interquartile range is used whenever it is nondegenerate, the population standard deviation is used when the interquartile range is degenerate but the standard deviation is not, and a unit scale is used when both are degenerate. Finally, we use clip(, ) to restrict the standardized value to the interval .
On this common robust standardization, five structural scores are constructed from the optimization-ready urban representation:
where denotes the feature subset associated with structural dimension , and specifies the direction of the contribution of feature . The spatial-service score increases with the citywide distance scale, the processed spatial-unit count, and the number of units entering the MILP, but decreases with graph density and mean node degree. The capacity-tightness score increases with the maximum and student-weighted mean of both student demand and the enrollment-based capacity proxy, while decreasing with the aggregate capacity-to-demand ratio. The school-distribution-imbalance score combines the standard deviation, maximum, and student-weighted standard deviation of unit-level student demand and school counts, with all terms entering positively. The demographic-constraint-risk score similarly combines dispersion in FRL share, focal-group share, racial diversity, and school quality. The graph-fragmentation-risk score increases with the numbers of connected components and isolated units and with degree variation, but decreases with graph density and mean degree. These scores are discretized at their respective 75th percentiles over the reference-city set. Let denote the corresponding cut point for dimension k. For the 3,000-city reference corpus used in the reported experiments, the resulting cut points were
All five structural labels are then assigned according to
Together, these labels form the structural difficulty profile .
The search-supervised plan-generation difficulty label is obtained from a continuous teacher score constructed from the teacher control vector and the feasibility history recorded during Oracle Search. The continuous teacher score is defined as
(S8)
where denotes the number of exact-MILP candidate evaluations reported as infeasible up to and including the occurrence of the selected teacher state, and denotes their proportion among the exact-MILP evaluations in the same prefix. These quantities characterize the feasibility history leading to the retained teacher rather than the complete diagnostics of all candidates evaluated during the full Oracle Search run. The positively signed terms capture the extent to which Oracle Search required wider enrollment-balance, spatial-accessibility, capacity-shortage, school-distribution, and upper-bound settings, together with the frequency of infeasible candidate evaluations. Lower-bound parameters enter negatively because decreasing them relaxes the corresponding constraints. The teacher zone count is excluded because its effect on feasibility is not directionally monotone. To reduce the skewness of the teacher scores while preserving their signs and ordering, we apply the signed-log transformation
The transformed scores are subsequently partitioned using Jenks natural breaks. For the 3,000-city reference set used in the reported experiments, the three internal breakpoints were
The search-supervised plan-generation difficulty label is then assigned according to
For an unseen target city, the auxiliary classifier predicts this label as
Difficulty-sensitive asymmetric learning weights. Let denote the raw prediction error for control parameter in city , consistent with the asymmetric loss in the main text. The corresponding difficulty-sensitive weight is
and
The parameter-wise feasibility-risk directions and experimental weights used to instantiate this objective are specified below:
The number of zones was treated symmetrically. Underprediction was treated as feasibility-risky for the enrollment-balance tolerance , spatial-accessibility factor , capacity-shortage allowance , school-distribution slacks and , and all upper policy bounds . Conversely, overprediction was treated as risky for the lower policy bounds . With and , a prediction error in the feasibility-risky direction receives four times the training weight of an error of the same magnitude in the relatively safe direction.
Difficulty-dependent parameter relaxation. The raw control-vector prediction from Difficulty-aware Parameter Generation is converted into an initial MILP configuration through three deterministic transformations. First, the prediction is relaxed according to the predicted plan-generation difficulty label, . Second, validity projection enforces the common parameter domain , . Finally, city-specific realization converts the admissible control vector into the absolute quantities and centers required by the zoning MILP, .
Let denote the predicted plan-generation difficulty label. The relaxation operator leaves the predicted zone count unchanged, while modifying the remaining parameters in feasibility-oriented directions. The parameter mappings are
Easy predictions are therefore unchanged before validity projection, whereas Moderate, Hard, and Extreme predictions receive progressively stronger relaxation. The complete coefficient schedule is reported in Table S24.
Table S24: Multiplicative and additive coefficients for difficulty-dependent parameter relaxation by predicted plan-generation difficulty.
| Difficulty | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Easy | ||||||||||
| Moderate | ||||||||||
| Hard | ||||||||||
| Extreme |
The relaxed vector may still contain nonintegral zone or slack values, negative quantities, values outside the admissible initial ranges, or reversed lower-upper pairs. The validity operator corrects these parameter-level inconsistencies before city-specific realization. Let denote the number of eligible schools and recall that is the number of assignment units. The projected parameter components are defined by
The realization operator then combines the admissible control vector with the target city instance. Let denote total student demand and denote the city distance scale. The absolute enrollment-balance, spatial-accessibility, capacity-shortage, and school-distribution quantities supplied to the MILP are calculated as
Centers are deterministically regenerated for the final value of , using a fixed seed. These centers and city-scaled quantities form the initial MILP configuration .
Conditional Rescue. Conditional Rescue is activated only when the initial zoning MILP reports infeasibility or reaches its time limit. It neither retrains the Parameter Generator nor invokes Oracle Search. Instead, it constructs an ordered and bounded sequence of solver-ready repair configurations,
The number of candidates depends on the initial solver status and the eligibility conditions satisfied by the city. The complete trigger conditions, parameter modifications, candidate ordering, solver budgets, and stopping rules of the procedure are provided in Algorithm S1. Only after all applicable candidates have been exhausted without success, we report this city as unresolved.
Algorithm S1 Solver-verified Conditional Rescue procedure.
Input: Initial solver-ready configuration ; city instance ; admissible predicted control vector ; predicted plan-generation difficulty ; failed initial MILP status ; fixed policy specification .
Output: The first solver-verified successful configuration and its zoning plan ; otherwise, UNRESOLVED.
1: M1: Time-Limit Recovery with Adaptive Zone-Count Increase
2: if
3:
4: if then return
5: if
6: for all do
7:
8: if then return
9: return UNRESOLVED
10: M2: Conditional One-Zone Reconstruction
11: if , , and then
12:
13: if then return else return UNRESOLVED
14: M3: Moderate-to-Hard/Extreme Relaxation
15: if , and then
16:
17:
18: if then return
19: if then return UNRESOLVED
20:
21:
22: if then return
23: if and then continue to Method 4; otherwise continue to Method 5
24: M4: Progressive Zone-Count Reduction
25: if , and then
26: for all do
27:
28: if then return
29: continue to Method 5
30: M5: Ordered Final-Grid Relaxation
31: for all do
32:
33: if then return
34: return UNRESOLVED