Scenario Lab
Every scenario below runs live on this server through the same engine used by the shopping cart, then is cross-checked against an exhaustive search of every possible allocation.
Client example: 3 products, 3 vendors
A: €8 shipping, free above €50. B: €7, free above €40. C: €10, free above €35.
- Expected
- €41.00
- Engine
- €41.00
- Exhaustive search
- €41.00
| Product 1 | 1 × €9.00 | €9.00 |
| Product 2 | 1 × €13.00 | €13.00 |
| Product 3 | 1 × €19.00 | €19.00 |
| Subtotal | €41.00 | |
Quantity split across vendors
1 SKU × 5. A: €10.00, stock 3, €6 shipping free above €25. B: €11.00, stock 10, €6 shipping free above €60.
- Expected
- €58.00
- Engine
- €58.00
- Exhaustive search
- €58.00
| Product 1 | 3 × €10.00 | €30.00 |
| Subtotal | €30.00 | |
| Product 1 | 2 × €11.00 | €22.00 |
| Subtotal | €22.00 | |
Partial vendors are never eliminated
A sells X, Y only (€5 shipping, free above €25). B sells Z only (€4.90, free above €40). C sells all three (€6, free above €45).
- Expected
- €43.90
- Engine
- €43.90
- Exhaustive search
- €43.90
| Product X | 1 × €12.00 | €12.00 |
| Product Y | 1 × €18.00 | €18.00 |
| Subtotal | €30.00 | |
| Product Z | 1 × €9.00 | €9.00 |
| Subtotal | €9.00 | |
Threshold boundary: free above €50 (strict)
Single vendor, subtotal exactly €50.00, €8 shipping.
- Expected
- €58.00
- Engine
- €58.00
- Exhaustive search
- €58.00
| Product 1 | 2 × €25.00 | €50.00 |
| Subtotal | €50.00 | |
Threshold boundary: free from €50 (inclusive)
Single vendor, subtotal exactly €50.00, €8 shipping.
- Expected
- €50.00
- Engine
- €50.00
- Exhaustive search
- €50.00
| Product 1 | 2 × €25.00 | €50.00 |
| Subtotal | €50.00 | |
Insufficient stock across all vendors
Customer wants 4 units; vendors hold 2 + 1.
- Expected
- Not feasible
- Engine
- Not feasible
- Exhaustive search
- Not feasible
Stress run
Stress: 8 SKUs × 30 vendors × qty 1, 5 offers per SKU. Each SKU offered by a random subset of vendors, limited stock forces splits, two shipping tiers per vendor. If the 2 s budget runs out, the best allocation found so far is returned and clearly labelled.
| SKU 1 | 1 × €37.77 | €37.77 |
| Subtotal | €37.77 | |
| SKU 3 | 1 × €10.81 | €10.81 |
| SKU 4 | 1 × €24.55 | €24.55 |
| SKU 8 | 1 × €12.83 | €12.83 |
| Subtotal | €48.19 | |
| SKU 2 | 1 × €16.79 | €16.79 |
| SKU 6 | 1 × €32.42 | €32.42 |
| SKU 7 | 1 × €25.16 | €25.16 |
| Subtotal | €74.37 | |
| SKU 5 | 1 × €28.49 | €28.49 |
| Subtotal | €28.49 | |
Redstone Catalyst · Pre-award technical demonstration · Synthetic vendors, products and prices.