Repository navigation
🧩 Constraint Solving POTD:Problem of the Day: Supply Chain Network Design #70503
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Constraint Solving — Problem of the Day. A newer discussion is available at Discussion #70852. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem Statement
Supply chain network design is the problem of deciding where to locate facilities (warehouses, distribution centers, factories) and how to route goods through them to meet customer demand while minimizing total cost.
Concrete Instance
Imagine you operate an e-commerce business with:
Decision: Which warehouses should you open, and how should you ship goods from warehouses to customer regions?
Output: A feasible solution specifying which warehouses are active, the flow from each warehouse to each region, and the total monthly cost.
Why It Matters
Real-world applications of supply chain network design are everywhere:
Every major enterprise faces this problem; solving it even 1% better can save millions annually.
Modeling Approaches
Approach 1: Mixed-Integer Linear Programming (MILP)
Paradigm: Optimization via linear algebra.
Key variables:
y_i ∈ {0, 1}— binary indicator: is warehouseiopen?x_{ij} ≥ 0— continuous flow: units shipped from warehouseito regionjConstraints:
Σ_i x_{ij} = demand_jfor each regionjΣ_j x_{ij} ≤ capacity_i · y_ifor each warehouseicost = Σ_i (fixed_cost_i · y_i) + Σ_{ij} (unit_cost_{ij} · x_{ij})Objective: Minimize total cost.
Trade-offs:
Approach 2: Constraint Programming with Global Constraints
Paradigm: Declarative constraint satisfaction with specialized propagators.
Key variables:
warehouse_open[i] ∈ {0, 1}— is facilityiopen?route[j] ∈ {1..m}— which warehouse serves regionj?flow[i][j] ∈ [0, capacity_i]— flow on route(i, j)Constraints:
cumulative([flow[i][j] for all j], capacity_i · warehouse_open[i])jis routed to warehousei, thenwarehouse_open[i] = 1Trade-offs:
Approach 3: Lagrangian Relaxation + Subgradient Optimization
Paradigm: Decomposition and bounds.
Key idea: Relax complicating constraints (e.g., demand satisfaction) into the objective via Lagrange multipliers
λ_j. This decomposes the problem into independent warehouse sub-problems. Iteratively update multipliers using subgradient descent to tighten the bound and steer toward feasibility.Trade-offs:
Example Model (Pseudo-code)
Key Techniques
1. Facility Location Relaxation & Dual Decomposition
Rather than solve the full network problem, many practitioners first solve a relaxed sub-problem: "If I decide which warehouses to open, what's the minimum cost to satisfy all demand?" This decomposition often yields tight bounds. Lagrangian relaxation iteratively refines multiplier estimates, guiding search toward good solutions.
2. Variable Ordering for Assignment & Routing
Smart variable selection dramatically accelerates search. Typical ordering:
y_i) — high impact, low branching factorGood heuristics include minimum remaining values (MRV) and impact-based ordering.
3. Symmetry Breaking & Problem Reduction
Multiple optimal solutions often exist (e.g., opening warehouses {A, B} vs. {B, A}). Add symmetry-breaking constraints:
y_1 ≥ y_2 ≥ y_3 ≥ ... ≥ y_m(impose order on warehouse decisions)Challenge Corner
Can you extend this problem to handle:
Uncertainty: Customer demand is forecast with a ±20% margin of error. How would you model this as a stochastic network design problem? Consider scenario-based approaches or robust optimization.
Multi-commodity flows: You ship multiple product types (electronics, textiles, perishables) with different handling requirements and costs. How does introducing commodity-specific warehouse capabilities change the modeling complexity?
Time-phased decisions: Demand varies seasonally. How would you model opening/closing warehouses over a 12-month horizon while minimizing switching costs and respecting lead times?
Symmetry reduction: Given 10 candidate locations, how many symmetry-breaking constraints are sufficient to eliminate redundant solutions without losing optimality?
References
Daskin, M. S. (2011). Network and Discrete Location: Models, Algorithms, and Applications (2nd ed.). Wiley. — A comprehensive reference covering facility location, hub location, and network design.
Melo, M. T., Nickel, S., & Saldanha-da-Gama, F. (2009). "Facility location and supply chain management – A review." European Journal of Operational Research, 196(2), 401–412. — Survey of models, algorithms, and industrial applications.
Hooker, J. N. (2012). Integrated Methods for Optimization (2nd ed.). Springer. — Chapter on decomposition methods and Lagrangian relaxation applied to logistics.
OR-Tools Supply Chain Documentation: (developers.google.com/redacted) — Practical solvers and modeling tutorials for real-world network design problems.
All reactions