Robust Simulated Annealing — Finding solutions that stay good under uncertainty

Decision Sciences
Introduced by
Kirkpatrick, Gelatt & Vecchi (SA basis); robust formulation developed across the operations research community
Year
1983 (SA); robust variant emerged 1990s–2000s
Type
Metaheuristic with robustness evaluation
Family
Simulation / optimization

What does it do?

Robust Simulated Annealing (RSA) adapts classical simulated annealing to find solutions that remain acceptable across a range of uncertain parameter values, not only under nominal conditions.

The search replaces the nominal objective with a robustness measure R(x), such as the worst case, the expected value, or a regret-based criterion, evaluated over sampled or enumerated uncertainty realizations. This trades some nominal optimality for resilience, which matters when parameters are imprecisely known or vary with the environment.

The intuition behind the method

Simulated annealing accepts occasionally worse moves early in the search, which lets it leave local optima, and gradually becomes greedier as the temperature falls. Robust SA keeps this mechanism but changes what is being scored. Each candidate solution is judged by R(x), built from the objective values f(x, xi) across several uncertainty realizations, rather than by its value under a single assumed dataset. The search is therefore biased toward solutions whose performance degrades little when reality departs from the assumptions. The cost is that every candidate requires several objective evaluations instead of one.

History

Simulated annealing was introduced by Kirkpatrick, Gelatt and Vecchi in 1983, drawing on the Metropolis acceptance rule from statistical mechanics. Robust optimization as a formal field is treated in depth in the book by Ben-Tal, El Ghaoui and Nemirovski (2009). The phrase 'robust simulated annealing' has also been used in a different setting: Thompson and Dowsland (1998) use it in the title of a paper on an examination timetabling system, and the title suggests a use of 'robust' applied to timetabling rather than the uncertainty-based sense described on this page. Robust SA as an uncertainty-based variant has no single documented originator. It combines the 1983 SA framework with robustness criteria developed in the operations research literature.

When to use it

Use Robust SA when parameter uncertainty is large enough that a nominally optimal but fragile solution would be unacceptable, for example with variable supply, fluctuating demand or noisy measurements. It suits combinatorial or continuous problems where the robust formulation is too large to solve exactly, and where the decision-maker can afford repeated objective evaluations per candidate. Choose it when the robustness criterion itself (worst case, expected value, or regret) is a deliberate modelling choice that stakeholders can state. Avoid it when uncertainty is negligible, when each objective evaluation is too expensive to repeat across scenarios, or when the problem is convex and can be handled with exact robust programming, which yields provable optimality where RSA does not.

Limitations and considerations

  • Each SA iteration calls the objective once per scenario, so run time grows with the number of scenarios as well as with the number of iterations.
  • The acceptance probability depends on the scale of R, so the initial temperature and cooling schedule must be tuned to the units of the chosen robustness measure. Settings that work for one criterion may not transfer to another.
  • The method gives no guarantee of reaching the globally optimal robust solution; the quality of the result depends on run length and random variation between runs.
  • Robust SA does not provide optimality bounds or confidence statements on the robust solution. Any statistical assurance must come from the scenario model and its sample size, not from the search itself.
  • Choosing between worst-case, expected-value and regret criteria changes which solution is returned, and this choice is a modelling decision that the method does not make for the user.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Applies to non-convex, non-differentiable and combinatorial solution spaces, where exact robust programming is often intractable.
  • The robustness criterion sits in the evaluation step, so worst-case, expected-value or regret measures can be substituted without changing the search loop.
  • Accepting worse candidates with probability exp(-(R(x') - R(x)) / T) lets the search escape local optima of the robust objective, which a purely greedy robust search cannot do.
  • The acceptance rule and cooling schedule are unchanged from standard SA, so an existing SA implementation can be extended mainly by replacing the objective call with a scenario-evaluation routine.

Applications

  • Robust production scheduling under uncertain processing times and machine availability
  • Resilient vehicle routing under stochastic travel times and demand variability
  • Robust facility location planning under uncertain customer demand distributions
  • Engineering design optimization with tolerance and manufacturing uncertainty
  • Financial portfolio optimization under scenario-based market uncertainty
  • Network design with uncertain link capacities or failure probabilities

How it works

How it works

1

Define the problem with uncertain parameters: the objective f(x, xi), where x is the decision vector and xi the uncertain input. Specify an uncertainty set or a probability distribution over xi. Choose the robustness criterion, for example worst case (minimax), expected value, conditional value at risk, or maximum regret. The formulation determines how R(x) is computed in the next step.

2

For each candidate x, compute R(x) by evaluating f(x, xi) over sampled or enumerated realizations of xi. For scenario-based robustness, R(x) is the maximum of f(x, xi_s) over scenarios s. For stochastic robustness, R(x) is the expected value of f(x, xi). This inner evaluation may itself need Monte Carlo sampling or scenario enumeration, and it is the main source of computational cost.

3

Start from a feasible solution x_0 and an initial temperature T_0. At each iteration, generate a neighbour x' with a problem-specific move operator, such as a swap or a perturbation, and evaluate R(x') with the chosen robustness measure. The acceptance rule below treats smaller R as better, so the method assumes R is being minimised.

4

Accept the neighbour x' unconditionally if R(x') is lower than R(x). Otherwise accept it with probability exp(-(R(x') - R(x)) / T), where T is the current temperature. Because this probability depends on the size of the difference in R relative to T, the temperature must be scaled to the units of the chosen robustness measure. This Metropolis-type rule is what allows the search to leave local optima of the robust objective.

5

Reduce the temperature with a cooling schedule, commonly geometric cooling T_{k+1} = alpha * T_k with alpha in (0.9, 0.99). A larger alpha means slower cooling, because the temperature falls by a smaller fraction at each step. Adaptive schedules that adjust to the acceptance rate are also possible. Stop when a criterion is met: a maximum number of iterations, a minimum temperature, or stagnation of the search.

6

Return the solution with the best R(x) across all iterations, not only the final incumbent. Optionally run a local search from that solution to refine it. Report both the nominal performance f(x*, xi_nominal) and the robust performance R(x*), so that the robustness-optimality trade-off is visible.

Common pitfalls

  • Using too few scenarios in the robustness evaluation adds noise to R(x), so the acceptance step can favour candidates that only look robust by chance.
  • Cooling too quickly (a smaller alpha, toward the lower end of the stated range) can lead to premature convergence on a local robust optimum. Cooling very slowly (alpha near the upper end) increases run time without necessarily improving the result.
  • Reporting the nominally best solution encountered during the search, instead of the solution with the best R(x), defeats the purpose of the method.
  • Omitting the trade-off in reporting: always disclose both R(x*) and f(x*, xi_nominal), so readers can see what nominal performance was given up for robustness.

Frequently asked questions

How is Robust SA different from Stochastic SA?

Stochastic SA adds randomness to move generation or evaluation to help the search escape local optima of a fixed objective. Robust SA changes the objective itself: it optimizes a robustness measure (worst case, expected value or regret) over uncertain parameters. The aim is a solution that holds up when the parameters vary, not merely a search that is less trapped by noise.

How many scenarios are needed in the robustness evaluation?

This depends on the uncertainty structure and the precision required. For a discrete scenario set, enumerate all scenarios or the most adversarial ones. For continuous distributions, increase the number of sampled scenarios until the R(x) estimates for the incumbent solution stabilize across repeated evaluations. More samples improve accuracy and increase run time roughly in proportion.

Can Robust SA handle multiple objectives alongside robustness?

Yes, but the problem becomes considerably more complex. One approach is to treat robustness as an additional objective and run a multi-objective SA variant. Another is to add robustness as a constraint or as a penalty term in a weighted aggregate objective. Several multi-objective SA variants exist, and the choice among them should be checked against the literature for the problem at hand.

When should I prefer Robust SA over Robust Tabu Search or Robust GA?

The three methods differ in their search mechanisms. Robust SA accepts worse candidates with a probability that falls as the temperature drops. Tabu search forbids moves that revisit recently visited solutions, using a memory of past moves. Genetic algorithms maintain a population of candidate solutions and combine them. This page gives no comparative evidence on which method performs best for a given robust problem, so the choice should be tested on the problem at hand.

Is a parallel implementation beneficial?

Yes. The inner robustness evaluation is embarrassingly parallel: the scenarios for a candidate solution can be evaluated concurrently. Parallelizing this inner loop shortens wall-clock time without changing the logic of the algorithm.

Related methods

Sources

  1. Kirkpatrick, S., Gelatt, C. D., Vecchi, M. P. (1983). Optimization by simulated annealing. Science, 220(4598), 671-680.

    Open DOI reference
  2. Ben-Tal, A., El Ghaoui, L., Nemirovski, A. (2009). Robust Optimization. Princeton University Press, Princeton, NJ.

    ISBN: 9780691143682
  3. Thompson, J. M. and Dowsland, K. A. (1998), A robust simulated annealing based examination timetabling system, Computers and Operations Research 25(7-8), 637-648, p. 34