Specialized algorithms¶
The generic RobustOptimizationProblem accepts any
robustness or reliability measure, and the canonicalizer reduces it to a
deterministic problem over . This is the reference
implementation: it is exact, it supports every measure, and it makes no
assumption on the reliability structure. Some algorithms exploit a narrower
structure and therefore use the dedicated
RBDOProblem:
a scalar classical
Functionobjective;one
JointChanceMeasureconstraint;deterministic bounds, inequality constraints and equality constraints.
The class keeps the distribution parameter fixed by default. The canonical
problem returned by getCanonicalProblem() freezes
it; the overloads that accept
CanonicalizationOptions expose the active parameter
in the canonical decision vector. The canonical inequality
constraint gathers the joint chance index first and the deterministic
inequalities afterwards. The measure itself stays available through
getCanonicalJointChanceMeasure(), so an algorithm
reads the target probability and the comparison operator from the measure
instead of inferring them from the index value.
The algorithms below are optional: when the structure is not present, the canonicalizer and a general nonlinear solver remain the fallback. They are added incrementally, and the summary table at the end records the current status.
Problem class¶
The primary target of the specialized algorithms is the reliability-based design problem
where is a deterministic cost,
is a vector-valued limit
state,
is the distribution of
, and
is the target reliability. The event
is read componentwise, as in
JointChanceMeasure. The distribution parameter is fixed in
this formulation; the parameter-dependent case is discussed at the end.
The inner reliability problem is written in the standard space
. Let
map
to
, and let
. The safe event is
. The standard space is the one associated with
by its isoprobabilistic transformation: the standard normal
space when the standard distribution of
is the normal law, and
otherwise the same-kind standard space described below. For a scalar limit
state, the design point is the closest point of the limit-state surface to
the origin,
and the signed reliability index is
. This
formulation is the common language of the double-loop, SORA and single-loop
methods; they differ in how they solve or avoid the inner problem.
Standard space and generalized reliability index¶
Warning
Most FORM and SORM publications assume that the standard space is the standard normal space; this is the setting of the Hasofer–Lind index [Hasofer1974], [Rackwitz1978], [Ditlevsen1996] and of the usual reliability tables. OpenTURNS does not always use that space: for an elliptical distribution it uses the same-kind standard space described below. The reliability indices used in this page are distances in the standard space of the distribution, and they are not interchangeable with normal-space values published elsewhere. Their probabilistic meaning is always given by the standard marginal, as in equation (1).
The standard normal space is obtained whenever the isoprobabilistic
transformation is built from the marginal distributions and the Rosenblatt
transformation, which is what OpenTURNS does for every non-elliptical
distribution. It does not hold for elliptical distributions: their
canonical standard space is the same-kind spherical space obtained by the
generalized Nataf transformation [Lebrun2009b]. For
, for instance, the
transformation is the affine map
with
, and
, whose
density depends on
only. A standard normal space can still
be reached through a Rosenblatt map, but that map depends on the ordering of
the components, and the image of the design point is no longer the most
probable failure point of the original model.
Both spaces are isoprobabilistic, so they assign the same exact probability
to every event. They differ in the geometry that FORM and SORM use. In the
same-kind space the level sets of the standard density are spheres, so the
most probable failure point is the actual mode of the failure domain on the
limit-state surface, and the distance to the origin is invariant by a change
of variable ordering. In a Rosenblatt normal space those two properties are
lost, and the FORM approximation changes with the arbitrary order in which
the components are transformed. This is why the specialized algorithms use
the standard space returned by
getStandardDistribution() through the
isoprobabilistic transformation, and convert probabilities with the marginal
of that standard distribution, obtained as
getStandardDistribution() followed by
getMarginal().
In a spherically symmetric standard space, the projection of on any
unit direction has the distribution of a marginal. Hence, for any unit
vector
,
where is any one-dimensional marginal of the
standard distribution, and the FORM approximation of the failure probability
is
(1)¶
The target index associated with a safe probability is therefore
For a normal standard space , and these are the
classical formulas
and
. For a Student standard space
, and
; since
has heavier tails than
, the same index corresponds
to a larger failure probability. The index
is the generalized
reliability index: it remains the distance to the origin in the standard
space, but it is no longer
.
The correspondence between the classical normal-space formulas and their generalized counterparts is summarized below.
Quantity |
Normal standard space |
Same-kind standard space |
|---|---|---|
Transform |
affine or Rosenblatt map to |
generalized Nataf map to |
Target index |
||
Failure probability |
||
Classical index of |
For and a Student standard space with
, the
target index is
, whereas the normal-space
formula gives
. A design based on the latter
value would not satisfy the requested probability: its actual FORM
probability is
. Conversely, reporting
as a normal-space index overstates the safety by
. Always check which standard space a published index
refers to before comparing it with the values returned by these algorithms.
The specialized algorithms use this convention consistently: the target
index is the quantile of , the inner problem is
solved in the standard space of the distribution, and
getApproximateProbability() returns
. The same convention is used by
openturns.FORM and openturns.SORM, whose result
probabilities are based on the standard marginal. When a normal-space
reliability index is required for reporting, it is
, not
.
SORM follows the same construction: the curvature correction is applied in the same-kind standard space, and the probability is obtained from the standard marginal density and distribution. The specialized algorithms themselves implement the FORM approximation only.
The generic canonicalizer¶
The canonicalizer solves the problem over with a fixed
reference
. It is the most general method and the reference for
the others. Its strengths are:
it applies to every robustness and reliability measure, including quantile, variance, worst case and aggregated measures;
it is exact under the invariance theorem, with no reliability approximation;
it exposes the distribution parameter
as an ordinary decision variable, with bounds and a starting point.
Its limits are:
every measure evaluation may contain a quadrature, a quantile solve, a chance probability or an inner optimization, so the cost per iteration is high;
the measure gradients are often finite differences, and chance and quantile measures are non-smooth, which degrades gradient-based solvers;
it does not exploit the reliability structure, so it cannot reuse a design point or a reliability index between iterations.
Double-loop RIA and PMA¶
The double-loop algorithm solves the problem by an outer design optimization
and, for every candidate , an inner reliability analysis. It is the
natural baseline and the reference value for the other algorithms.
Both variants start from the same safe-event convention. Let
for a
Greater operator and for a
Less operator, and let be the limit-state components
in the standard space. The scalarized limit state is
For a Greater operator the safe event is the intersection
and the safe target is
. For a
Less operator the measure integrates the event
and the safe event is its complement, the union
, so
and
. The scalarization is applied before the sign change,
which is why
is not
for a
Less
operator. The Less safe event is open: its boundary
belongs to the failure event. The reliability analyses use
the closed set
instead, which is equivalent when the zero
set has probability zero. A limit state that vanishes on a set of positive
probability, such as
, is therefore outside the scope of
the FORM-based algorithms.
Write , where
is the marginal of the standard distribution defined
above. The double-loop algorithm requires
so that
is positive.
In the reliability index approach (RIA), the inner problem finds the design point
and the signed reliability index is
. A negative
index means that the origin of the standard space already belongs to the
failure domain. The outer problem is
In the performance measure approach (PMA), the inner problem minimizes the scalarized limit state on the target sphere,
and the outer constraint is . The outer
constraint reported by the algorithm is the performance measure at that
point. It requires the origin of the standard space to belong to the safe
domain: when
the failure domain contains the centre of
the target sphere, and no value on the sphere certifies safety. In that case
the algorithm reports
, which is
negative, so that the outer loop rejects the design. Both inner problems are
solved with the configured inner solver, by default
Cobyla, because the min-scalarization of a vector limit
state is nonsmooth.
The PMA certificate is first-order, like every FORM-based analysis: it assumes
that the minimum of over the ball of radius
is
reached on its boundary. A limit state that is negative inside the ball while
non-negative on the sphere is not detected by the sphere test, so the reported
performance measure is the sphere minimum, not the ball minimum.
The joint-chance treatment is explicit. With
DoubleLoopRBDOAlgorithm.EXACT the algorithm uses the single scalarized
limit state above. This is a first-order reliability approximation of the
joint event: it is not an exact system probability, even when the components
are independent and Gaussian. With
DoubleLoopRBDOAlgorithm.BONFERRONI the joint event is replaced by the
component events with the conservative target
so that . The
component target must satisfy
; otherwise the algorithm
rejects the problem and asks for the exact treatment or a sample-based
algorithm.
Strengths.
It is simple, it supports any inner reliability method (FORM, SORM, subset simulation, Monte Carlo), and it returns a reliability index and a design point, which are useful diagnostics.
It is the natural reference for validating SORA and the single-loop method.
PMA is often more robust than RIA when the limit state is nonlinear, because it works with a performance measure on a fixed sphere instead of looking for the intersection of a curved surface with a hyperplane.
Limits.
The cost is the product of the outer iterations and the inner reliability solves; each inner solve may require many limit-state evaluations.
The scalarized limit state is nonsmooth, and the inner solver may converge to a local design point when the limit state is nonconvex.
The
EXACTjoint-chance mode is a FORM approximation, not an exact system probability. TheBONFERRONImode is conservative.The method applies to a fixed distribution; it does not expose
as a decision variable.
SORA¶
Sequential optimization and reliability assessment (SORA) decouples the
design and reliability loops. At iteration , let
be
the current design and let
be the physical image of the target point found by a performance-measure
analysis at . The physical shift is
The next design solves the deterministic problem with the limit-state
parameter frozen at :
The shift is then updated at the new design and the loop continues until both the design and the shift change by less than the outer absolute or relative error tolerances.
The physical shift requires . When the design
and random dimensions differ, the algorithm rejects the problem and points to
the double-loop or sample-based algorithms. This is a deliberate restriction:
projecting the shift onto the design space would silently change the chance
constraint.
The joint-chance treatment is again explicit. With
SORARobustOptimizationAlgorithm.EXACT the reliability analysis uses the
single scalarized limit state and maintains one
shift. This is a FORM approximation of the system event, not an exact system
reliability calculation. With
SORARobustOptimizationAlgorithm.BONFERRONI each component is analyzed with
the conservative target and has its own shift.
The Bonferroni mode is more robust but conservative, and it requires
.
Strengths.
It replaces the nested double loop by a sequence of deterministic design optimizations and reliability analyses, which is much cheaper when the inner reliability solve is expensive.
It reuses the shift from one iteration to the next, so it typically needs fewer reliability analyses than the double loop.
It is well suited to smooth limit states and moderate reliability levels, where the performance-measure analysis is reliable.
Limits.
The physical shift requires
; the performance-measure variant only partially removes this restriction.
There is no global convergence proof; the iteration can stall when the design point moves discontinuously or when the limit state is highly nonlinear.
The
EXACTmode is a FORM approximation of the joint event. The Bonferroni mode is conservative.The distribution parameter is fixed in the current implementation.
Algorithm (SORA)
Sample-average approximation¶
The sample-average algorithm keeps a calibration sample
drawn once at the beginning of the run and replaces
the chance constraint by its exact empirical counterpart,
where is the safe event defined above. For a
Greater operator this is ; for a
Less
operator it is . The empirical
probability is used without a smooth surrogate, so the constraint is a step
function and the outer solver must be derivative-free. Any target
is accepted, including targets for which the reliability
index is undefined.
Because the empirical probability is piecewise constant, the solver may fail from an infeasible starting point. The algorithm therefore looks for a feasible start along the gradient of the scalarized limit state and along the coordinate directions before it calls the outer solver. The reported solution satisfies the empirical constraint exactly.
After the optimization, the safe probability is estimated again on an independent validation sample and a Wilson 95% confidence interval is reported. The interval measures the sampling error of the validation estimate; it does not measure the bias of the calibration sample or the quality of the outer solver.
Strengths.
It is distribution-free: it applies to any measure with finite moments, including mean, variance, quantile, chance and worst case, and it does not require a standard space or a FORM analysis.
It handles parameter-dependent distributions naturally, because
is part of the canonical decision vector.
Common random numbers give a deterministic, reproducible problem and reduce the variance of the comparison between designs.
Limits.
The solution depends on the calibration sample; the empirical constraint is a step function and the outer solver may stall or return a design that is feasible only for that sample.
The sample size controls the bias and the variance, and the cost grows with
and with the dimension of
.
The validation interval quantifies the sampling error only; a rigorous feasibility guarantee requires the scenario approach or a dedicated chance-constrained method.
The method does not exploit the reliability structure and can be expensive when the limit-state function is costly.
Single-loop methods¶
The single-loop method eliminates the inner reliability loop by approximating the most probable point as a function of the design. For FORM, the KKT conditions of the reliability problem give the design point as the solution of a small system that can be updated together with the design. The method then solves one design loop with the updated design point.
Strengths.
It is the cheapest of the reliability-based methods: it avoids a full inner reliability solve at every outer iteration.
It is accurate for smooth limit states and moderate reliability levels, and it is easy to combine with a gradient-based design solver.
Limits.
It relies on a FORM/KKT approximation of the design point, so it is less robust than SORA when the limit state is highly nonlinear or the target probability is extreme.
It is naturally formulated for individual chance constraints; the joint event requires an additional treatment.
It is planned, not yet implemented.
Scenario and cutting-plane methods¶
The scenario approach draws independent scenarios and enforces the
constraints for every scenario. For convex problems, the scenario solution
is feasible for the true chance constraint with a confidence that depends on
, the number of decision variables and the confidence level. The
sample size grows with the dimension and with the inverse of the confidence,
which limits the method to moderate dimensions.
Cutting-plane and conditional-value-at-risk (CVaR) approximations replace the joint chance constraint by a convex conservative approximation and add violated scenarios iteratively. They provide a deterministic outer approximation and can be combined with a linear or convex solver.
Strengths.
They provide a probabilistic feasibility guarantee for convex problems, without a FORM approximation.
They are distribution-free and apply to joint chance constraints directly.
They are complementary to SORA: SORA is design-driven, while scenario and cutting-plane methods are sample-driven outer approximations.
Limits.
The guarantee requires convexity; for nonconvex problems the scenario solution is only a heuristic.
The sample size grows with the dimension and the confidence, and the resulting problem can be large.
The CVaR approximation is conservative and changes the feasible set.
They are planned, not yet implemented.
Bilevel worst case and alternating parameter optimization¶
A WorstCaseMeasure is an inner optimization problem over
the support of or over an explicit optimization domain. A
specialized algorithm alternates the outer design optimization with the inner
adversarial optimization, or solves the inner problem by duality when the
constraint is convex in
. The domain policy of
Parameter-dependent distributions and canonicalization is part of the algorithm
contract: the inner problem must use the explicit optimization domain stored
on the measure, not the range of a reference distribution that may be
unbounded.
When the distribution parameter is a decision variable and the
canonical problem is large, an alternating scheme solves the design
subproblem with
fixed and the parameter subproblem with
fixed. It is easy to implement with existing solvers and can provide a good
warm start for the canonicalizer.
Strengths.
The worst-case formulation handles adversarial uncertainty and bounded uncertainty sets, which the mean and chance measures do not capture.
Alternating optimization scales to large
and avoids a single large canonical problem.
Limits.
The inner adversarial problem can be nonconvex, and a local inner solver only gives an upper bound on the worst case.
Alternating optimization has no global convergence guarantee and can stall at a coordinatewise local minimum.
It is a heuristic, not a replacement for the canonicalizer.
Graphical illustration¶
Loop structure of the algorithm families. The double loop nests a reliability analysis inside the design loop; SORA replaces the inner loop by a shift update; the single-loop method updates the design point inside one loop; the sample-average and scenario methods solve one deterministic problem on a fixed sample and validate it out of sample.¶
Interaction with parameter-dependent distributions¶
The RBDO algorithms (SORA, single loop, double loop) are formulated for a
fixed distribution . They apply directly when
is fixed.
When
is a decision variable, there are two supported routes: an
outer loop over
, solving an RBDO subproblem for each value; or
canonicalize first and use the sample-average or scenario algorithms over
. A generalized SORA with a shift in the joint
space and a reliability mapping through
is a research extension,
not part of the current implementation. This limitation is stated in the
class docstrings and in this page.
Summary¶
Algorithm |
Applicability |
Joint chance |
Cost |
Main strength |
Main limit |
Status |
|---|---|---|---|---|---|---|
Canonicalizer |
any measure, parameter-dependent |
exact measure |
high per iteration |
general and exact |
nested evaluations, finite-difference gradients |
implemented |
Double loop (RIA/PMA) |
deterministic objective, chance constraint, fixed |
FORM or Bonferroni |
outer x inner |
reference, reliability diagnostics |
expensive, nonsmooth inner problem |
implemented |
SORA |
deterministic objective, chance constraint, fixed |
FORM or Bonferroni |
design + few reliability analyses |
cheaper than the double loop |
|
implemented |
SAA |
any measure, fixed or canonicalized |
empirical |
sample size x evaluations |
distribution-free, handles |
sample bias, step constraint |
implemented |
Single loop |
deterministic objective, individual chance, smooth limit state |
FORM/KKT |
one loop |
fastest reliability method |
smooth limit state, moderate |
planned |
Scenario / cutting plane |
joint chance, convex deterministic problem |
scenario guarantee |
scenarios x solver |
probabilistic guarantee |
convexity, large sample |
planned |
Bilevel worst case |
worst-case measure, bounded domain |
n/a |
outer x inner |
adversarial uncertainty |
nonconvex inner problem |
planned |
Alternating parameter |
parameter-dependent |
via subproblems |
two subproblems per iteration |
scales in |
no global guarantee |
planned |
otrobopt