Papers
Topics
Authors
Recent
Search
2000 character limit reached

BOM-Aware MILP for Contract-Driven Procurement

Updated 14 January 2026
  • BOM-aware MILP is a mathematical optimization model that integrates bill-of-materials constraints with supplier contracts like MOQ, lead times, and price tiers.
  • It employs a rigorous formulation of sets, parameters, and decision variables to capture BOM flows, multi-tier pricing, and enforced procurement limits.
  • The Contract2Plan framework uses a four-layer compliance gating and solver-based verification to ensure feasible, risk-aware inventory and production planning.

A BOM-aware MILP (Mixed-Integer Linear Program) is a class of mathematical optimization models that explicitly encode bill-of-materials (BOM) relationships as algebraic constraints, integrated with supplier contract terms such as minimum order quantities (MOQ), lead times, price tiers, capacity caps, and approved substitutions. The BOM-aware MILP structure, as instantiated in the Contract2Plan framework, supports the verified planning of procurement and multi-echelon inventory for production networks subject to both operational and contractual feasibility (Agarwal, 7 Jan 2026).

1. Notation, Parameters, and Decision Variables

The BOM-aware MILP is constructed with rigorous set and parameter definitions:

  • Sets and Indices:
    • SS: Suppliers (sSs \in S)
    • PP: Parts; FPF \subseteq P denotes finished goods (pPp \in P, fFf \in F)
    • NN: Stocking nodes (plants, DCs; nNn \in N)
    • TT: Planning periods (tTt \in T)
    • sSs \in S0: Price tier index for each supplier-part sSs \in S1
  • Parameters:
    • sSs \in S2: BOM coefficient for sSs \in S3 in sSs \in S4
    • sSs \in S5: Demand for sSs \in S6 at sSs \in S7 in sSs \in S8
    • sSs \in S9: Lead time for PP0 from PP1
    • PP2, PP3: Minimum and maximum order quantities
    • PP4: Capacity cap for PP5
    • PP6, PP7: Tier threshold and per-unit costs
    • PP8: Fixed order/setup cost
    • PP9: Holding cost per unit-period
    • FPF \subseteq P0: Emergency purchase penalty
    • FPF \subseteq P1: Substitution approval indicator
  • Decision Variables:
    • FPF \subseteq P2: Ordered quantity of FPF \subseteq P3 from FPF \subseteq P4 at FPF \subseteq P5
    • FPF \subseteq P6: Order activation for FPF \subseteq P7 at FPF \subseteq P8
    • FPF \subseteq P9: Tier selection binary
    • pPp \in P0: On-hand inventory
    • pPp \in P1: Produced quantity of pPp \in P2 at pPp \in P3, pPp \in P4
    • pPp \in P5: Emergency purchase quantity

These variables and parameters jointly enable the encoding of BOM-flow, multi-tier pricing, supplier restrictions, and cross-site interactions.

2. Objective Function and Constraint System

The BOM-aware MILP minimizes total expected cost over the planning horizon:

pPp \in P6

  • Procurement Cost: Aggregates piecewise-tiered per-unit costs and fixed setup charges, with tier-eligibility governed by pPp \in P7.
  • Inventory Holding: Assesses cost across all nodes, parts, and periods.
  • Emergency Purchases: Penalizes out-of-plan procurement, which is costly by design.

Constraint Categories

  • BOM-Driven Material Balance:

pPp \in P8

All flows incorporate true lead times, linking procurement, stock, and production in each period.

  • Demand Fulfillment:

pPp \in P9

Guarantees service of exogenous finished-good demand.

  • Contractual Procurement Constraints:
    • MOQ and activation: fFf \in F0
    • Capacity: fFf \in F1
    • Tier eligibility: fFf \in F2; fFf \in F3
    • Approved substitution: fFf \in F4

These enforce contractually dictated procurement limits and ensure physical material feasibility consistent with BOM structures.

3. Automated Pipeline: Contract Text to MILP Compilation

The BOM-aware MILP backbone supports direct structuring of plans from unstructured contract text using a hybrid retrieval–GenAI–solver pipeline:

  • Retrieval and Chunking:
    • BM25 plus dense retriever identifies paragraphs or table cells answering "MOQ," "lead time" queries.
    • Clauses are chunked with scope context (effective dates, sites).
  • Schema-Constrained Extraction:
    • A fixed JSON schema specifies fields (e.g., supplier_id, moq, lead_time_periods) with evidence span and confidence annotation.
    • LLM outputs are constrained to this structure; all values must have textual provenance.
  • Normalization and Mapping:
    • Units, currencies, and entity names are canonicalized.
    • Schema fields deterministically populate the MILP parameters.
  • MILP Compilation:
    • Schema fields map directly to MILP constraints as above.
    • Conditional and piecewise clauses (e.g., "MOQ applies above quarterly volume 600") are encoded when aggregation structures permit; otherwise, a conservative collapse or abstention triggers.

This pipeline formalizes the transition from heterogeneous document sources to robust, verifiable input for MILP-based planning.

4. Solver-Based Compliance Gating and Diagnostic Verification

Before any plan is emitted, a four-layer compliance verifier is invoked:

  1. Schema & Unit Validation: Checks structured data for completeness, numeric consistency, monotonicity (e.g., price tiers), and valid effective date windows.
  2. Provenance & Grounding: Ensures every structured field directly maps to a supported textual evidence span; flags mis-scoped or stale clauses.
  3. Cross-Document Consistency & Safe Repair:
    • Constraints are grouped by affected tuple (supplier, part, scope, window).
    • Precedence resolves conflicts (e.g., addendum overrides master).
    • Monotone ("Class A") conflicts are conservatively merged; nonmonotone conflicts invoke abstention for human review.
  4. Solver Feasibility Check:
    • Full MILP is compiled and checked for feasibility.
    • Minimal Infeasible Subsystem (IIS) extraction localizes unsatisfiable constraint sets if infeasible.
    • Otherwise, a slack-minimization auxiliary MILP, fFf \in F5 subject to fFf \in F6, identifies where slacks (e.g., MOQ, lead-time, capacity violations) concentrate.
    • Conditional iteration re-extracts or repairs as diagnostics dictate; unresolved nonmonotonicity or ambiguity results in abstention.

5. Formal Compliance Guarantees and Abstention Mechanics

Contract2Plan's compliance logic relies on a detailed constraint taxonomy:

  • Class A (Monotone Feasibility): MOQ (increases), lead time (increases), capacity (decreases), and cadence constraints. Safe for conservative numerical merge.
  • Class B (Eligibility): Price tier constraints. Safe to enforce strictly.
  • Class C (Nonmonotone/Exceptions): Rebates, carve-outs, approvals, and cross-references. Unsafe for automated numeric merge; abstention enforced.

A formal guarantee (Theorem 1) states: If the true value is among the retrieved candidates (coverage) and the MILP constraint is monotone, then a plan feasible for the conservatively merged (i.e., most restrictive) value is contract-feasible under the true conditions. In all other cases—absent provenance, irreducible ambiguity, or non-monotonic conflict—the system abstains, requiring human adjudication.

6. Synthetic Micro-Benchmark and Robustness Findings

An independent micro-benchmark with 500 synthetic single-item, no-backlog instances over fFf \in F7 periods illustrates the necessity of solver-based verification:

  • Setup Highlights:
    • Two sourcing modes: cheap supplier (MOQ, lead time, price tier) and immediate emergency buy.
    • Action per period: one of nine discrete order quantities, totaling fFf \in F8 schedules per instance.
    • Randomization over demand, true MOQ, lead time, cost, and extraction errors (with explicit under- and overstep probabilities for MOQ and lead time).
  • Observed Metrics:
    • 16.6% incidence of planned MOQ violation (83/500).
    • Mean regret of extraction-only plan: \$142.33 (5.4% of mean optimal cost; 95% CI [113.67, 171.07]).
    • 90th percentile regret: \$f \in F$91,569.61; maximum: \$2,242.22.
    • 27.2% of instances incurred any regret.
    • Joint MOQ and lead time under-estimation yielded the highest tail risk.

This heavy-tailed risk evidence motivates the necessity of the compliance gate and conservative repair logic in BOM-aware MILP pipelines (Agarwal, 7 Jan 2026).

7. Scaling, Future Directions, and Architectural Invariants

Scaling BOM-aware MILP with contract-grounded verification demands increased computational and data-engineering sophistication:

  • Large BOMs and multi-echelon networks require decomposition algorithms (Benders, Dantzig–Wolfe), rolling horizon or stagewise approaches.
  • Efficient high-volume parsing, parallel solver calls, and seamless integration with contract governance and access control systems are essential.
  • Crucially, the four-layer compliance architecture and evidence-grounding invariant remain intact, preserving auditable contract safety at scale prior to plan emission.

A plausible implication is that future advances will emphasize verifiability, transparency, and fail-safe abstention in optimization pipelines translating from unstructured contract corpora to actionable plans, particularly as BOMs and supply chain networks grow in scale and complexity.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to BOM-Aware MILP.