End-to-end explainable framework that converts demand signals into operationally trusted flight capacity decisions
This project delivers an end-to-end, explainable framework that converts demand signals into operationally trusted flight capacity decisions for the FedEx Tricolor Challenge. Instead of optimizing demand forecasts in isolation, the solution focuses on bridging the gap between planning and execution—a key challenge in large logistics networks such as FedEx.
The framework ensures that demand forecasts are treated as inputs, not capacity targets, and that capacity allocation reflects cost exposure, delay risk, and operational flexibility. The solution prioritizes interpretability, realism, and decision scalability over black-box accuracy.
Traditional forecast-driven planning often leads to:
- White-tail capacity from over-commitment
- Load factor mismatch between planned and actual utilization
- Increased delay risk on fragile routes
- One-size-fits-all utilization targets
Design a framework that converts demand forecasts into risk-aware, cost-aware capacity decisions, reducing planning-execution gaps without adding flights.
The solution is structured into two integrated segments:
- Signal-aware, regression-based forecasting
- Demand decomposed into:
- Base demand
- Promotion-driven volatility
- Sentiment and sustainability alignment
- Forecasts include confidence and stability indicators
- Rule-based, explainable capacity logic (no black-box optimization)
- Capacity decisions governed by a 4-Factor Decision Lens:
- Demand Stability
- Cost Exposure (Fixed vs Variable)
- Delay Risk
- Real-Time Flexibility
Two routes with identical demand forecasts may require opposite capacity decisions.
Customer & External Signals
(Promotions • Sentiment • Sustainability • Regulation)
↓
Explainable Demand Forecasting (Segment 1)
(SKU- & Route-Level Forecast + Confidence)
↓
Forecasted Demand as Planning Input
↓
Capacity Decision Framework (Segment 2)
(Cost • Risk • Flexibility Lens)
↓
Operational Decisions
(Utilization • Buffering • Conservative Loading)
No official dataset was provided. To ensure realism and explainability, domain-informed synthetic datasets were created to reflect real-world logistics behavior while enabling controlled experimentation.
File: customer_sku_demand_signals.csv
Purpose: Capture customer-level demand drivers and volatility
Key Features:
base_demand— organic demand baselinepromotion_flag,discount_percentage— short-term demand shockssentiment_score,review_volume— digital perception signalssustainable_sku_flag,eco_preference_index— long-term demand stabilityregulation_impact_score— regulatory influence
File: forecasted_demand_output.csv
Purpose: Store model-generated, time-bound demand forecasts used directly for capacity planning
Outputs:
forecasted_demandforecast_confidence
File: tricolor_flight_capacity.csv
Purpose: Represent FedEx-like operational constraints
Key Features:
max_capacityfixed_costvariable_cost_per_unitreal_time_update_flagdelay_risk_score
File: round3_capacity_decisions.csv
Purpose: Contains route-level capacity strategy decisions generated using the 4-Factor Decision Lens
Key Columns:
routeforecasted_demandmax_capacitydemand_stabilitycost_profiledelay_risk_flagflexibility_flagutilization_strategyplanning_comment
This file represents the final operational output of the project.
- Model: Regression-based, interpretable
- Goal: Explain why demand changes, not just how much
| Route Characteristics | Capacity Strategy |
|---|---|
| Stable demand + High fixed cost | Maximize utilization |
| Volatile demand + Real-time flexibility | Dynamic buffer |
| High delay risk | Conservative loading |
| Low cost + Flexible operations | Absorb uncertainty |
We do not change demand forecasts — we change how much we trust them operationally.
- ✅ Reduced white-tail capacity through targeted utilization
- ✅ Improved alignment between planned and actual load factors
- ✅ Lower delay risk on fragile routes
- ✅ Explicit trade-offs between cost, risk, and reliability
- ✅ Scalable framework applicable across the Tricolor network
For FedEx, the cost of being wrong on a high-risk route is higher than flying slightly empty — and this framework makes that trade-off explicit.
Opsium/
├── Opsium_Notebook.ipynb # End-to-end notebook (Round-02 + Round-03)
├── data/
│ ├── customer_sku_demand_signals.csv
│ ├── forecasted_demand_output.csv
│ ├── tricolor_flight_capacity.csv
│ └── round3_capacity_decisions.csv # Final Round-03 output
├── notebooks/ # Optional supporting notebooks
└── README.md
- Open
Opsium_Notebook.ipynbin Jupyter or VS Code - Ensure all CSV files are present in the
data/directory - Run cells sequentially to reproduce:
- Demand forecasting
- Capacity classification
- Strategy visualizations
- Python 3.x
- Pandas
- NumPy
- Scikit-learn
- Matplotlib
Install via:
pip install pandas numpy scikit-learn matplotlib- Python 3.8 or higher
- Jupyter Notebook or JupyterLab
-
Clone the repository
git clone https://github.com/Partha0003/Opsium.git cd Opsium -
Install dependencies
pip install pandas numpy scikit-learn matplotlib
-
Launch Jupyter Notebook
jupyter notebook Opsium_Notebook.ipynb
- Forecast Validation: Confidence interval analysis
- Trend Identification: Seasonal and promotional patterns
- Risk Assessment: Demand uncertainty quantification
- Multi-Objective Framework: Cost vs. service level balance
- Constraint Handling: Operational and regulatory limitations
- Scenario Planning: What-if analysis for different demand scenarios
- Rule-Based Logic: Explainable decision trees
- 4-Factor Decision Lens: Systematic capacity evaluation
- Hybrid Approach: Combined analytical and heuristic methods
- Capacity Utilization: Percentage of available capacity used
- Cost Efficiency: Cost per unit transported
- Service Level: On-time delivery performance
- Forecast Accuracy: Demand prediction precision
- Total Cost Minimization: Overall operational cost reduction
- Risk-Adjusted Returns: Performance considering uncertainty
- Resource Allocation Efficiency: Optimal capacity distribution
- Demand Uncertainty: Confidence-based capacity buffering
- Capacity Constraints: Dynamic constraint handling
- Cost Volatility: Multi-scenario cost optimization
- 🎯 Explainable Decision Making: Every capacity decision includes reasoning
- 📈 Operational Alignment: Reduced planning-execution gaps
- ⚡ Scalable Implementation: Framework applicable across route networks
- 🎪 Risk-Aware Planning: Explicit trade-offs between cost and reliability
- Demand Patterns: Stability matters more than absolute volume for capacity decisions
- Cost Optimization: Fixed vs. variable cost structure drives utilization strategy
- Risk Factors: High-risk routes require conservative capacity allocation
- Operational Efficiency: Rule-based decisions outperform black-box optimization for explainability
The comprehensive notebook covers both segments of the solution:
-
Data Loading & Signal Processing
- Import customer SKU demand signals
- Feature engineering for demand drivers
- Signal validation and preprocessing
-
Demand Decomposition
- Base demand calculation
- Promotion impact analysis
- Sentiment and sustainability factors
- Regulatory influence assessment
-
Forecast Generation
- Regression-based demand prediction
- Confidence interval calculation
- Forecast stability metrics
-
Capacity Metadata Integration
- Flight capacity constraints
- Cost structure analysis
- Risk factor evaluation
-
4-Factor Decision Lens Application
- Demand stability assessment
- Cost exposure analysis
- Delay risk evaluation
- Flexibility scoring
-
Strategy Generation
- Route-specific capacity decisions
- Utilization strategy assignment
- Planning commentary generation
-
Results Validation
- Decision logic verification
- Business impact assessment
- Framework scalability analysis
- Real-time capacity adjustment algorithms
- Advanced ML integration for pattern recognition
- Multi-modal transportation optimization
- Dynamic pricing integration with capacity decisions
- Enhanced visualization dashboard for planners
- Sustainability metrics incorporation in decision framework
- Customer satisfaction modeling for service level optimization
- Network-wide optimization beyond individual routes
- Predictive maintenance integration with capacity planning
- FedEx Operations Research
- Supply Chain Optimization Best Practices
- Logistics Analytics and Capacity Planning
- Explainable AI in Operations Research
Team Name: OneAboveAll Team Members: Partha Sarathy G Nithin bhargav G N Piritha
Opsium – FedEx Tricolor Challenge Finalist
For questions or collaborations, please reach out via GitHub Issues.