gemseo.algos.opt.core.trust_updater module#
Updates a trust parameter according to a decreases' ratio.
- class BoundsUpdater(lower_bounds, upper_bounds, normalize=False)[source]#
Bases:
objectUpdater of the trust bounds, i.e. trust ball w.r.t.
the infinity norm.
- Parameters:
lower_bounds (ndarray) -- The reference lower bounds.
upper_bounds (ndarray) -- The reference upper bounds.
normalize (bool) --
Whether to apply the radius to the normalized bounds.
By default it is set to False.
- class PenaltyUpdater(thresholds=(0.0, 0.25), multipliers=(0.5, 2.0), bound=1e-06)[source]#
Bases:
TrustUpdaterUpdate the penalty parameter.
- Parameters:
thresholds (tuple[float, float]) --
The thresholds for the decreases' ratio.
By default it is set to (0.0, 0.25).
multipliers (tuple[float, float]) --
The multipliers for the trust parameter.
By default it is set to (0.5, 2.0).
bound (float) --
The absolute bound for the trust parameter.
By default it is set to 1e-06.
- class RadiusUpdater(thresholds=(0.0, 0.25), multipliers=(0.5, 2.0), bound=1000.0)[source]#
Bases:
TrustUpdaterUpdate the radius of the trust region.
- Parameters:
thresholds (tuple[float, float]) --
The thresholds for the decreases' ratio.
By default it is set to (0.0, 0.25).
multipliers (tuple[float, float]) --
The multipliers for the trust parameter.
By default it is set to (0.5, 2.0).
bound (float) --
The absolute bound for the trust parameter.
By default it is set to 1000.0.