

How prescriptive analytics picks a response when a warehouse runs out of capacity
Prescriptive analytics uses data to recommend a course of action. It lists the options a team can take, estimates the outcome of each under stated constraints and assumptions, and recommends the one that best meets the goal. Analytics asks four questions in order. The first is "what happened?", and the last, which prescriptive analytics answers, is "what should we do next?"
For an operator, that last question tends to arrive after a metric moves. The on-time rate has dropped, the cause is known, and the team can respond in several ways, each with a price. Prescriptive analytics turns the choice into arithmetic the team can check, and it names the assumption that would change the answer.
Harvard Business School Online defines prescriptive analytics as "the process of using data to determine an optimal course of action." IBM's overview describes it as a recommendation layer added to predictive analytics, and it places descriptive and predictive analysis as a step before prescriptive modeling.
Write down five things before any arithmetic
Every prescriptive analysis has the same parts, whether it lives in a spreadsheet or a solver. Name each one first.
- Objective: the one quantity to minimize or maximize, such as total cost or gross margin.
- Decision variables: what the team controls, such as overtime hours or the number of orders sent to each site.
- Constraints: limits the answer must respect, such as capacity, budget, labor rules, or a service promise.
- Assumptions: the numbers nobody knows for certain, such as the cost of a late order or the probability of each demand scenario.
- Decision rule: the condition that triggers the action, written so another person can apply it.
Microsoft's Excel Solver documentation uses the same structure. A Solver model has an objective cell that contains a formula, decision variables held in variable cells, and constraints that the solution must satisfy. The worked case below fills in all five.
Which technique fits which decision?
Table 1: prescriptive techniques and when each fits.
| Technique | What it does | Fits when |
|---|---|---|
| Business rules | If a condition holds, take a set action | The decision repeats and the right response is known |
| Scenario analysis with expected value | Costs each option under a few possible futures, weighted by probability | A few options and uncertain demand |
| Optimization | Finds the best values for many decision variables under constraints | Many options, such as allocating volume across sites |
| Simulation | Tests a decision against many randomly drawn futures | Uncertainty with many interacting parts |
| Machine learning recommendations | Ranks actions or items from past behavior | Many small, repeated decisions |
HBS describes algorithms that use "if" and "else" statements to work through data and make recommendations. It adds that machine learning algorithms are often used in prescriptive analytics, and its examples include lead scoring and content recommendations. IBM names optimization algorithms, decision theory, and business rules among the methods.
When the costs and limits are linear, optimization usually means linear programming. SciPy's linprog documentation describes it as minimizing "a linear objective function subject to linear equality and inequality constraints." Excel Solver offers an LP Simplex method for linear problems.
Most operating decisions start with business rules or scenario analysis. Teams tend to move to optimization once the options multiply: many warehouses, many products, volumes that change daily.
A regional promotion pushes the East warehouse past capacity
A consumer brand ships from two warehouses, East and West. Its operations lead owns one number, the on-time ship rate: orders shipped by the promised date ÷ orders due to ship that week. A regional promotion has pushed East past its capacity, and the promotion runs one more week. The brand, its warehouses, and every cost below were made up to show the method. The totals were rechecked in Python, and no customer's operation is behind them.
The case moves through all four types of analytics in order, one step each.
Table 2: the four types of analytics, applied to East.
| Type | Question it answers | Answer at East |
|---|---|---|
| Descriptive | What happened? | The on-time ship rate fell from 99.0% to 87.7% |
| Diagnostic | Why did it happen? | Orders above warehouse capacity shipped late |
| Predictive | What might happen next? | Next week's orders: 10,900 to 12,700 |
| Prescriptive | What should we do next? | Book overtime and route the remainder to the second warehouse |
A wrong diagnosis sends the recommendation after the wrong problem, so the case starts with the description.
What happened to the on-time rate
East shipped 9,504 of 9,600 orders on time in the prior week, an on-time ship rate of 99.0%. Last week it shipped 10,000 of 11,400 on time, a rate of 87.7%.
Why 1,400 orders shipped late
East's regular capacity is 10,000 orders a week. The promotion lifted East's orders by 1,800, and the 1,400 orders above capacity shipped late. Picks per labor hour held steady, which puts the cause in volume and clears the warehouse's own process. West shipped on time and had room for 1,500 more orders.
Three forecasts for next week
The team sets three scenarios for East's orders. The probabilities are the team's judgment, so the lead records them as assumptions.
Table 3: next week's scenarios for East.
| Scenario | East orders | Overflow above 10,000 | Probability |
|---|---|---|---|
| Low | 10,900 | 900 | 25% |
| Base | 11,800 | 1,800 | 50% |
| High | 12,700 | 2,700 | 25% |
Pricing the options
East can handle overflow in three ways:
- Overtime at East: 1,000 orders of extra capacity for a fixed premium of $1,500. It must be booked by Friday, and the premium is paid whether or not the volume arrives.
- Transfer to West: $3.20 of extra shipping cost per order, decided day by day, up to 1,500 orders.
- Ship late: $6.00 per late order in credits and support contacts. This is the team's estimate, and nobody has measured it.
The options combine into policies. Policy A does nothing. Policy B transfers overflow to West, up to 1,500 orders, and lets the rest ship late. Policy C books overtime, transfers what overtime cannot cover, up to 1,500 orders, and lets the rest ship late.
Table 4: cost of each policy by scenario.
| Policy | Low | Base | High | Expected cost |
|---|---|---|---|---|
| A: do nothing | $5,400 | $10,800 | $16,200 | $10,800 |
| B: transfer only | $2,880 | $6,600 | $12,000 | $7,020 |
| C: overtime, then transfer | $1,500 | $4,060 | $7,500 | $4,280 |
In the base scenario, the arithmetic runs:
- A: 1,800 × $6.00 = $10,800.
- B: 1,500 × $3.20 + 300 × $6.00 = $4,800 + $1,800 = $6,600.
- C: $1,500 + 800 × $3.20 = $1,500 + $2,560 = $4,060.
Expected cost weights each scenario by its probability. For Policy C: 0.25 × $1,500 + 0.50 × $4,060 + 0.25 × $7,500 = $4,280.
Policy C costs least in every scenario, so the probabilities do not decide the recommendation. Under Policy C, no overflow orders ship late in the low or base scenario, and 200 ship late in the high scenario.
Which assumption would flip the answer?
For each assumption, find the value at which a different policy would win.
- Overtime against transfer: overtime costs less than transfer when overflow exceeds $1,500 ÷ $3.20 = 469 orders. The low scenario's 900 orders clear that point by a wide margin. If the low forecast were 400 orders of overflow, the choice would turn on the probabilities.
- Transfer against shipping late: a transfer pays only when a late order costs more than $3.20. The $6.00 estimate would have to be about 47% too high before shipping late became the cheaper choice.
The recommendation is to book the overtime by Friday. Each morning next week, East sends West the orders it cannot ship on time with overtime, up to 1,500 for the week. Written as a decision rule: when East's open orders exceed what it can ship on time with overtime, route the excess to West.
What the arithmetic leaves to the operations lead
The calculation finds the cheapest policy among the ones it was given. People still set its terms.
The objective comes first. This case minimizes cost. A team that treats its delivery promise as fixed would add a constraint, such as an on-time ship rate of at least 98%, and Policy C meets that in the high scenario, at 98.4%.
Then come the assumptions. The late-order cost and the scenario probabilities come from the team, and the recommendation inherits any error in them. Some constraints never appear in the data at all: a labor agreement, a carrier cutoff, a customer who must ship from East.
Repricing the options every morning of the promotion
A decision made before Friday's booking deadline rests on that day's forecast. While the promotion runs, the overflow changes daily, and the lead needs the same table again each morning. Record the decision, the assumptions, and the outcome. After the week, compare actual overflow and cost with the plan, and update the late-order estimate. IBM's overview lists monitoring and refinement as the last step in how prescriptive analytics works.
For a decision of this size, a spreadsheet is enough. Excel Solver, with its LP Simplex method, handles linear problems in the same file, and a linear program in code with SciPy suits a team that allocates volume across many sites every day. Warehouse management and planning systems fit when the team needs their own workflow, such as releasing orders to pick or scheduling labor shifts. Orion does not replace them.
The part that repeats is the analysis before the decision: spotting the drop, finding its cause, and pricing the policies again. Orion, the analytics platform, handles that repetition once the operations lead has written down what he knows. He gives Orion the definition of an on-time shipment, each site's capacity, the cost of each option, his estimate of a late order's cost, and the rule that picks a policy. Orion stores them as Context pages, so every later analysis starts from his numbers.
Some facts never reach the order data. Through Observatory cards, Orion asks the lead whether the regional promotion caused the jump in orders, since the order table cannot say. If an answer in chat revises the late-order cost, Orion proposes the change to the Context page as a Context card, and the team applies or dismisses it. A Suggested analysis card might propose the morning check itself: forecast overflow against capacity, with the cost of each policy.
Typed into chat as a first request, that check could read: "From the on-time ship rate definition and option costs on our Context page, show East's orders, capacity, and on-time ship rate for each of the last eight weeks, and explain what drove last week's drop. Then cost three policies under next week's low, base, and high scenarios: do nothing, transfer only, and overtime first with transfers after. Give the late orders under each, both break-even points, the code, and any data gaps."
The lead runs that check in chat and compares its cost table with his spreadsheet. When the two agree, he asks Orion to build it into a daily Workflow. Orion runs the whole Workflow once as a test before saving it, and nothing goes on the daily schedule until he approves. Each morning it highlights the drivers behind any move in the on-time ship rate. A decision step holds the team's rule in plain language and passes the recommendation to the lead only on days when overflow crosses it. The lead still books the overtime and moves the orders.
The number most worth measuring
The lead's decision, stated with its reasons, reads: overtime booked by Friday, daily transfers to West, and two conditions that would reverse it. The choice holds unless overflow falls below 469 orders or a late order costs less than $3.20.
After the week, set the plan beside what happened. Measure the late-order cost first. The case for paying $3.20 per transfer rests on that $6.00 estimate, which nobody has measured yet.