Warehouse Item Shipment Optimization
Filed under Amazon
Free read 3 of 3Identify all constraints including item availability, shipping costs, partner pricing models, and consolidation rules.
The question
Given items available at different warehouses and serviceable by various partners with specific costs, find the optimal selection of items and partners to minimize total shipping cost, considering consolidation of items into single packets.
Constraints
- Warehouses and partners have limited capacity or specific cost matrices.
- Items must be fully fulfilled.
Approach
Identify all constraints including item availability, shipping costs, partner pricing models, and consolidation rules.
Define entities for Item, Warehouse, Partner, and CostMatrix to represent the relationships and pricing tiers.
Design an optimization engine input pipeline that ingests order requirements and outputs the minimum cost assignment plan.
Discuss heuristic vs exact algorithms (e.g., Integer Linear Programming vs greedy approaches) for large-scale catalog data.
Handle unfulfillable items due to stockouts or partner service area mismatches.
Tips
- What they are testing: Test edge cases like single warehouse availability, high consolidation discounts, and partner capacity limits.
- Common mistake: Treating warehouse selection and partner assignment independently instead of combining them into a unified optimization framework.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.