Skip to content

Framework Example 2: Context Model Index ​

中文

This index is the documentation boundary for the eleven bounded contexts under framework_demo/demo2. Each linked page describes one context's domain-model contract in the order defined by the domain-model template. The index is a navigation aid; the context pages remain the place to review variables, intermediates, assertions, constraints, and objectives.

1. Context map and navigation ​

The dependency direction is:

text
aircraft → stowage → {mac, airworthiness_security, soft_security,
                      mac_optimization, express_effectiveness,
                      loading_effectiveness, redundancy,
                      recommended_weight_equalization, payload_maximization}

aircraft supplies aircraft, deck, fuel, position, and adjacency data. stowage consumes that configuration and owns item-to-position assignment and load expressions. The remaining contexts consume the shared stowage values for their own balance, safety, effectiveness, or payload responsibilities.

2. Context model pages ​

ContextResponsibilityLocal model
aircraftAircraft, deck, position, fuel, ULD, and adjacency dataAircraft
stowageItem-position assignment, adjustment, load amount, weight, and core loading limitsStowage
macTorque, CLIM, index, and MAC intermediate valuesMean Aerodynamic Chord (MAC)
airworthiness_securityDensity, cumulative/zone load, payload, total-weight, envelope, trim, and CLIM limitsAirworthiness Security
soft_securitySoft empty-position, door, divide-empty, and ballast preferencesSoft Security
mac_optimizationLongitudinal/lateral balance and horizontal-stabilizer limits and objectiveMAC Optimization
express_effectivenessMust-ship and item-priority orderingExpress Effectiveness
loading_effectivenessSource/destination adjacency, loading order, reweigh, trailer, and sequence policiesLoading Effectiveness
redundancyRedundancy and experimental longitudinal-balance limitsRedundancy
recommended_weight_equalizationItem order, priority appointments, and recommended-weight deviationRecommended Weight Equalization
payload_maximizationMaximum payload limit and payload objectivePayload Maximization

Every page provides a link to its Chinese or English mirror. The parent page documents the exact mode-specific registration boundary.

3. Mode registration notes ​

ModeContexts in the ordinary modelBoundary
LoadingOrderaircraftExport-only configuration; no meta-model solve
FullLoadstowage, mac, airworthiness_security, soft_security, mac_optimization, express_effectiveness, loading_effectivenessAirworthiness may be moved to the Benders subproblem
PredistributionFullLoad contexts plus redundancyLoading-order pipeline is mode-gated
WeightRecommendationstowage, mac, airworthiness_security, express_effectiveness, recommended_weight_equalization, payload_maximizationRecommendation deviation and payload objective are mode-specific

The presence of a class or model file in a context does not by itself make a constraint active. Only a pipeline returned by the selected mode's generator enters that mode's model.