Back to list

Tech Blog · Algorithms Explained

[Prescription Methods 9] There is no single right answer — Choosing a prescription method to fit the problem

No prescription method fits every process. Wrapping up the “Prescription Methods” series, we put the eight methods in one table and set out the questions for choosing a method by process characteristics, and why several methods are used together.

Sep 3, 2026 · OPTI-X

Series “Prescription Methods” · Part 9 — Wrap-up

We have looked at eight methods, from rule-based approaches to causal inference. The conclusion is simple: there is no single method that fits every process. The characteristics of the process choose the method.

Part 0 set out five criteria for comparison: how much data is needed, whether a process model is needed, whether trials are safe, whether computation is fast, and whether results can be explained. This part regroups the eight parts by those criteria and turns them into questions to ask when actually choosing.

The eight methods in this series

The eight methods at a glance

The 'What it needs' column is the selection criterion

MethodWhat it needsWhat to watch out for
Rule-based operation (Part 1)Experienced operators' know-howDrifts from the optimum when several conditions change together
Design of experiments, response surface methodology (Part 2)Experiments that can be repeatedThe number of runs grows as a power of 2 as variables increase
MPC, APC (Part 3)An accurate process modelBuilding and maintaining the model takes cost and experts
Bayesian optimization (Part 4)A few dozen experimentsHard with many variables; exploration can be risky
Reinforcement learning (Part 5)A simulator or a history of manipulationsOverestimates actions not in the data
Evolutionary algorithms (Part 6)Very many evaluations (on a model)Unsuitable for searching directly on real equipment
Surrogate-based optimization (Part 7)Operating history with conditions and results recorded togetherMistakes model error outside the data for the optimum
Causal inference (Part 8)Records of confounders, small planned changesCausal assumptions that cannot be tested with data
Source: OPTI-X summary (Parts 1–8 of the series)

Reading the table down, each method relies on a different resource. Rules rely on human experience; design of experiments and Bayesian optimization on experiments; MPC on a process model; and reinforcement learning, surrogates and causal inference on accumulated operating data. So before asking "which method is best," ask "what does our process have?"

Regrouped by safety, three clusters appear. Design of experiments, Bayesian optimization and online reinforcement learning learn by trying things on the real process, so they need a mechanism that limits the range of trials (SafeOpt in Part 4 is one example). MPC puts constraints inside the optimization problem and looks only for solutions that satisfy them from the start. Surrogates, offline reinforcement learning and causal inference do not touch the equipment during learning, but in return they must filter out prescriptions that go outside the data.

Choosing by questions

Five questions for choosing a method

Answer them in order

Question 1Can you build an accurate process model?
Yes → consider the MPC family / No → data-driven methods
Question 2Is there enough history recording manipulations and results together?
Yes → surrogates, offline reinforcement learning / No → experimental design, Bayesian optimization
Question 3Are experiments possible, and how expensive are they?
Cheap → design of experiments / Expensive → Bayesian optimization / Not possible → history-based
Question 4Is there one goal, or several?
Several → present trade-offs with multi-objective search (evolutionary algorithms, etc.)
Question 5Were past manipulations decided by operators' judgment?
Yes → check for confounders and review from a causal perspective

"Enough" in Question 2 is not only about quantity. As seen in Part 5, if the process was always run at the same values there is little to learn, and as seen in Part 8, if there are no records of different manipulations in the same situation, the data cannot compare their effects.

For Question 4, when there are several goals, you first show the set of solutions where improving one goal means giving up another (the Pareto front), as seen in Part 6, and the floor picks the point that matches the day's priorities. You get to see the range of trade-offs before fixing weights between goals and merging them into one.

Question 5 pairs with Question 2. Even with enough history, if manipulations were decided by operators' judgment, a model trained on that history can predict correctly and still point the prescription in the wrong direction.

Suppose you are setting the cooling conditions of a heat treatment furnace. There is no model that accurately describes the cooling behavior (Question 1: no), there are several years of batch records (Question 2: yes), and a trial batch takes a day each time (Question 3: expensive). Hardness and energy conflict (Question 4: several), and cooling conditions have been set by experienced operators based on the material's condition (Question 5: yes). In this case, the starting point is multi-objective search on a surrogate built from operating history, followed by checking for confounders and small confirmation batches within the allowed range.

The cost of process models and experiments

Questions 1 and 3 are about cost. In the vendor survey by Qin and Badgwell (2003), 4,542 linear MPC applications were reported through 1999, and 67% of those classified by area were in refining. This means MPC is concentrated in large continuous processes that can afford to build and maintain process models.

Application areas of linear MPC

Main areas among the 2,941 applications classified by area, 1999 vendor survey

Refining
1,985 applications
Petrochemicals
550 applications
Chemicals
144 applications
Pulp and paper
68 applications
Food processing
51 applications
Furnaces
45 applications
Mining and metallurgy
37 applications
Source: Reconstructed from Qin and Badgwell (2003), Table 6

The same survey describes the cost of building the model. The plant test for model identification runs 24 hours a day with engineers monitoring the plant, stepping each manipulated variable 8 to 15 times, and can take up to 5–15 days depending on the process. This is the real scale of the "step tests" mentioned in Part 3. The authors point out that with no tool to judge whether the collected data is adequate, the plant is generally over-tested, which increases implementation cost.

On the experiment side, too, the number of variables sets the cost. A two-level full factorial experiment with 7 variables takes 128 runs. Bayesian optimization (EGO) reached its stopping criterion on the test functions of Jones et al. (1998) after 28 evaluations with 2 variables and 84 with 6. These are results on noise-free mathematical functions, so a real process may need more.

Starting points by process type

Methods to consider first, by process type

Bars = room for data-driven methods in that process (qualitative rating, 1–5)

Process typeRoom for data-driven methodsMethods to consider first
Continuous, large-scale, clear model
2
MPC, APC
Batch, irregular inflow, rich history
5
Surrogate-based optimization, offline reinforcement learning
New recipe development
3
Design of experiments, Bayesian optimization
Multiple goals
4
Multi-objective search + human choice
Source: OPTI-X summary (general tendencies)

In large continuous processes, physical and chemical relationships are relatively clear and the gains are large, so the cost of building a model is easier to recover. Batch processes and processes with irregular inflow are hard to model, but the conditions and results of every batch accumulate, so history-based methods fit. New recipes have no history, so experiments come first.

The table above is only a starting point. Even a continuous process needs data-driven methods alongside if raw materials change often and the model quickly goes stale, and even a batch process should start with design of experiments when setting the recipe for a new product.

Why mix them

On the actual floor, it is rare to use just one method. You build a predictive model (a surrogate), search on top of it with an evolutionary algorithm or Bayesian optimization, and keep existing rules as safety constraints. Each method is a component, and the skill lies in assembling them to fit the process.

An example of a common combination

Methods are components, not competitors

01Predictive modelLearns process response from operating history
02Search algorithmSearches for good setpoints on the model
03Constraints and rulesEquipment limits, operating standards, safety standards
04Checking and updatingUpdates the model with results from the floor

Most of the cases in this series were combinations too. EGO starts with an experimental design that evenly covers the space and then picks the next experiment on a kriging model. The furnace case in Part 7 (Jin et al., 2019) used a low-order polynomial model, a kriging model and a multi-objective evolutionary algorithm (NSGA-II) together. Jin et al. conclude that a well-designed model management strategy, which decides which candidates to evaluate for real, can reduce computational cost without seriously degrading optimization performance.

Rules are not discarded either. The upper/lower limit and interlock rules from Part 1 become constraints on the search. Deb et al. (2002), who proposed NSGA-II, modified the definition of dominance so that solutions satisfying the constraints are preferred, solving constrained multi-objective problems within the same framework.

The question every combination leaves

The question left at the end is the same: "Can this prescription be trusted and executed on the floor?" The data range, safety constraints and explainability emphasized throughout the series determine the answer.

Extrapolation in Part 7 and confounding in Part 8 are both questions of "how different is the prescription from the data?" Levine et al. (2020) see that in offline reinforcement learning, the further the learned policy moves from the existing behavior in the data, the larger the distributional shift, and they review methods that keep the policy close to the existing behavior or use uncertainty to detect that shift.

Whatever the method, the things to check are the same: how far the prescription departs from past operation, whether there is data in that region, and whether it stays within the lines that must not be crossed. If you can answer these three, which algorithm you chose is a secondary question.

Choose a prescription method to fit the resources the process has (experience, experiments, models and data), and whatever the combination, use it together with a mechanism that filters out prescriptions outside the data. This concludes the “Prescription Methods” series.

References

Could this work for your process?

Talk to us