cobyqa.framework.TrustRegion.update_radius#

TrustRegion.update_radius(step, ratio)[source]#

Update the trust-region radius.

Parameters:
stepnumpy.ndarray, shape (n,)

Trust-region step.

ratiofloat

Reduction ratio.