cobyqa.framework.TrustRegion.get_reduction_ratio#
- TrustRegion.get_reduction_ratio(step, fun_val, cub_val, ceq_val)[source]#
Get the reduction ratio.
- Parameters:
- step
numpy.ndarray, shape (n,) Trust-region step.
- fun_valfloat
Objective function value at the trial point.
- cub_val
numpy.ndarray, shape (m_nonlinear_ub,) Nonlinear inequality constraint values at the trial point.
- ceq_val
numpy.ndarray, shape (m_nonlinear_eq,) Nonlinear equality constraint values at the trial point.
- step
- Returns:
- float
Reduction ratio.