Forecasting and constrained optimisation: separating prediction from the business decision

A demand forecast, a production plan and a narrative recommendation are different products. The first estimates future events; the second selects an action subject to constraints; the third helps a person understand the result. Combining them in one prompt makes it difficult to establish whether a failure originated in data, prediction or decision logic. A clearer starting point separates forecasting, optimisation and execution control.

Start with the decision the business actually makes

Identify what can change: order quantity, job allocation, delivery timing or work sequence. Then distinguish conditions that must hold from preferences that can be negotiated. Material availability and equipment capacity differ from a preference to minimise changeovers. Mixing them can produce an apparently economical plan that cannot be executed.

The business owner should approve the objective and the cost of trade-offs. Reducing delay may increase inventory or overtime. Reducing transport expense may lengthen delivery time. A system should not infer these preferences from an ambiguous instruction to optimise the business. It needs named decisions with measurable consequences.

Match the forecast to the horizon and information available

Purchasing may depend on demand during a supplier lead time rather than tomorrow's sales. Establish when input information actually becomes available. Promotion details, order corrections or outage information must not appear in a backtest earlier than they would in real operation. Such leakage creates attractive results that cannot be reproduced after deployment.

Compare the forecast with a simple baseline and evaluate successive periods in chronological order. Separate new products, seasonal segments and cases with insufficient history. A global average error does not establish whether the model supports the most important decisions. A slightly worse aggregate result may still be more useful for a particular horizon or costly error class.

Carry uncertainty into the plan

A plan based on one point estimate can react badly to small demand or resource changes. Compare scenarios and recommendation stability rather than hiding uncertainty. Establish which input changes materially alter the action and when a planner should review it. Not every new signal justifies recalculating the entire plan.

In an illustrative scenario, two warehouses have different lead times and limited storage. Their forecasts cannot simply be added while assuming all events are independent. A shared promotion or logistics disruption may affect both locations. Scenarios should reflect such dependencies and the cost of fallback plans without implying precision unsupported by the data.

Accept the optimiser as an operational component

ElementControl questionEvidence
Hard constraintDoes the plan actually satisfy it?Independent output validation
PreferenceWho accepted the trade-off cost?An approved objective definition
No solutionCan the conflict be explained?A test case and escalation path
Computation budgetWhat happens when time runs out?A feasible fallback or manual plan

Distinguish a feasible solution from a proven optimum, and infeasibility from insufficient search time. The presentation layer must not turn an uncertain solver status into a confident recommendation. An LLM can explain a plan and its trade-offs, but numerical values and constraints should come from checked inputs and computation results.

Pilot decision quality rather than model sophistication

First reconstruct historical decisions using information that was available at the time. Then run an advisory stage in which planners compare proposals with their own decisions and record reasons for disagreement. Those reasons are not automatic proof that the person was correct. They reveal potentially missing constraints, information or preferences.

Before automatic execution, validate change limits, permissions, plan expiry and stale-data handling. Define the response when a resource disappears after approval. Measure feasibility, intervention rates, plan stability and the realised cost of adopted decisions as well as forecast error. Business benefit should arise from improved actions rather than merely a more sophisticated calculation method.

Preserve validity until execution

Inventory, resources and priorities may change between calculation and execution. Version the inputs and establish when the plan expires. Check continued feasibility before updating an execution system, and identify partial completion across systems. Limits on the size of one planning change can also protect operational stability. Make those limits explicit rather than leaving them as undocumented planner preferences.

Connect predictions to operations with Geekforce

We combine data, models, optimisation and custom operational applications. Together, we can identify decisions AI could improve, keep the relevant constraints explicit and test practical usefulness before extending automation across your business.

Sources and further reading

Don't just take our word for it — read what our clients say on independent platforms.