AI-Driven Material Requirements Planning for Vertically Integrated Textile Manufacturing
Overview & Sales Channel Scope
Seven-Layer Architecture
Layers marked "Implemented" run on the synthetic dataset in this demonstration. Layers marked "Partial" have core logic in place but require integration with operational systems for full activation. Layer 06 is explicitly deferred to the integration phase, as it depends on Sarena's specific ERP, MES, and data-access configuration.
Order Intake & Validation
BOM Explosion & Requirement Prediction
Recipe Management Module
Nearest-Neighbour Recipe Lookup
For a given target shade (CIE Lab) and substrate, the system retrieves the K nearest recipes from the synthetic recipe library, weights them by colour distance, and produces a predicted dye-component vector with uncertainty.
Active demonstration: see the dye predictions in Section 04, which use this lookup against an 840-recipe synthetic library.
Lab-Dip → Bulk Correction
Once a lab-dip record exists for the target shade, a regression model corrects the lab-dip's dye prediction to anticipate bulk-lot consumption, accounting for liquor-ratio differences, machine type, and historical bulk-versus-lab divergence for similar shade-substrate combinations.
Requires integration with Sarena's lab and bulk records. Methodology is established (Aspland; AATCC bulletins).
Given multiple possible dye recipes that achieve the same shade (with different dye combinations and different cost / fastness / sustainability profiles), the system will enumerate alternatives and recommend selection based on configurable objectives — minimum cost, maximum colourfastness, lowest environmental impact (water and chemical load), or a weighted combination.
Integration with Sarena's existing recipe library and dye-class cost table required.
Order Portfolio & Dye-Bath Optimization
| Order ID | Channel | Construction | Shade L* | Quantity | Delivery | Group |
|---|
The 12 pending orders shown above would consume an estimated — kg of total dye if run individually. The recommended grouping reduces consumption to — kg — a saving of —%. The grouping respects delivery-window constraints and shade-compatibility tolerances (CIE Lab ΔE < 2.0 within group).
The demonstration uses a greedy clustering plus 2-opt local search. The production system uses a mixed-integer linear program (Gurobi, CPLEX, or open-source CBC/HiGHS) that jointly optimises grouping, machine assignment, and sequencing — with explicit constraints for delivery windows, machine capacity, colour-bleeding risk across consecutive baths, and salt/alkali addition limits.
Calibration Dashboard
Calibration is within ±1 percentage point of target across all three requirement types. The slight under-coverage on dye (93.9% vs 95% target) indicates marginal over-confidence on that prediction stream — addressable by widening the dye-prediction intervals modestly. Out-of-family constructions are correctly flagged: in this run, 11 of the 1,680 validation orders fell outside the training distribution and were marked for planner review rather than automated prediction.
Savings Analysis vs Naïve Baseline
The savings figures above are computed on synthetic data with parameters drawn from published distributions. They demonstrate the structure of the improvement the architecture would deliver, not a guarantee of the magnitude at Sarena specifically. Actual savings at Sarena will depend on the gap between current planning practice and the system's calibrated outputs, the construction mix, the channel mix, and the rigour of operational adoption. We propose to revisit these projections after Phase 2 calibration on Sarena's historical data, when the numbers will be Sarena-specific rather than reference-pattern.
Applying the structure of these improvements to Sarena's reported processed-fabric output of approximately 5.5 million metres per year, with industry-typical dye and chemical cost intensities, the conservative annual saving projection is PKR 18–28 million, dominated by reduced dye and chemical consumption (PKR 12–18M) with secondary contributions from reduced re-shading (PKR 4–7M) and lower safety-stock overbuy (PKR 2–3M). The full per-Sarena calculation will be produced after Phase 2 calibration.